freebsd-ports/math/tetgen/Makefile
Shaun Amott acd9f95a24 - Upgrade to 1.4.2.
- Replace the test target by the canonical regression-test.

PR:		ports/114710
Submitted by:	Pedro F. Giffuni via thierry
2007-09-28 00:46:26 +00:00

36 lines
951 B
Makefile

# New ports collection makefile for: tetgen
# Date created: 16 December 2005
# Whom: Pedro F. Giffuni
#
# $FreeBSD$
#
PORTNAME= tetgen
PORTVERSION= 1.4.2
CATEGORIES= math
MASTER_SITES= http://www.wias-berlin.de/people/si/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= shaun@FreeBSD.org
COMMENT= A Quality Tetrahedral Mesh Generator and Delaunay Triangulator
NO_CDROM= Tetgen is for academic or personal use only
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
MAKEFILE= makefile
ALL_TARGET= tetgen tetlib
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
@${INSTALL_DATA} ${WRKSRC}/libtet.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
.endif
regression-test:
(cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
.include <bsd.port.mk>