2013-09-20 22:55:04 +02:00
|
|
|
# Created by: Pedro F. Giffuni <giffunip@asme.org>
|
2003-06-03 07:40:15 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jama
|
2007-06-18 21:46:00 +02:00
|
|
|
PORTVERSION= 1.2.5
|
2003-06-03 07:40:15 +02:00
|
|
|
CATEGORIES= math devel
|
|
|
|
MASTER_SITES= http://math.nist.gov/tnt/
|
2007-06-18 21:46:00 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
2003-06-03 07:40:15 +02:00
|
|
|
DIST_SUBDIR= tnt
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
2010-12-02 00:12:16 +01:00
|
|
|
MAINTAINER= erik@bz.bzflag.bz
|
2003-06-03 07:40:15 +02:00
|
|
|
COMMENT= Java-like Matrix C++ Templates
|
|
|
|
|
2014-06-08 10:08:36 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
|
2003-06-03 07:40:15 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
|
|
|
|
|
2014-06-06 17:26:41 +02:00
|
|
|
USES= zip
|
2003-06-03 07:40:15 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2014-07-04 02:52:39 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
DISTFILES=${DISTNAME}${EXTRACT_SUFX} jama102doc.zip
|
|
|
|
.endif
|
|
|
|
|
2003-06-03 07:40:15 +02:00
|
|
|
do-install:
|
2014-02-21 02:59:40 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/include/tnt
|
2014-06-08 10:08:36 +02:00
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
|
2014-02-21 02:59:40 +01:00
|
|
|
-d ${STAGEDIR}${PREFIX}/include/tnt
|
|
|
|
${MKDIR} ${WRKDIR}/doc ${STAGEDIR}${DOCSDIR}
|
2014-06-08 10:08:36 +02:00
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/jama102doc.zip \
|
2007-06-18 21:46:00 +02:00
|
|
|
-d ${WRKDIR}/doc
|
2014-06-08 10:08:36 +02:00
|
|
|
(cd ${WRKDIR}/doc/doxygen && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
2003-06-03 07:40:15 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|