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

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

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

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

USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

.if !defined(NOPORTDOCS)
MAN1=       qhull.1 rbox.1
.endif

NO_STAGE=   yes
pre-configure:
.if defined(NOPORTDOCS)
    @${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>