summaryrefslogtreecommitdiff
path: root/mail/spamassassin-dqs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamassassin-dqs/Makefile')
-rw-r--r--mail/spamassassin-dqs/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/spamassassin-dqs/Makefile b/mail/spamassassin-dqs/Makefile
index 07f75b6e50c8..6536f8d76fbc 100644
--- a/mail/spamassassin-dqs/Makefile
+++ b/mail/spamassassin-dqs/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= spamassassin-dqs
-PORTREVISION= 1
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.2
+DISTVERSION= 1.0.3
CATEGORIES= mail
MAINTAINER= ler@FreeBSD.org
@@ -20,17 +19,19 @@ GH_ACCOUNT= spamhaus
SUB_FILES= pkg-message
PLIST_FILES= etc/mail/spamassassin/SH.pm \
"@sample etc/mail/spamassassin/sh.cf.sample" \
- etc/mail/spamassassin/sh_scores.cf
+ etc/mail/spamassassin/sh_scores.cf \
+ etc/mail/spamassassin/sh.pre
NO_ARCH= yes
NO_BUILD= yes
post-patch:
- @${REINPLACE_CMD} -e 's|<config_directory>|${PREFIX}/etc/mail/spamassassin|' ${WRKSRC}/sh.cf
+ @${REINPLACE_CMD} -e 's|<config_directory>|${PREFIX}/etc/mail/spamassassin|' ${WRKSRC}/sh.pre
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
${INSTALL_DATA} ${WRKSRC}/sh.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/sh.cf.sample
+ ${INSTALL_DATA} ${WRKSRC}/sh.pre ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/
${INSTALL_DATA} ${WRKSRC}/SH.pm ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/
${INSTALL_DATA} ${WRKSRC}/sh_scores.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/
.include <bsd.port.mk>