aboutsummaryrefslogtreecommitdiff
path: root/math/naturalmath
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
commitd9b51276267edffe96f5dfa613e9010e8b20d481 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/naturalmath
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
downloadports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz
ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip
Notes
Diffstat (limited to 'math/naturalmath')
-rw-r--r--math/naturalmath/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/naturalmath/Makefile b/math/naturalmath/Makefile
index 13f79e7947e7..db8b2d5a9858 100644
--- a/math/naturalmath/Makefile
+++ b/math/naturalmath/Makefile
@@ -14,6 +14,8 @@ USE_TEX= latex:build dvipsk:build
USES= shebangfix perl5
SHEBANG_FILES= naturalmath
+OPTIONS_DEFINE= DOCS
+
do-build:
(cd ${WRKSRC}; ./naturalmath tutor.nat; \
${LOCALBASE}/bin/latex tutor; ${LOCALBASE}/bin/latex tutor; \
@@ -21,7 +23,6 @@ do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/naturalmath ${STAGEDIR}${PREFIX}/bin
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/install.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tutor.nat ${STAGEDIR}${DOCSDIR}
@@ -29,6 +30,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/tutor.dvi ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tutor.ps ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/naturalmath.cgi ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>