diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-07 16:50:02 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-07 16:50:02 +0000 |
commit | c3a8c65a0fe4d8cf688e724764adb2c321896e35 (patch) | |
tree | c21644a459e5eafabcad1ca86f2d39a97cc007a5 /games | |
parent | Remove x-generate-plist target using deprecated @dirrm, our make makeplist (diff) |
- Modernize pkg-plist, remove deprecated @dirrm
- Convert to options helper
PR: 205844
Submitted by: myself
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=405471
Diffstat (limited to 'games')
-rw-r--r-- | games/moria/Makefile | 5 | ||||
-rw-r--r-- | games/moria/pkg-plist | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/games/moria/Makefile b/games/moria/Makefile index 7f4be2e39bfc..eb7b27d47930 100644 --- a/games/moria/Makefile +++ b/games/moria/Makefile @@ -26,9 +26,10 @@ do-configure: ${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:g" ${WRKSRC}/source/config.h cd ${WRKSRC} && ${LN} -sf source/* unix/* . -do-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install +post-install: ${INSTALL_MAN} ${WRKSRC}/doc/moria.6 ${STAGEDIR}${PREFIX}/man/man6/ + +post-install-DOCS-on: cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install .include <bsd.port.mk> diff --git a/games/moria/pkg-plist b/games/moria/pkg-plist index 3f9c090d030c..bf9d247407bc 100644 --- a/games/moria/pkg-plist +++ b/games/moria/pkg-plist @@ -1,7 +1,6 @@ @owner games @group games -@mode 4711 -bin/moria +@(,,4711) bin/moria @mode 444 %%DATADIR%%/hours %%DATADIR%%/news @@ -9,13 +8,10 @@ bin/moria %%DATADIR%%/owizcmds.hlp %%DATADIR%%/roglcmds.hlp %%DATADIR%%/rwizcmds.hlp -@mode 644 -%%DATADIR%%/scores -@mode 444 +@(,,644) %%DATADIR%%/scores %%DATADIR%%/version.hlp %%DATADIR%%/welcome.hlp @owner @group @mode man/man6/moria.6.gz -@dirrm %%DATADIR%% |