Lines 1-13
Link Here
|
1 |
# Created by: Wen Heping <wenheping@gmail.com> |
1 |
# Created by: Wen Heping <wenheping@gmail.com> |
2 |
|
2 |
|
3 |
PORTNAME= igraph |
3 |
PORTNAME= igraph |
4 |
PORTVERSION= 0.9.6 |
4 |
DISTVERSION= 0.9.6 |
5 |
CATEGORIES= math |
5 |
CATEGORIES= math |
|
|
6 |
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ |
6 |
|
7 |
|
7 |
MAINTAINER= wen@FreeBSD.org |
8 |
MAINTAINER= wen@FreeBSD.org |
8 |
COMMENT= Package For Manipulating Undirected And Directed Graphs |
9 |
COMMENT= Package For Manipulating Undirected And Directed Graphs |
9 |
|
10 |
|
10 |
LICENSE= GPLv2 |
11 |
LICENSE= GPLv2 |
|
|
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
|
13 |
|
12 |
LIB_DEPENDS= libarpack.so:math/arpack-ng \ |
14 |
LIB_DEPENDS= libarpack.so:math/arpack-ng \ |
13 |
libcxsparse.so:math/suitesparse-cxsparse \ |
15 |
libcxsparse.so:math/suitesparse-cxsparse \ |
Lines 15-22
LIB_DEPENDS= libarpack.so:math/arpack-ng \
Link Here
|
15 |
libgmp.so:math/gmp \ |
17 |
libgmp.so:math/gmp \ |
16 |
libopenblas.so:math/openblas |
18 |
libopenblas.so:math/openblas |
17 |
|
19 |
|
18 |
USES= bison cmake cpe gnome libtool pathfix |
20 |
USES= bison cmake cpe gnome pathfix |
19 |
USE_GITHUB= yes |
|
|
20 |
USE_GNOME= libxml2 |
21 |
USE_GNOME= libxml2 |
21 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
22 |
|
23 |
|
Lines 25-31
CMAKE_ON= BUILD_SHARED_LIBS
Link Here
|
25 |
BINARY_ALIAS= git=false |
26 |
BINARY_ALIAS= git=false |
26 |
|
27 |
|
27 |
pre-configure: |
28 |
pre-configure: |
28 |
@${ECHO} ${PORTVERSION} > ${WRKSRC}/IGRAPH_VERSION |
29 |
@${ECHO} ${DISTVERSION} > ${WRKSRC}/IGRAPH_VERSION |
29 |
|
30 |
|
30 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.pre.mk> |
31 |
.if (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300523) || \ |
32 |
.if (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300523) || \ |