diff options
author | Johan van Selst <johans@FreeBSD.org> | 2014-02-05 19:52:28 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2014-02-05 19:52:28 +0000 |
commit | ba02f78f21e76eea29bc1e253b66b3b0a5da3e14 (patch) | |
tree | 96860f94c6b35596b0a80d19780b210c2817f2bd /news/cleanfeed | |
parent | net-p2p/gkremldk: Fix for new linkers (-Wl must have an argument) (diff) |
Enable stage support
Notes
Notes:
svn path=/head/; revision=342826
Diffstat (limited to 'news/cleanfeed')
-rw-r--r-- | news/cleanfeed/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/news/cleanfeed/Makefile b/news/cleanfeed/Makefile index 81f0e985a54c..338bcbb34fc5 100644 --- a/news/cleanfeed/Makefile +++ b/news/cleanfeed/Makefile @@ -21,21 +21,18 @@ INSTALL+= -b PKGDEINSTALL= ${PKGINSTALL} WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "/debug_batch_directory/s:'.*':'/var/log/cleanfeed':" ${WRKSRC}/etc/cleanfeed.local do-install: - @${INSTALL} ${_SHROWNGRP} -d ${PREFIX}/news/cleanfeed/etc + @${INSTALL} ${_SHROWNGRP} -d ${STAGEDIR}${PREFIX}/news/cleanfeed/etc .for f in bad_adult_paths bad_body bad_cancel_paths bad_from bad_groups \ bad_hosts bad_paths bad_subject bad_url - @${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/news/cleanfeed/etc + @${INSTALL_DATA} ${WRKSRC}/etc/${f} ${STAGEDIR}${PREFIX}/news/cleanfeed/etc .endfor @${INSTALL_DATA} ${WRKSRC}/etc/cleanfeed.local \ - ${PREFIX}/news/cleanfeed/etc/cleanfeed.local.sample - @${INSTALL_DATA} ${WRKSRC}/cleanfeed ${PREFIX}/news/bin/filter - -post-install: - ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + ${STAGEDIR}${PREFIX}/news/cleanfeed/etc/cleanfeed.local.sample + @${MKDIR} ${STAGEDIR}${PREFIX}/news/bin/filter + @${INSTALL_DATA} ${WRKSRC}/cleanfeed ${STAGEDIR}${PREFIX}/news/bin/filter .include <bsd.port.mk> |