aboutsummaryrefslogtreecommitdiff
path: root/mail/spamass-milter/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-09 21:16:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-09 21:16:02 +0000
commit414919193ee63a4b609f43ca86db9a2a4f6994df (patch)
tree2d9868aa9da810407b7f0550f3017c8a577315a5 /mail/spamass-milter/Makefile
parenteeb6fc06f1137abc802c9f5f577ab63a01b4176d (diff)
downloadports-414919193ee63a4b609f43ca86db9a2a4f6994df.tar.gz
ports-414919193ee63a4b609f43ca86db9a2a4f6994df.zip
Notes
Diffstat (limited to 'mail/spamass-milter/Makefile')
-rw-r--r--mail/spamass-milter/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile
index af39bd0502b3..9f837fbc3662 100644
--- a/mail/spamass-milter/Makefile
+++ b/mail/spamass-milter/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= spamass-milter
-PORTVERSION= 0.3.0
-PORTREVISION= 1
+PORTVERSION= 0.3.1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= spamass-milt
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= thomas@goodking.ca
COMMENT= Sendmail Milter (mail filter) plugin for SpamAssassin
BUILD_DEPENDS= spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin
@@ -51,7 +50,7 @@ WITH_SENDMAIL_BASE=yes
.if exists(/usr/lib/libmilter.a)
MILTERBASE= /usr
.else
-BROKEN= "Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes"
+BROKEN= Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
.endif
.else
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
@@ -68,7 +67,7 @@ MILTERLIB= ${MILTERBASE}/lib
CPPFLAGS+= -I${MILTERINC}
LDFLAGS+= -L${MILTERLIB}
-USE_RC_SUBR= yes
+USE_RC_SUBR= spamass-milter
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
@@ -79,7 +78,7 @@ MAN1= spamass-milter.1
post-patch:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/spamass-milter.sh > ${WRKDIR}/spamass-milter.sh
+ ${FILESDIR}/spamass-milter.in > ${WRKDIR}/spamass-milter
@${SED} -e's,%%PREFIX%%,${PREFIX},g' \
${FILESDIR}/activation.txt > ${WRKDIR}/activation.txt
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
@@ -89,7 +88,6 @@ post-patch:
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/spamass-milter.sh ${PREFIX}/etc/rc.d/spamass-milter.sh
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/activation.txt ${DOCSDIR}/activation.txt