2004-04-29 00:27:59 +02:00
|
|
|
# New ports collection makefile for: qhull
|
|
|
|
# Date created: 3 March 2004
|
|
|
|
# Whom: pusto@web.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qhull
|
2011-10-03 06:20:28 +02:00
|
|
|
PORTVERSION= 2011.1
|
2004-04-29 00:27:59 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://www.qhull.org/download/
|
2011-10-03 06:20:28 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
EXTRACT_SUFX= .tgz
|
2004-04-29 00:27:59 +02:00
|
|
|
|
2011-06-14 09:38:51 +02:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2004-04-29 00:27:59 +02:00
|
|
|
COMMENT= Qhull computes convex hulls, Delaunay triangulations and halfspaces
|
|
|
|
|
2011-10-03 06:20:28 +02:00
|
|
|
USE_CMAKE= yes
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-10-03 06:20:28 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAN1= qhull.1 rbox.1
|
2004-04-29 00:27:59 +02:00
|
|
|
|
2012-06-05 17:58:21 +02:00
|
|
|
CONFLICTS= qhull-1.0* afni-[0-9]*
|
2011-10-03 06:20:28 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-04-29 00:27:59 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2011-10-03 06:20:28 +02:00
|
|
|
${REINPLACE_CMD} -e 's#share/doc/packages#share/doc#g' \
|
|
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.else
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt
|
2004-04-29 00:27:59 +02:00
|
|
|
.endif
|
|
|
|
|
2011-10-03 06:20:28 +02:00
|
|
|
post-install:
|
|
|
|
${LN} -sf ${PREFIX}/lib/libqhull6.so.6.2.0.1385 \
|
|
|
|
${PREFIX}/lib/libqhull6.so.6
|
2004-04-29 00:27:59 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|