aboutsummaryrefslogtreecommitdiffstats
path: root/math/qhull/Makefile
blob: 207e7350cecbe813d9bc6896a674a00c67b3fe04 (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
# 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-*

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.options.mk>

.if empty(PORT_OPTIONS:MDOCS)
EXTRA_PATCHES=  ${PATCHDIR}/extra-patch-CMakeLists.txt
.endif

.include <bsd.port.mk>