aboutsummaryrefslogtreecommitdiffstats
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
parentab7b24f698983b78f2eefe5aee150f21b48c0ff8 (diff)
downloadfreebsd-ports-graphics-8d612472b8745df1469ec3631321b2e132ea32d7.tar.gz
freebsd-ports-graphics-8d612472b8745df1469ec3631321b2e132ea32d7.tar.zst
freebsd-ports-graphics-8d612472b8745df1469ec3631321b2e132ea32d7.zip
Use PLIST_FILES & SUB_FILES
-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 0aab53421eb..2f5df7f4794 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 89d41446f33..00000000000
--- a/mail/rbl-milter/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-sbin/rbl-milter
-etc/rc.d/rbl-milter.sh