summaryrefslogtreecommitdiff
path: root/math/4ti2/Makefile
blob: 1de8b4ef38c48f13ff63624b1f2bf146c97db590 (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
PORTNAME=	4ti2
DISTVERSIONPREFIX=	Release_
DISTVERSION=	1_6_10
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Solve algebraic, geometric, combinatorial problems on linear spaces
WWW=		https://4ti2.github.io/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libglpk.so:math/glpk \
		libgmp.so:math/gmp

USES=		autoreconf compiler:c++11-lang gmake libtool
USE_GITHUB=	yes
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static --enable-shared --with-glpk=${LOCALBASE} --with-gmp=${LOCALBASE}

INSTALL_TARGET=	install-strip

TEST_TARGET=	check # tests fail to run: https://github.com/4ti2/4ti2/issues/26

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>