aboutsummaryrefslogtreecommitdiff
path: root/math/emc2
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
commite638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /math/emc2
parent3c87974395c0f207b0768da251c721e0125b48b7 (diff)
downloadports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.tar.gz
ports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.zip
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395483
Diffstat (limited to 'math/emc2')
-rw-r--r--math/emc2/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/math/emc2/Makefile b/math/emc2/Makefile
index 06bc6309f691..455c6ad50d90 100644
--- a/math/emc2/Makefile
+++ b/math/emc2/Makefile
@@ -35,15 +35,14 @@ OPTIONS_DEFINE= DOCS
DOCS_DISTFILES= RTemc2_fr.pdf RTemc2_gb.pdf
-.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/prf_f3d ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- @(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
-.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+
.include <bsd.port.mk>