blob: 0a1823becc471089eba1b19ef00f59eec8ec5fca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: qhull
# Date created: 3 March 2004
# Whom: pusto@web.de
#
# $FreeBSD$
PORTNAME= qhull
PORTVERSION= 2011.1
CATEGORIES= math
MASTER_SITES= http://www.qhull.org/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= stephen@FreeBSD.org
COMMENT= Qhull computes convex hulls, Delaunay triangulations and halfspaces
USE_CMAKE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= qhull.1 rbox.1
CONFLICTS= qhull-1.0*
post-patch:
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's#share/doc/packages#share/doc#g' \
${WRKSRC}/CMakeLists.txt
.else
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt
.endif
post-install:
${LN} -sf ${PREFIX}/lib/libqhull6.so.6.2.0.1385 \
${PREFIX}/lib/libqhull6.so.6
.include <bsd.port.mk>
|