aboutsummaryrefslogtreecommitdiff
path: root/math/jama/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:20:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:20:21 +0000
commit22182d36fed911d891052deb0616467c7f2214ce (patch)
tree1a1d0386e526c2b962140718e81b5c02be6306a6 /math/jama/Makefile
parent64fab816f25916938e9ad49e217d527c7025ef36 (diff)
downloadports-22182d36fed911d891052deb0616467c7f2214ce.tar.gz
ports-22182d36fed911d891052deb0616467c7f2214ce.zip
Notes
Diffstat (limited to 'math/jama/Makefile')
-rw-r--r--math/jama/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/math/jama/Makefile b/math/jama/Makefile
index 76ab1356a244..25d476fa9b1c 100644
--- a/math/jama/Makefile
+++ b/math/jama/Makefile
@@ -7,7 +7,8 @@ CATEGORIES= math devel
MASTER_SITES= http://math.nist.gov/tnt/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
DIST_SUBDIR= tnt
-EXTRACT_ONLY=
+EXTRACT_ONLY= # empty
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= erik@bz.bzflag.bz
COMMENT= Java-like Matrix C++ Templates
@@ -20,17 +21,15 @@ NO_BUILD= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-DISTFILES=${DISTNAME}${EXTRACT_SUFX} jama102doc.zip
-.endif
+DOCS_DISTFILES= jama102doc.zip
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/tnt
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
-d ${STAGEDIR}${PREFIX}/include/tnt
${MKDIR} ${WRKDIR}/doc ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/jama102doc.zip \
-d ${WRKDIR}/doc
(cd ${WRKDIR}/doc/doxygen && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})