aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spambnc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-12-05 09:42:34 +0800
committerleeym <leeym@FreeBSD.org>2003-12-05 09:42:34 +0800
commit13f8e2bdd08694e96e008422bbed4d3cdf6b3b81 (patch)
tree19b23d06a01fb5f55e659d92d38c743c82bbbcba /mail/spambnc
parent34221496eee55415c8659a4cefa3c6a1897b8916 (diff)
downloadfreebsd-ports-gnome-13f8e2bdd08694e96e008422bbed4d3cdf6b3b81.tar.gz
freebsd-ports-gnome-13f8e2bdd08694e96e008422bbed4d3cdf6b3b81.tar.zst
freebsd-ports-gnome-13f8e2bdd08694e96e008422bbed4d3cdf6b3b81.zip
upgrading to 20031203
- upgrade The SpamBouncer to its latest version; - utilize DATADIR. PR: 59965 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'mail/spambnc')
-rw-r--r--mail/spambnc/Makefile12
-rw-r--r--mail/spambnc/distinfo4
2 files changed, 8 insertions, 8 deletions
diff --git a/mail/spambnc/Makefile b/mail/spambnc/Makefile
index 3d706bb32723..dca262578db5 100644
--- a/mail/spambnc/Makefile
+++ b/mail/spambnc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= spambnc
-PORTVERSION= 20031128
+PORTVERSION= 20031203
CATEGORIES= mail
MASTER_SITES= http://www.spambouncer.org/ \
ftp://ftp.spambouncer.org/
@@ -27,19 +27,19 @@ PLIST= ${WRKDIR}/.pkg-plist
pre-install:
@${RM} -f ${PLIST}
@(cd ${WRKDIR} && ${FIND} -s . -type f | ${GREP} -v "^\.\/\." | \
- ${SED} -e 's,.,share/spambnc,1' >> ${PLIST})
- @${ECHO_CMD} "@dirrm share/spambnc" >> ${PLIST}
+ ${SED} -e 's,.,%%DATADIR%%,1' >> ${PLIST})
+ @${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
.if !defined(NOPORTDOCS)
@${ECHO_CMD} "%%DOCSDIR%%/documentation.html" >> ${PLIST}
@${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
.endif
do-install:
- ${MKDIR} ${PREFIX}/share/spambnc/
- cd ${WRKDIR} && ${CP} -Rv * ${PREFIX}/share/spambnc
+ ${MKDIR} ${DATADIR}
+ cd ${WRKDIR} && ${CP} -Rv * ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
${DOCSDIR}/documentation.html
.endif
diff --git a/mail/spambnc/distinfo b/mail/spambnc/distinfo
index d141fa8aeb75..b50ffa0c2a28 100644
--- a/mail/spambnc/distinfo
+++ b/mail/spambnc/distinfo
@@ -1,2 +1,2 @@
-MD5 (spambnc-20031128/sb.tar.Z) = 6462d7f662863be6d51e0daded62fb35
-MD5 (spambnc-20031128/index.shtml) = IGNORE
+MD5 (spambnc-20031203/sb.tar.Z) = 0f4a5e8478b2ec58cfca7973dcb67dff
+MD5 (spambnc-20031203/index.shtml) = IGNORE