mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
ece94980d4
- Use DOCSDIR; - Don't extract the doc tarball on the spot to avoid conflict if doxygen is installed. Notified by: Pedro F. Giffuni <giffunip (at) yahoo.com>
41 lines
1010 B
Makefile
41 lines
1010 B
Makefile
# Ports collection makefile for: jama
|
|
# Date created: May 15, 2003
|
|
# Whom: 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}
|
|
.ifndef NOPORTDOCS
|
|
DISTFILES=${DISTNAME}${EXTRACT_SUFX} jama102doc.zip
|
|
.endif
|
|
DIST_SUBDIR= tnt
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java-like Matrix C++ Templates
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt \
|
|
unzip:${PORTSDIR}/archivers/unzip
|
|
RUN_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/include/tnt
|
|
${EXTRACT_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \
|
|
-d ${PREFIX}/include/tnt
|
|
.ifndef NOPORTDOCS
|
|
${MKDIR} ${WRKDIR}/doc ${DOCSDIR}
|
|
${EXTRACT_CMD} -o ${DISTDIR}/${DIST_SUBDIR}/jama102doc \
|
|
-d ${WRKDIR}/doc
|
|
(cd ${WRKDIR}/doc/doxygen && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|