freebsd-ports/math/qhull/Makefile
Wen Heping d9f88c1143 - Add extra patch according to http://www.qhull.org/
PR:		ports/142894
Submitted by:	Stephen Montgomery-Smith <stephen@missouri.edu> (maintainer)
2010-01-17 03:55:06 +00:00

38 lines
855 B
Makefile

# New ports collection makefile for: qhull
# Date created: 3 March 2004
# Whom: pusto@web.de
#
# $FreeBSD$
PORTNAME= qhull
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://www.qhull.org/download/
DISTNAME= ${PORTNAME}-2003.1
MAINTAINER= stephen@missouri.edu
COMMENT= Qhull computes convex hulls, Delaunay triangulations and halfspaces
PATCH_SITES= http://www.qhull.org/download/
PATCHFILES= poly.c-qh_gethash.patch
PATCH_DIST_STRIP= -p2
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
.if !defined(NOPORTDOCS)
MAN1= qhull.1 rbox.1
.endif
pre-configure:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s|src html eg config|src config|" \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|install-docDATA install-examplesDATA||" \
${WRKSRC}/src/Makefile.in
.endif
.include <bsd.port.mk>