mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
3e4ed01146
- 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)
37 lines
842 B
Makefile
37 lines
842 B
Makefile
# New ports collection makefile for: triangle
|
|
# Date created: 16 Octobre 2004
|
|
# Whom: Thierry Thomas <thierry@pompo.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= triangle
|
|
PORTVERSION= 1.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
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
|
|
|
|
NO_CDROM= "Triangle must not be sold for profit"
|
|
|
|
NO_WRKSUBDIR= yes
|
|
USE_ZIP= yes
|
|
USE_XORG= x11
|
|
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>
|