diff options
author | ache <ache@FreeBSD.org> | 2005-05-23 16:23:05 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2005-05-23 16:23:05 +0800 |
commit | 1684714e7cd114c4d66f396cbae8454c4f8a9e6f (patch) | |
tree | 9761347842d05ef8883dbccba7e1c8660dc8751a /mail/dk-milter | |
parent | 00e4d27b769b3231e91a6774ef0f38894974b526 (diff) | |
download | freebsd-ports-graphics-1684714e7cd114c4d66f396cbae8454c4f8a9e6f.tar.gz freebsd-ports-graphics-1684714e7cd114c4d66f396cbae8454c4f8a9e6f.tar.zst freebsd-ports-graphics-1684714e7cd114c4d66f396cbae8454c4f8a9e6f.zip |
Use SUB_FILES
Diffstat (limited to 'mail/dk-milter')
-rw-r--r-- | mail/dk-milter/Makefile | 5 | ||||
-rw-r--r-- | mail/dk-milter/files/milter-dk.sh.in (renamed from mail/dk-milter/files/milter-dk.sh) | 0 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile index 91cd72fcf3b..49e0983fd45 100644 --- a/mail/dk-milter/Makefile +++ b/mail/dk-milter/Makefile @@ -24,6 +24,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_MILTER_ SENDMAIL_MILTER_PORT?= sendmail USE_REINPLACE= yes +SUB_FILES= milter-dk.sh WCONF= ${WRKSRC}/devtools/Site MAN8= dk-filter.8 DOCSFILES= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \ @@ -45,8 +46,6 @@ pre-fetch: .endif pre-configure: - @${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/milter-dk.sh \ - > ${WRKSRC}/milter-dk.sh ${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \ -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ @@ -59,7 +58,7 @@ post-install: -${STRIP_CMD} ${PREFIX}/libexec/dk-filter ${INSTALL_SCRIPT} ${WRKSRC}/dk-filter/gentxt.csh \ ${PREFIX}/sbin/gentxt - ${INSTALL_DATA} ${WRKSRC}/milter-dk.sh \ + ${INSTALL_DATA} ${WRKDIR}/milter-dk.sh \ ${PREFIX}/etc/rc.d/milter-dk.sh.sample .for i in ${MAN8} @${RM} -f ${MANPREFIX}/man/cat8/${i} ${MANPREFIX}/man/cat8/${i}.gz diff --git a/mail/dk-milter/files/milter-dk.sh b/mail/dk-milter/files/milter-dk.sh.in index 702efab14bd..702efab14bd 100644 --- a/mail/dk-milter/files/milter-dk.sh +++ b/mail/dk-milter/files/milter-dk.sh.in |