aboutsummaryrefslogtreecommitdiffstats
path: root/math/qhull/Makefile
blob: a3f4fe8542c25bc4da799df57c32329d416c71b3 (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
# Created by: pusto@web.de
# $FreeBSD$

PORTNAME=   qhull
PORTVERSION=    2012.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

USES=       cmake
USE_LDCONFIG=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

CONFLICTS=  qhull-1.0* afni-[0-9]* qhull5-*

post-patch:
    ${REINPLACE_CMD} -e 's#share/man/man#man/man#g' \
        ${WRKSRC}/CMakeLists.txt

.if defined(NOPORTDOCS)
EXTRA_PATCHES=  ${PATCHDIR}/extra-patch-CMakeLists.txt
.endif

.include <bsd.port.mk>