summaryrefslogtreecommitdiff
path: root/net/spread
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-24 11:28:39 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-24 11:28:39 +0000
commit2c848c14ef6b780846c38210471673be4894a502 (patch)
tree1e677eb9d712b78bb5e9fbcc0a1916f65c68621e /net/spread
parent- Don't needlessly install *.conf from *.conf.sample, this is handled by @sample (diff)
- Improve the previous fix: do not duplicate fix-perl-things code, instead make the target run after post-install to fix things installed from there
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=397688
Diffstat (limited to 'net/spread')
-rw-r--r--net/spread/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spread/Makefile b/net/spread/Makefile
index 085d5e48bd90..5e9041339827 100644
--- a/net/spread/Makefile
+++ b/net/spread/Makefile
@@ -36,6 +36,8 @@ HEADERFILES= sp_func.h sp_func.h sp_events.h
PERL_CONFIGURE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
+TARGET_ORDER_OVERRIDE= 710:fix-perl-things
+
post-configure:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/docs/${PORTNAME}.1 ${WRKSRC}/docs/spmonitor.1
@@ -65,7 +67,5 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libspread.so.1
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtspread.so.1
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Spread/Spread.so
- ${REINPLACE_CMD} -i '' -e 's|^${STAGEDIR}||' ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Spread/.packlist
- ${ECHO_CMD} ${PREFIX}/${SITE_ARCH_REL}/auto/Spread/.packlist >> ${TMPPLIST}
.include <bsd.port.mk>