aboutsummaryrefslogtreecommitdiffstats
path: root/math/emc2
diff options
context:
space:
mode:
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>