2004-11-15 10:37:05 +00:00
|
|
|
# New ports collection makefile for: triangle
|
|
|
|
# Date created: 16 Octobre 2004
|
|
|
|
# Whom: Thierry Thomas <thierry@pompo.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= triangle
|
2005-11-20 09:29:25 +00:00
|
|
|
PORTVERSION= 1.6
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
PORTREVISION= 2
|
2004-11-15 22:51:06 +00:00
|
|
|
CATEGORIES= math
|
2011-03-31 12:53:57 +00:00
|
|
|
MASTER_SITES= NL
|
|
|
|
MASTER_SITE_SUBDIR= voronoi
|
2004-11-15 10:37:05 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2011-03-31 12:53:57 +00:00
|
|
|
MAINTAINER= bf@FreeBSD.org
|
2004-11-15 10:37:05 +00:00
|
|
|
COMMENT= A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator
|
|
|
|
|
2005-11-20 09:29:25 +00:00
|
|
|
NO_CDROM= "Triangle must not be sold for profit"
|
2004-11-15 10:37:05 +00:00
|
|
|
|
2004-12-30 09:33:04 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2004-11-15 10:37:05 +00:00
|
|
|
USE_ZIP= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_XORG= x11
|
2004-11-15 10:37:05 +00:00
|
|
|
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>
|