aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-04-21 16:41:50 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-04-21 16:41:50 +0000
commit5c92d60c392e8f97d4372b99db9faafa7cc2c9de (patch)
tree8230d325332edc7c2e27755a08dfac8909a4a0ff /games
parent32a1714cac96f78199d3540b5f7566f0b6c739d3 (diff)
downloadports-5c92d60c392e8f97d4372b99db9faafa7cc2c9de.tar.gz
ports-5c92d60c392e8f97d4372b99db9faafa7cc2c9de.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/wolfpack/Makefile5
-rw-r--r--games/wolfpack/pkg-plist6
2 files changed, 7 insertions, 4 deletions
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile
index c7ffe11c6b4a..2242340af251 100644
--- a/games/wolfpack/Makefile
+++ b/games/wolfpack/Makefile
@@ -3,6 +3,7 @@
PORTNAME= wolfpack
PORTVERSION= 4.3.32
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
MASTER_SITE_SUBDIR= empserver/${DISTNAME}
@@ -43,9 +44,5 @@ post-install:
${LN} -s ${BINDIR}/empire ${STAGEDIR}${PREFIX}/bin/emp_client
${STAGEDIR}${PREFIX}/lib/wolfpack/pconfig > \
${STAGEDIR}${ETCDIR}/econfig.orig
- @${CHOWN} -R ${USERS}:${GROUPS} ${STAGEDIR}${DATADIR} \
- ${STAGEDIR}${ETCDIR} ${STAGEDIR}${VARDIR}
- @${CHMOD} -R u+w,o-rx ${STAGEDIR}${DATADIR} \
- ${STAGEDIR}${ETCDIR} ${STAGEDIR}${VARDIR}
.include <bsd.port.post.mk>
diff --git a/games/wolfpack/pkg-plist b/games/wolfpack/pkg-plist
index 66b079e77be9..0ec138944c8f 100644
--- a/games/wolfpack/pkg-plist
+++ b/games/wolfpack/pkg-plist
@@ -14,6 +14,9 @@ man/man6/empsched.6.gz
man/man6/fairland.6.gz
man/man6/files.6.gz
man/man6/pconfig.6.gz
+@owner wolfpack
+@group wolfpack
+@mode 644
%%DATADIR%%/README
%%DATADIR%%/builtin/infra.config
%%DATADIR%%/builtin/item.config
@@ -301,14 +304,17 @@ man/man6/pconfig.6.gz
%%DATADIR%%/info.nr/work
%%DATADIR%%/info.nr/xdump
%%DATADIR%%/info.nr/zdone
+@mode 640
etc/wolfpack/schedule
@unexec if cmp -s %B/econfig.orig %B/econfig; then rm -f %B/econfig; fi
etc/wolfpack/econfig.orig
@exec if [ ! -f %B/econfig ] ; then cp -p %D/%F %B/econfig; fi
+@mode 755
@dirrm %%DATADIR%%/builtin
@dirrm %%DATADIR%%/info.nr
@dirrm %%DATADIR%%
@dirrm lib/wolfpack
+@mode 750
@dirrmtry etc/wolfpack
@dirrmtry var/wolfpack
@dirrmtry var