aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rbl-milter
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-26 16:20:57 +0800
committervs <vs@FreeBSD.org>2005-04-26 16:20:57 +0800
commit8d612472b8745df1469ec3631321b2e132ea32d7 (patch)
treea7f56db2ab212f7478fda2b57362bee9bc66bbda /mail/rbl-milter
parentab7b24f698983b78f2eefe5aee150f21b48c0ff8 (diff)
downloadfreebsd-ports-gnome-8d612472b8745df1469ec3631321b2e132ea32d7.tar.gz
freebsd-ports-gnome-8d612472b8745df1469ec3631321b2e132ea32d7.tar.zst
freebsd-ports-gnome-8d612472b8745df1469ec3631321b2e132ea32d7.zip
Use PLIST_FILES & SUB_FILES
Diffstat (limited to 'mail/rbl-milter')
-rw-r--r--mail/rbl-milter/Makefile5
-rw-r--r--mail/rbl-milter/pkg-plist2
2 files changed, 3 insertions, 4 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}
diff --git a/mail/rbl-milter/pkg-plist b/mail/rbl-milter/pkg-plist
deleted file mode 100644
index 89d41446f33a..000000000000
--- a/mail/rbl-milter/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-sbin/rbl-milter
-etc/rc.d/rbl-milter.sh