1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/math/tetgen/Makefile
Carlo Strub 7a4b8d4435 - Update to 1.5.0.20131104
- New License is AGPLv3

PR:		9193123
Submitted by:	pfg@
2014-08-31 20:23:50 +00:00

36 lines
932 B
Makefile

# Created by: Pedro F. Giffuni
# $FreeBSD$
PORTNAME= tetgen
PORTVERSION= 1.5.0.20131104
CATEGORIES= math
MASTER_SITES= http://wias-berlin.de/software/tetgen/1.5/src/
DISTNAME= ${PORTNAME}${PORTVERSION:R}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Quality Tetrahedral Mesh Generator and Delaunay Triangulator
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= EXAMPLES
MAKEFILE= makefile
ALL_TARGET= tetgen tetlib
PORTEXAMPLES= example.poly
PLIST_FILES= bin/tetgen include/tetgen.h lib/libtet.a
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/tetgen.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libtet.a ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.poly ${STAGEDIR}${EXAMPLESDIR}
regression-test:
(cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
.include <bsd.port.mk>