aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2015-09-20 20:49:35 +0800
committerjohans <johans@FreeBSD.org>2015-09-20 20:49:35 +0800
commit15cafe2fe4016a2514f5ed42b16be7226ce75e6f (patch)
tree860ad350944121f1d4620cc3ebe5aefaef1f5c15
parent7f268b7f0a483cda343229b036fd4dca7be24446 (diff)
downloadfreebsd-ports-gnome-15cafe2fe4016a2514f5ed42b16be7226ce75e6f.tar.gz
freebsd-ports-gnome-15cafe2fe4016a2514f5ed42b16be7226ce75e6f.tar.zst
freebsd-ports-gnome-15cafe2fe4016a2514f5ed42b16be7226ce75e6f.zip
Clean up plist
PR: 202715 Submitted by: amdmi3
-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