aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-02-09 10:17:38 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-02-09 10:17:38 +0800
commit69f2870f979b33d829a3ffef67b3908e67b76fe8 (patch)
treeeca8a4f4a79a98b8e888c13f33fa7b758665c563 /mail
parent30cd63ff3b5c26bcc925c4246489241af5a78bbb (diff)
downloadfreebsd-ports-gnome-69f2870f979b33d829a3ffef67b3908e67b76fe8.tar.gz
freebsd-ports-gnome-69f2870f979b33d829a3ffef67b3908e67b76fe8.tar.zst
freebsd-ports-gnome-69f2870f979b33d829a3ffef67b3908e67b76fe8.zip
- Update to 5.0.0
- Support STAGEDIR Changelog: http://www.spamdyke.org/documentation/Changelog.txt Upgrade guide from 4.x: http://www.spamdyke.org/documentation/UPGRADING_version_4_to_version_5.txt
Diffstat (limited to 'mail')
-rw-r--r--mail/spamdyke/Makefile14
-rw-r--r--mail/spamdyke/distinfo4
2 files changed, 7 insertions, 11 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile
index 74061743158f..3b3d462a3079 100644
--- a/mail/spamdyke/Makefile
+++ b/mail/spamdyke/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= spamdyke
-PORTVERSION= 4.3.1
+PORTVERSION= 5.0.0
CATEGORIES= mail
MASTER_SITES= http://www.spamdyke.org/releases/
EXTRACT_SUFX= .tgz
@@ -17,7 +17,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
WRKSRC= ${WRKDIR}/${DISTNAME}/spamdyke
USES= qmail
-NO_STAGE= yes
GNU_CONFIGURE= yes
@@ -45,18 +44,15 @@ PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${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
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/documentation/spamdyke.conf.example ${STAGEDIR}${PREFIX}/etc
post-patch:
@${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/spamdyke ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/spamdyke ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/mail/spamdyke/distinfo b/mail/spamdyke/distinfo
index 27637fd4937c..a63c29576968 100644
--- a/mail/spamdyke/distinfo
+++ b/mail/spamdyke/distinfo
@@ -1,2 +1,2 @@
-SHA256 (spamdyke-4.3.1.tgz) = f8102a1b8c5f6d0fb9a70612e5c07a5d17d30a63f40b4427a3e6aca592625a35
-SIZE (spamdyke-4.3.1.tgz) = 526494
+SHA256 (spamdyke-5.0.0.tgz) = f118a4a34690f772ebf70d9da80a7167e39a66a4d640e8a8fbaa6e615621bf8c
+SIZE (spamdyke-5.0.0.tgz) = 370076