aboutsummaryrefslogtreecommitdiff
path: root/math/adol-c/Makefile
blob: 5487f77f945c92c06934e500c9f4a02d513ebd3b (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
PORTNAME=	adol-c
DISTVERSION=	2.7.2
CATEGORIES=	math
MASTER_SITES=	https://www.coin-or.org/download/source/${PORTNAME:tu}/
DISTNAME=	${PORTNAME:tu}-${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Automatic differentiation library

LICENSE=	EPL
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	bash:shells/bash
LIB_DEPENDS=	libboost_system.so:devel/boost-libs

USES=		compiler:c++11-lang gmake libtool tar:tgz
GNU_CONFIGURE=	yes
CONFIGURE_SHELL=	${LOCALBASE}/bin/bash
USE_LDCONFIG=	yes

OPTIONS_DEFINE=			SPARSE # also uses AMPI, a seemingly obscure MPI implementation
OPTIONS_SUB=			yes

SPARSE_DESC=			Build sparse drivers
SPARSE_CONFIGURE_ENABLE=	sparse

.include <bsd.port.mk>