From e0cff945144342cfb02158acabcfdec4b92d1716 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sun, 9 Feb 2014 02:17:38 +0000 Subject: - 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 --- mail/spamdyke/Makefile | 14 +++++--------- mail/spamdyke/distinfo | 4 ++-- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'mail/spamdyke') 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 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 -- cgit v1.2.3