chocolate_doom: fix build, include manpages. (#8785)

This commit is contained in:
OscarL
2023-06-03 16:39:51 -03:00
committed by GitHub
parent 6c1d260496
commit cd26ef5c58

View File

@@ -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__