summaryrefslogblamecommitdiff
path: root/math/jama/Makefile
blob: b84e3aac410eb0fb1256d7818dee611c66638b89 (plain) (tree)






































                                                                            
# Ports collection makefile for:	jama
# Date created:				May 15, 2003
# Whom:					Pedro F. Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=	jama
PORTVERSION=	1.2.1
CATEGORIES=	math devel
MASTER_SITES=	http://math.nist.gov/tnt/
DISTNAME=	${PORTNAME}121src
.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
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} ${PREFIX}/share/doc
	${EXTRACT_CMD} ${DISTDIR}/${DIST_SUBDIR}/jama102doc \
		-d ${PREFIX}/share/doc
	${MV} ${PREFIX}/share/doc/doxygen ${DOCSDIR}
.endif

.include <bsd.port.mk>