diff options
author | micha <micha@pkgsrc.org> | 2022-07-01 09:58:53 +0000 |
---|---|---|
committer | micha <micha@pkgsrc.org> | 2022-07-01 09:58:53 +0000 |
commit | e3ce515b982230a096e06dfacd6e88f378d8545c (patch) | |
tree | c35fed90cb04b1f36954336896410bc839baa74f /games | |
parent | 238a2b94c85a5d5342c5ba9f8dbf3f3e513cc845 (diff) | |
download | pkgsrc-e3ce515b982230a096e06dfacd6e88f378d8545c.tar.gz |
games/woof: Honor PKGMANDIR on install
This should fix bulk build on SmartOS.
Diffstat (limited to 'games')
-rw-r--r-- | games/woof/Makefile | 11 | ||||
-rw-r--r-- | games/woof/distinfo | 4 | ||||
-rw-r--r-- | games/woof/patches/patch-data_CMakeLists.txt | 6 |
3 files changed, 14 insertions, 7 deletions
diff --git a/games/woof/Makefile b/games/woof/Makefile index 34e707298a0..8d6781d4d7b 100644 --- a/games/woof/Makefile +++ b/games/woof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2022/06/29 11:31:54 micha Exp $ +# $NetBSD: Makefile,v 1.35 2022/07/01 09:58:53 micha Exp $ DISTNAME= woof_10.0.0 PKGNAME= ${DISTNAME:S/_/-/} @@ -22,10 +22,17 @@ WRKSRC= ${WRKDIR}/woof-${DISTNAME} # DOOMWADDIR is intentionally shared with other Doom packages DOOMWADDIR= share/doom +# Install man page into PKGMANDIR hierarchy +SUBST_CLASSES+= mandir +SUBST_STAGE.mandir= pre-configure +SUBST_MESSAGE.mandir= Preparing data/CMakeLists.txt file ... +SUBST_FILES.mandir= data/CMakeLists.txt +SUBST_VARS.mandir= PKGMANDIR + # Add DOOMWADDIR to search path SUBST_CLASSES+= waddir SUBST_STAGE.waddir= pre-configure -SUBST_MESSAGE.waddir= Preparing d_iwad.c file ... +SUBST_MESSAGE.waddir= Preparing src/d_iwad.c file ... SUBST_FILES.waddir= src/d_iwad.c SUBST_SED.waddir= -e 's,PKGSRC_PREFIX,"${PREFIX}",' SUBST_SED.waddir+= -e 's,PKGSRC_DOOMWADDIR,"/${DOOMWADDIR}",' diff --git a/games/woof/distinfo b/games/woof/distinfo index 5f50025c180..55afadef22d 100644 --- a/games/woof/distinfo +++ b/games/woof/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.30 2022/06/29 11:31:54 micha Exp $ +$NetBSD: distinfo,v 1.31 2022/07/01 09:58:53 micha Exp $ BLAKE2s (woof_10.0.0.tar.gz) = 05660fa1bb317f72f4703a27e98c777b895b961f1fdf1631f369c89f87b7a435 SHA512 (woof_10.0.0.tar.gz) = 0db57d2b0817b0cb301753610ab382c05cc4db7ebb69ebe96200f90eeb285dcff8af5b800f0abfbdcc36a5b494c316bd503c7c445183e1d063bb1ec809429586 Size (woof_10.0.0.tar.gz) = 7872336 bytes -SHA1 (patch-data_CMakeLists.txt) = d75fe1b163bfb39488bdf7df5ca8656d4e790408 +SHA1 (patch-data_CMakeLists.txt) = de619ccaf29591a10ed0cf91262c6619f3a8c7ff SHA1 (patch-src_d__iwad.c) = e2e596d3f0eacfca8852afa329704c14dadf7889 diff --git a/games/woof/patches/patch-data_CMakeLists.txt b/games/woof/patches/patch-data_CMakeLists.txt index d29858c327d..06f61a203af 100644 --- a/games/woof/patches/patch-data_CMakeLists.txt +++ b/games/woof/patches/patch-data_CMakeLists.txt @@ -1,6 +1,6 @@ -$NetBSD: patch-data_CMakeLists.txt,v 1.1 2022/06/29 11:31:54 micha Exp $ +$NetBSD: patch-data_CMakeLists.txt,v 1.2 2022/07/01 09:58:53 micha Exp $ -Install man page into hierarchy "$PREFIX/man". +Prepare to install man page into hierarchy "$PREFIX/$PKGMANDIR". Patch is not suitable for upstream. --- data/CMakeLists.txt.orig 2022-06-17 09:24:44.000000000 +0000 @@ -8,7 +8,7 @@ Patch is not suitable for upstream. @@ -1,5 +1,5 @@ if(UNIX AND NOT APPLE) - install(FILES woof.6 DESTINATION share/man/man6) -+ install(FILES woof.6 DESTINATION man/man6) ++ install(FILES woof.6 DESTINATION @PKGMANDIR@/man6) install(FILES woof.desktop DESTINATION share/applications) install(FILES woof.png DESTINATION share/icons/hicolor/128x128/apps) install(FILES woof-setup.desktop DESTINATION share/applications) |