1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/math/jama/Makefile
Adam Weinberger d9b5127626 Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by:	portmgr (blanket)
2014-07-04 00:52:39 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Pedro F. Giffuni <giffunip@asme.org>
# $FreeBSD$
PORTNAME= jama
PORTVERSION= 1.2.5
CATEGORIES= math devel
MASTER_SITES= http://math.nist.gov/tnt/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
DIST_SUBDIR= tnt
EXTRACT_ONLY=
MAINTAINER= erik@bz.bzflag.bz
COMMENT= Java-like Matrix C++ Templates
BUILD_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
RUN_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
USES= zip
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
DISTFILES=${DISTNAME}${EXTRACT_SUFX} jama102doc.zip
.endif
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}
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/jama102doc.zip \
-d ${WRKDIR}/doc
(cd ${WRKDIR}/doc/doxygen && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>