aboutsummaryrefslogtreecommitdiff
path: root/mail/qmhandle/pkg-plist
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-08-27 14:24:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-08-27 14:24:45 +0000
commitb72b901790d8a750fc5c7165b8c3124976d847ad (patch)
treed31cca41c4f73cea91a2c7b22adb6f99e66e5c61 /mail/qmhandle/pkg-plist
parentef88d27e4c2280fd869bea03a49803dc7c611f74 (diff)
downloadports-b72b901790d8a750fc5c7165b8c3124976d847ad.tar.gz
ports-b72b901790d8a750fc5c7165b8c3124976d847ad.zip
- Split a piece of code that contain user configuration variables and create a
configuration file qmHandle.conf installed under ${PREFIX}/etc. This avoids user needs to edit qmHandle file at ${PREFIX}/bin and lost changes every upgrade - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=219309
Diffstat (limited to 'mail/qmhandle/pkg-plist')
-rw-r--r--mail/qmhandle/pkg-plist5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/qmhandle/pkg-plist b/mail/qmhandle/pkg-plist
new file mode 100644
index 000000000000..c66545aeb84a
--- /dev/null
+++ b/mail/qmhandle/pkg-plist
@@ -0,0 +1,5 @@
+@comment $FreeBSD$
+bin/qmHandle
+@unexec if cmp -s %D/etc/qmHandle.conf %D/etc/qmHandle.conf.sample; then rm -f %D/etc/qmHandle.conf; fi
+etc/qmHandle.conf.sample
+@exec [ -f %B/qmHandle.conf ] || cp %B/%f %B/qmHandle.conf