From cd26ef5c58888d4dc4df8fefffb69c8e3eee936a Mon Sep 17 00:00:00 2001 From: OscarL Date: Sat, 3 Jun 2023 16:39:51 -0300 Subject: [PATCH] chocolate_doom: fix build, include manpages. (#8785) --- games-fps/chocolate-doom/chocolate_doom-3.0.1.recipe | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/games-fps/chocolate-doom/chocolate_doom-3.0.1.recipe b/games-fps/chocolate-doom/chocolate_doom-3.0.1.recipe index 0dd1d0f22..73ce44bd2 100644 --- a/games-fps/chocolate-doom/chocolate_doom-3.0.1.recipe +++ b/games-fps/chocolate-doom/chocolate_doom-3.0.1.recipe @@ -8,12 +8,15 @@ COPYRIGHT="Id Software Inc. 1993-1996 James Haley Samuel Villarreal" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="https://www.chocolate-doom.org/downloads/$portVersion/chocolate-doom-$portVersion.tar.gz" CHECKSUM_SHA256="d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7" SOURCE_DIR="chocolate-doom-$portVersion" ARCHITECTURES="all !x86_gcc2" + +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir if [ $targetArchitecture == x86_gcc2 ]; then SECONDARY_ARCHITECTURES="x86" commandSuffix= @@ -97,6 +100,11 @@ INSTALL() # Other install targets are: install-man install-data. Recheck when updating to > 3.0.1 make install install-exec + # For now, let's manually install unprocessed man pages (better than nothing): + mkdir -p $manDir/man5 $manDir/man6 + cp man/*.5 $manDir/man5 + cp man/*.6 $manDir/man6 + # clean-up rm -rf $prefix/share rm -rf $prefix/documentation/packages/chocolate_doom/__dummy__