aboutsummaryrefslogtreecommitdiff
path: root/mail/spamdyke
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2010-10-19 00:13:04 +0000
committerWesley Shields <wxs@FreeBSD.org>2010-10-19 00:13:04 +0000
commit1d7cc7448af07b759601d17cb5062f6fff9e6647 (patch)
tree9cd507b6a9de1fd2e9bc94752a31090f9494f3ab /mail/spamdyke
parent2b4908b3d03dfff525aa78b84e67e5203d24da69 (diff)
downloadports-1d7cc7448af07b759601d17cb5062f6fff9e6647.tar.gz
ports-1d7cc7448af07b759601d17cb5062f6fff9e6647.zip
Notes
Diffstat (limited to 'mail/spamdyke')
-rw-r--r--mail/spamdyke/Makefile9
-rw-r--r--mail/spamdyke/distinfo6
-rw-r--r--mail/spamdyke/pkg-plist4
3 files changed, 12 insertions, 7 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile
index 4dd1b9bfb7d4..99072f373b31 100644
--- a/mail/spamdyke/Makefile
+++ b/mail/spamdyke/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= spamdyke
-PORTVERSION= 4.0.10
+PORTVERSION= 4.1.0
CATEGORIES= mail
MASTER_SITES= http://www.spamdyke.org/releases/
EXTRACT_SUFX= .tgz
@@ -23,8 +23,6 @@ GNU_CONFIGURE= yes
ALL_TARGET= spamdyke
-PLIST_FILES= bin/spamdyke etc/spamdyke.conf.example
-
OPTIONS= TLS "Enable TLS support" On \
DEBUG "Enable debugging output" Off \
DEBUG_EXCESSIVE "Enable excessive debugging output" Off
@@ -56,7 +54,7 @@ CONFIGURE_ARGS+= --without-excessive-output
PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
README.html README_ip_file_format.html \
README_rdns_directory_format.html README_rdns_file_format.html \
- UPGRADING.txt UPGRADING_version_3_to_version_4.txt TODO.txt
+ UPGRADING.txt UPGRADING_version_3_to_version_4.txt
.endif
post-install:
@@ -65,6 +63,9 @@ post-install:
cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/documentation/spamdyke.conf.example ${PREFIX}/etc
+ @if [ ! -f ${PREFIX}/etc/spamdyke.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/spamdyke.conf.example ${PREFIX}/etc/spamdyke.conf; \
+ fi
post-patch:
@${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in
diff --git a/mail/spamdyke/distinfo b/mail/spamdyke/distinfo
index 53fd2730c26c..2151e24ff610 100644
--- a/mail/spamdyke/distinfo
+++ b/mail/spamdyke/distinfo
@@ -1,3 +1,3 @@
-MD5 (spamdyke-4.0.10.tgz) = 28b7b8d5ee00fac1458d63952b516179
-SHA256 (spamdyke-4.0.10.tgz) = daacc661c149f41fe12229da805f849c0dae2595f7b051c5091589502f8341f3
-SIZE (spamdyke-4.0.10.tgz) = 454117
+MD5 (spamdyke-4.1.0.tgz) = d2ecad6eb3ca65299ee5601f430221cd
+SHA256 (spamdyke-4.1.0.tgz) = 5d3cde81a63669dbbd5f5b1314999714a352cf5368e7cb65f266b9af4b5bb4fc
+SIZE (spamdyke-4.1.0.tgz) = 490106
diff --git a/mail/spamdyke/pkg-plist b/mail/spamdyke/pkg-plist
new file mode 100644
index 000000000000..40b8ef4ad20e
--- /dev/null
+++ b/mail/spamdyke/pkg-plist
@@ -0,0 +1,4 @@
+bin/spamdyke
+@unexec if cmp -s %D/etc/spamdyke.conf.example %D/etc/spamdyke.conf; then rm -f %D/etc/spamdyke.conf; fi
+etc/spamdyke.conf.example
+@exec if [ ! -f %D/etc/spamdyke.conf ] ; then cp -p %D/%F %B/spamdyke.conf; fi