blob: fc0aa6f3d9217b202c010636669b5aa3495ae440 (
plain) (
blame)
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
|
# New ports collection makefile for: tetgen
# Date created: 16 December 2005
# Whom: Pedro F. Giffuni
#
# $FreeBSD$
#
PORTNAME= tetgen
PORTVERSION= 1.4.3
CATEGORIES= math
MASTER_SITES= http://tetgen.berlios.de/files/ \
http://www.c-s.li/ports/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Quality Tetrahedral Mesh Generator and Delaunay Triangulator
LICENSE_FILE= ${WRKDIR}/LICENSE
NO_CDROM= Tetgen is for academic or personal use only
MAKE_JOBS_SAFE= YES
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(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
.endif
regression-test:
(cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
.include <bsd.port.mk>
|