- 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
This commit is contained in:
Bryan Drewery 2014-02-09 02:17:38 +00:00
parent 2f64d89262
commit e0cff94514
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343419
3 changed files with 16 additions and 11 deletions

View File

@ -5,6 +5,15 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20140208:
AFFECTS: users of spamdyke
AUTHOR: bdrewery@FreeBSD.org
Spamdyke has been updated to 5.0.0. The behavior has changed from
4.x. Please see the upgrading notes at:
http://www.spamdyke.org/documentation/UPGRADING_version_4_to_version_5.txt
20140208:
AFFECTS: users of icu
AUTHOR: bapt@FreeBSD.org

View File

@ -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>

View File

@ -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