aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-10-17 17:10:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2005-10-17 17:10:04 +0800
commite714db30b14fcde912f45aef80ab35c07c3204a9 (patch)
treebe693e4b70975b6cd27f7b7ba2f749df9570af67 /mail
parent794de2ee374c3941cc2a33b0a6a985ed5d4ea230 (diff)
downloadfreebsd-ports-gnome-e714db30b14fcde912f45aef80ab35c07c3204a9.tar.gz
freebsd-ports-gnome-e714db30b14fcde912f45aef80ab35c07c3204a9.tar.zst
freebsd-ports-gnome-e714db30b14fcde912f45aef80ab35c07c3204a9.zip
- Fix pkg-plist and preserve modified config files on update/removal
- Bump PORTREVISION Reported by: pointyhat via kris Approved by: novel (mentor) (implicit)
Diffstat (limited to 'mail')
-rw-r--r--mail/gld/Makefile1
-rw-r--r--mail/gld/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile
index 02a358ccd3da..835f3d93e934 100644
--- a/mail/gld/Makefile
+++ b/mail/gld/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gld
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.gasmi.net/down/
EXTRACT_SUFX= .tgz
diff --git a/mail/gld/pkg-plist b/mail/gld/pkg-plist
index b2a545008ad3..65a2f23d04b4 100644
--- a/mail/gld/pkg-plist
+++ b/mail/gld/pkg-plist
@@ -1,4 +1,6 @@
+@unexec if cmp -s %D/etc/gld.conf %D/etc/gld.conf-dist; then rm -f %D/etc/gld.conf; fi
etc/gld.conf-dist
+@exec [ -f %B/gld.conf ] || cp %B/%f %B/gld.conf
etc/rc.d/gld.sh
sbin/gld
%%PORTDOCS%%%%DOCSDIR%%/HISTORY