aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-24 21:19:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-24 21:19:27 +0000
commitbadcf22cddfacf3df091cf223d5e158927e8f7ae (patch)
tree9932bc1e02f4ff655ef4020f6bbd541969b11647
parent02c8bec7d3e629afa49ab55f4f56f27e388c8e8d (diff)
downloadports-badcf22cddfacf3df091cf223d5e158927e8f7ae.tar.gz
ports-badcf22cddfacf3df091cf223d5e158927e8f7ae.zip
Notes
-rw-r--r--science/devisor/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/science/devisor/Makefile b/science/devisor/Makefile
index b53b51cdf7e0..7a85017368d5 100644
--- a/science/devisor/Makefile
+++ b/science/devisor/Makefile
@@ -27,18 +27,16 @@ PLIST_FILES= bin/devisorgrid
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${STAGEDIR}${PREFIX}/bin/devisorgrid
cd ${WRKSRC} \
&& ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR} "-not -name *\.pdf"
cd ${WRKSRC} \
&& ${COPYTREE_SHARE} "${CLASSFILES}" ${STAGEDIR}${DATADIR} "-name *\.class"
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
cd ${WRKSRC}/manual \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-name *\.pdf"
-.endif
post-install:
@cd ${WRKSRC} \