aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-01-08 00:51:39 +0800
committerpawel <pawel@FreeBSD.org>2016-01-08 00:51:39 +0800
commitf71ef6fb079acc710f8f425020b3d02049266f06 (patch)
treec80d7d21a1672d61ff785f689c52a2b4f7912bad /games
parentb111ddb41224ea40d598273324804672dd027006 (diff)
downloadfreebsd-ports-gnome-f71ef6fb079acc710f8f425020b3d02049266f06.tar.gz
freebsd-ports-gnome-f71ef6fb079acc710f8f425020b3d02049266f06.tar.zst
freebsd-ports-gnome-f71ef6fb079acc710f8f425020b3d02049266f06.zip
- Modernize pkg-plist, remove deprecated @dirrm
- Convert to options helper PR: 205845 Submitted by: myself Approved by: maintainer
Diffstat (limited to 'games')
-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