summaryrefslogtreecommitdiffstats
path: root/devel/tnt/Makefile
blob: 2a8aa4fb328d2bd329b2808e62f44eef0fa7e369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Ports collection makefile for:	tnt
# Date created:				Mar 15, 2003
# Whom:					Pedro F. Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=	tnt
PORTVERSION=	1.2.6
CATEGORIES=	devel math
MASTER_SITES=	http://math.nist.gov/tnt/
DISTNAME=	${PORTNAME}_126
.ifndef NOPORTDOCS
DISTFILES=${DISTNAME}${EXTRACT_SUFX} tnt120doc.zip
.endif
DIST_SUBDIR=	tnt
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	erik@bz.bzflag.bz
COMMENT=	Template Numerical Toolkit

BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip

USE_ZIP=	yes
NO_BUILD=	yes

.ifndef NOPORTDOCS
PORTDOCS=	*
.endif

do-install:
	${MKDIR} ${PREFIX}/include/tnt
	${INSTALL_DATA} ${WRKDIR}/*.h ${PREFIX}/include/tnt
.ifndef NOPORTDOCS
	${MKDIR} ${DOCSDIR}
	${EXTRACT_CMD} ${DISTDIR}/${DIST_SUBDIR}/tnt120doc \
		-d ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud