summaryrefslogtreecommitdiff
path: root/math/mathomatic
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /math/mathomatic
parent. Update to 7u11. (diff)
- Use DOC instead of NOPORTDOCS
- Pacify portlint - Convert header
Notes
Notes: svn path=/head/; revision=310443
Diffstat (limited to 'math/mathomatic')
-rw-r--r--math/mathomatic/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile
index d125566acd1f..08d1b2798e97 100644
--- a/math/mathomatic/Makefile
+++ b/math/mathomatic/Makefile
@@ -24,6 +24,10 @@ MAN1= mathomatic.1
MAKE_ARGS= READLINE=1
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
@@ -34,7 +38,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.desktop \
${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.png ${PREFIX}/share/pixmaps
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
.for d in m4 tests
${MKDIR} ${DOCSDIR}/${d}
${INSTALL_DATA} ${WRKSRC}/${d}/* ${DOCSDIR}/${d}