1 2 3PORTNAME= qhull 4PORTVERSION= 1.0 5PORTREVISION= 1 6CATEGORIES= math 7MASTER_SITES= http://www.qhull.org/download/ 8DISTNAME= ${PORTNAME}-2003.1 9PKGNAMESUFFIX= 5 10 11PATCH_SITES= http://www.qhull.org/download/ 12PATCHFILES= poly.c-qh_gethash.patch 13PATCH_DIST_STRIP= -p2 14 15MAINTAINER= ports@MidnightBSD.org 16COMMENT= Qhull computes convex hulls, Delaunay triangulations and halfspaces 17LICENSE= other 18 19CONFLICTS= qhull-2011* afni-[0-9]* 20 21USES= libtool gmake 22USE_LDCONFIG= yes 23GNU_CONFIGURE= yes 24 25OPTIONS_DEFINE= DOCS 26 27.include <bsd.mport.options.mk> 28 29pre-configure: 30.if empty(PORT_OPTIONS:MDOCS) 31 @${REINPLACE_CMD} -e "s|src html eg config|src config|" \ 32 ${WRKSRC}/Makefile.in 33 @${REINPLACE_CMD} -e "s|install-docDATA install-examplesDATA||" \ 34 ${WRKSRC}/src/Makefile.in 35.endif 36 37.include <bsd.port.mk> 38