aboutsummaryrefslogtreecommitdiff
path: root/games/wolfpack
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-09-20 12:49:35 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-09-20 12:49:35 +0000
commitd75d1cfecb13b19e3079baff56ec39245c832368 (patch)
tree860ad350944121f1d4620cc3ebe5aefaef1f5c15 /games/wolfpack
parent448a0175df91e77d7e5f78236ba976109eeb6bfa (diff)
downloadports-d75d1cfecb13b19e3079baff56ec39245c832368.tar.gz
ports-d75d1cfecb13b19e3079baff56ec39245c832368.zip
Notes
Diffstat (limited to 'games/wolfpack')
-rw-r--r--games/wolfpack/Makefile3
-rw-r--r--games/wolfpack/pkg-plist16
2 files changed, 9 insertions, 10 deletions
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile
index 5f0893da8bce..0e2e18595015 100644
--- a/games/wolfpack/Makefile
+++ b/games/wolfpack/Makefile
@@ -3,6 +3,7 @@
PORTNAME= wolfpack
PORTVERSION= 4.3.33
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/empserver/${DISTNAME}
DISTNAME= empire-${PORTVERSION}
@@ -41,6 +42,6 @@ post-install:
${LN} -s ${BINDIR}/empire ${STAGEDIR}${PREFIX}/bin/emp_client
${MKDIR} ${STAGEDIR}${ETCDIR}
${STAGEDIR}${PREFIX}/lib/wolfpack/pconfig > \
- ${STAGEDIR}${ETCDIR}/econfig.orig
+ ${STAGEDIR}${ETCDIR}/econfig.sample
.include <bsd.port.post.mk>
diff --git a/games/wolfpack/pkg-plist b/games/wolfpack/pkg-plist
index d3e0f2e37162..4f56b0b5c35c 100644
--- a/games/wolfpack/pkg-plist
+++ b/games/wolfpack/pkg-plist
@@ -297,14 +297,12 @@ man/man6/pconfig.6.gz
%%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
+@sample etc/wolfpack/econfig.sample
@mode 755
-@dirrm %%DATADIR%%/builtin
-@dirrm %%DATADIR%%/info.nr
-@dirrm %%DATADIR%%
-@dirrm lib/wolfpack
+@dir %%DATADIR%%/builtin
+@dir %%DATADIR%%/info.nr
+@dir %%DATADIR%%
+@dir lib/wolfpack
@mode 750
-@dirrmtry etc/wolfpack
-@dirrmtry /var/wolfpack
+@dir etc/wolfpack
+@dir /var/wolfpack