1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/math/triangle/Makefile

38 lines
830 B
Makefile
Raw Normal View History

# 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
2011-03-31 12:53:57 +00:00
MASTER_SITES= NL
MASTER_SITE_SUBDIR= voronoi
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
2011-03-31 12:53:57 +00:00
MAINTAINER= bf@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>