aboutsummaryrefslogtreecommitdiff
path: root/math/igraph/Makefile
blob: 49082e25580114f165783ca71c92d5135048ca11 (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
# Created by: Wen Heping <wenheping@gmail.com>

PORTNAME=	igraph
PORTVERSION=	0.9.5
CATEGORIES=	math

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Package For Manipulating Undirected And Directed Graphs

LICENSE=	GPLv2

LIB_DEPENDS=	libarpack.so:math/arpack-ng \
		libcxsparse.so:math/suitesparse-cxsparse \
		libglpk.so:math/glpk \
		libgmp.so:math/gmp \
		libopenblas.so:math/openblas

USES=		bison cmake cpe gnome libtool pathfix
USE_GITHUB=	yes
USE_GNOME=	libxml2
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS

BINARY_ALIAS=	git=false

pre-configure:
	@${ECHO} ${PORTVERSION} > ${WRKSRC}/IGRAPH_VERSION

.include <bsd.port.mk>