blob: 1db2002fbd7c65eb09ce9412e9fe061b8ad86329 (
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
|
PORTNAME= igraph
DISTVERSION= 0.10.12
CATEGORIES= math
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= wen@FreeBSD.org
COMMENT= Package For Manipulating Undirected And Directed Graphs
WWW= https://igraph.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
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 pathfix
USE_GNOME= libxml2
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= BUILD_TESTING
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True \
-DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex
pre-configure:
@${ECHO} ${DISTVERSION} > ${WRKSRC}/IGRAPH_VERSION
.include <bsd.port.mk>
|