aboutsummaryrefslogtreecommitdiffstats
path: root/math/lrslib/Makefile
blob: 3bcf223326e1fb6702b60ed27423ef8eb6122130 (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
# $FreeBSD$

PORTNAME=   lrslib
DISTVERSIONPREFIX=  ${PORTNAME}-
DISTVERSION=    062
DISTVERSIONSUFFIX=  +autotools-2017-03-03
PORTREVISION=   1
CATEGORIES= math

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Reverse search algorithm for vertex enumeration/convex hull problems

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libboost_system.so:devel/boost-libs \
        libgmp.so:math/gmp \
        libmpi.so:net/mpich

USES=       autoreconf fortran gmake libtool localbase:ldflags # fortran because it's built with mpic++
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-static
USE_GITHUB= yes
GH_ACCOUNT= mkoeppe
USE_LDCONFIG=   yes

LDFLAGS+=   -lthr

post-stage:
    @${RM} -r ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>