aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 16:36:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 16:36:20 +0000
commitc44a50c8bc21eafc8f23ded94bf2b689a272ef0b (patch)
tree58e9e189bea19fb52858ca3d75a7052a72e1d6a2
parent9b73ffc2e6fa6027e70445093aebe2c586927738 (diff)
downloadports-c44a50c8bc21eafc8f23ded94bf2b689a272ef0b.tar.gz
ports-c44a50c8bc21eafc8f23ded94bf2b689a272ef0b.zip
Notes
-rw-r--r--devel/ccache/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile
index 64352b91ab74..d13465802fb6 100644
--- a/devel/ccache/Makefile
+++ b/devel/ccache/Makefile
@@ -69,15 +69,13 @@ SUB_LIST+= CCACHE_COMPILERS="${CCACHE_COMPILERS}" \
ICCPREFIX="${LOCALBASE}/intel_cc_80/bin" \
HOWTO="${HOWTO}"
-post-build:
-.if ${PORT_OPTIONS:MTINDERBOX}
+post-build-TINDERBOX-on:
@${MKDIR} ${WRKDIR}/tb/opt
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${WRKDIR}/tb/opt
.for l in ${CCACHE_COMPILERS}
@${LN} -sf ${PORTNAME} ${WRKDIR}/tb/opt/${l}
.endfor
@${TAR} -C ${WRKDIR}/tb -cpf ${WRKSRC}/${PORTNAME}.tar opt
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ccache ${STAGEDIR}${PREFIX}/bin
@@ -87,14 +85,14 @@ do-install:
${STAGEDIR}${PREFIX}/${CCLINKDIR}/world/ccache
${INSTALL_SCRIPT} ${WRKDIR}/ccache-update-links.sh \
${STAGEDIR}${PREFIX}/bin/ccache-update-links
-.if ${PORT_OPTIONS:MTINDERBOX}
+
+do-install-TINDERBOX-on:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.tar ${STAGEDIR}${DATADIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/MANUAL.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${HOWTO} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.post.mk>