summaryrefslogtreecommitdiff
path: root/devel/p4d/pkg-plist
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-01 18:57:08 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-01 18:57:08 +0000
commitdf5a274627d50f17a9f6d26b83d8e78ab014d7b4 (patch)
tree383f9254270129c6616505e1b0163b3dbac3c2e2 /devel/p4d/pkg-plist
parentNew port punkbuster version 0.0.956: Punkbuster is designed against (diff)
- Update to version 01.1
- Support the alpha platform (although it is still at version 99.1) - Install p4ftpd - Create a non-privileged user and run p4d as the user - Dig directories and make the port plug-and-play - Change the configuration file's name to perforce.conf - Do not unconditionally remove perforce.conf on deinstall - Make almost all parameters (including directory layouts and user/group names) configurable via make variables - Make the startup script support "restart" - Take over the maintainership Approved by: Samuel Tardieu <sam@inf.enst.fr> (ex. MAINTAINER)
Notes
Notes: svn path=/head/; revision=47290
Diffstat (limited to 'devel/p4d/pkg-plist')
-rw-r--r--devel/p4d/pkg-plist7
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/p4d/pkg-plist b/devel/p4d/pkg-plist
index f5fca512c3c6..31e0893152cc 100644
--- a/devel/p4d/pkg-plist
+++ b/devel/p4d/pkg-plist
@@ -1,5 +1,4 @@
-bin/p4
-bin/p4web
-sbin/p4d
-etc/perforce
+@unexec if cmp -s %D/etc/perforce.conf %D/etc/perforce.conf.default; then rm -f %D/etc/perforce.conf; fi
+etc/perforce.conf.default
+@exec [ ! -f %B/perforce.conf ] && cp -p %B/%f %B/perforce.conf || true
etc/rc.d/perforce.sh