2004-11-15 11:37:05 +01:00
|
|
|
# New ports collection makefile for: triangle
|
|
|
|
# Date created: 16 Octobre 2004
|
|
|
|
# Whom: Thierry Thomas <thierry@pompo.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= triangle
|
2005-11-20 10:29:25 +01:00
|
|
|
PORTVERSION= 1.6
|
2004-11-15 23:51:06 +01:00
|
|
|
CATEGORIES= math
|
2004-11-15 11:37:05 +01:00
|
|
|
MASTER_SITES= http://cm.bell-labs.com/netlib/voronoi/
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator
|
|
|
|
|
2005-11-20 10:29:25 +01:00
|
|
|
NO_CDROM= "Triangle must not be sold for profit"
|
2004-11-15 11:37:05 +01:00
|
|
|
|
2004-12-30 10:33:04 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2004-11-15 11:37:05 +01:00
|
|
|
USE_ZIP= yes
|
|
|
|
USE_XLIB= yes
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
PLIST_FILES= bin/triangle bin/showme
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${PLIST_FILES:S|^bin|${WRKSRC}|} ${PREFIX}/bin
|
|
|
|
|
|
|
|
.if defined(MAINTAINER_MODE)
|
|
|
|
test: build
|
|
|
|
(cd ${INSTALL_WRKSRC} && ./triangle -p A.poly && ./showme A.1.poly)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|