aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rbl-milter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/rbl-milter/Makefile')
-rw-r--r--mail/rbl-milter/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/rbl-milter/Makefile b/mail/rbl-milter/Makefile
index 0aab53421eb5..2f5df7f4794c 100644
--- a/mail/rbl-milter/Makefile
+++ b/mail/rbl-milter/Makefile
@@ -14,6 +14,7 @@ MASTER_SITES= http://opensource.confusticate.com/rbl-milter/
MAINTAINER= ports@FreeBSD.org
COMMENT= A milter that adds mail header warnings on mail from open-relays
+SUB_FILES= rbl-milter.sh
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -21,6 +22,8 @@ CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}
CONFIGURE_ARGS= --with-sendmail=/usr \
--with-sendmail-obj=/usr/lib
+PLIST_FILES= sbin/rbl-milter etc/rc.d/rbl-milter.sh
+
.if defined(NO_WERROR)
pre-configure:
@${CP} ${WRKSRC}/configure ${WRKSRC}/configure.sed
@@ -28,8 +31,6 @@ pre-configure:
.endif
post-install:
- @${SED} 's|%%PREFIX%%|${PREFIX}|g' \
- ${FILESDIR}/rbl-milter.sh.in > ${WRKDIR}/rbl-milter.sh
${INSTALL_SCRIPT} ${WRKDIR}/rbl-milter.sh \
${PREFIX}/etc/rc.d/rbl-milter.sh
@${CAT} ${PKGMESSAGE}