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

PORTNAME=   qhull
PORTVERSION=    1.0
PORTREVISION=   3
CATEGORIES= math
MASTER_SITES=   http://www.qhull.org/download/
DISTNAME=   ${PORTNAME}-2003.1
PKGNAMESUFFIX=  5

PATCH_SITES=        http://www.qhull.org/download/
PATCHFILES=     poly.c-qh_gethash.patch
PATCH_DIST_STRIP=   -p2

MAINTAINER= stephen@FreeBSD.org
COMMENT=    Qhull computes convex hulls, Delaunay triangulations, and halfspaces

CONFLICTS=  qhull-2011* afni-[0-9]*

USES=       libtool gmake
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

pre-configure:
.if empty(PORT_OPTIONS:MDOCS)
    @${REINPLACE_CMD} -e "s|src html eg config|src config|"     \
        ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e "s|install-docDATA install-examplesDATA||" \
        ${WRKSRC}/src/Makefile.in
.endif

.include <bsd.port.mk>