aboutsummaryrefslogtreecommitdiffstats
path: root/math/emc2
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
commit80986f3bba5207fadfa3c154807c2bd35fc4fe43 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /math/emc2
parent107a7c671373ca4fc49013600186b99151a35dd1 (diff)
downloadfreebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.gz
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.zst
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.zip
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
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>