aboutsummaryrefslogtreecommitdiff
path: root/games/nethack32
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2016-01-07 16:51:39 +0000
committerPawel Pekala <pawel@FreeBSD.org>2016-01-07 16:51:39 +0000
commit3a40142ce776a73a08bc69e8234f44ad407fd967 (patch)
treec80d7d21a1672d61ff785f689c52a2b4f7912bad /games/nethack32
parentc3a8c65a0fe4d8cf688e724764adb2c321896e35 (diff)
downloadports-3a40142ce776a73a08bc69e8234f44ad407fd967.tar.gz
ports-3a40142ce776a73a08bc69e8234f44ad407fd967.zip
- Modernize pkg-plist, remove deprecated @dirrm
- Convert to options helper PR: 205845 Submitted by: myself Approved by: maintainer
Notes
Notes: svn path=/head/; revision=405472
Diffstat (limited to 'games/nethack32')
-rw-r--r--games/nethack32/Makefile1
-rw-r--r--games/nethack32/pkg-plist29
2 files changed, 7 insertions, 23 deletions
diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index 3c817b29e8f9..3934ab7cc92a 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -70,6 +70,7 @@ post-install:
.endif
${DO_MAKE_BUILD} -C ${WRKSRC}/doc ${MAKE_ARGS} manpages
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${STAGEDIR}${DOCSDIR}
diff --git a/games/nethack32/pkg-plist b/games/nethack32/pkg-plist
index b24d3e72dfeb..17798a444364 100644
--- a/games/nethack32/pkg-plist
+++ b/games/nethack32/pkg-plist
@@ -1,11 +1,8 @@
%%HACKLINK%%bin/nethack
-@mode 555
-bin/%%HACKNAME%%
+@(,,555) bin/%%HACKNAME%%
@owner games
@group games
-@mode 02755
-%%DATADIR%%/%%HACKNAME%%
-@mode
+@(,,02755) %%DATADIR%%/%%HACKNAME%%
%%DATADIR%%/A-filla.lev
%%DATADIR%%/A-fillb.lev
%%DATADIR%%/A-goal.lev
@@ -89,9 +86,7 @@ bin/%%HACKNAME%%
%%DATADIR%%/juiblex.lev
%%DATADIR%%/knox.lev
%%DATADIR%%/license
-@mode 664
-%%DATADIR%%/logfile
-@mode
+@(,,664) %%DATADIR%%/logfile
%%DATADIR%%/medusa-1.lev
%%DATADIR%%/medusa-2.lev
%%DATADIR%%/minefill.lev
@@ -107,12 +102,8 @@ bin/%%HACKNAME%%
%%DATADIR%%/perm
%%DATADIR%%/pet_mark.xbm
%%DATADIR%%/quest.dat
-@mode 664
-%%DATADIR%%/record
-@mode
-@mode 02755
-%%DATADIR%%/recover
-@mode
+@(,,664) %%DATADIR%%/record
+@(,,02755) %%DATADIR%%/recover
%%DATADIR%%/rip.xpm
%%DATADIR%%/rumors
%%DATADIR%%/sanctum.lev
@@ -135,12 +126,4 @@ man/man6/lev_comp%%HACKEXT%%.6.gz
man/man6/%%HACKNAME%%.6.gz
man/man6/recover%%HACKEXT%%.6.gz
%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
-@mode 0775
-@owner games
-@group games
-@dirrmtry %%DATADIR%%/save
-@group
-@owner
-@mode
-@dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dir(games,games,0755) %%DATADIR%%/save