diff options
author | wxs <wxs@FreeBSD.org> | 2010-10-19 08:13:04 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2010-10-19 08:13:04 +0800 |
commit | 275e5375c4f38028d114d0d0415ae02228bec044 (patch) | |
tree | f3be0a0293eaf80d423271a9fb3e53f2e74e7fa9 /mail/spamdyke | |
parent | 205a5fc0c7b383617ddb192f87e10814b2203145 (diff) | |
download | freebsd-ports-gnome-275e5375c4f38028d114d0d0415ae02228bec044.tar.gz freebsd-ports-gnome-275e5375c4f38028d114d0d0415ae02228bec044.tar.zst freebsd-ports-gnome-275e5375c4f38028d114d0d0415ae02228bec044.zip |
Update to 4.1.0.
Handle the config files properly.
Diffstat (limited to 'mail/spamdyke')
-rw-r--r-- | mail/spamdyke/Makefile | 9 | ||||
-rw-r--r-- | mail/spamdyke/distinfo | 6 | ||||
-rw-r--r-- | mail/spamdyke/pkg-plist | 4 |
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 |