forked from Lainports/freebsd-ports
31 lines
717 B
Makefile
31 lines
717 B
Makefile
PORTNAME= igraph
|
|
DISTVERSION= 0.9.8
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
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
|
|
|
|
BINARY_ALIAS= git=false
|
|
|
|
pre-configure:
|
|
@${ECHO} ${DISTVERSION} > ${WRKSRC}/IGRAPH_VERSION
|
|
|
|
.include <bsd.port.mk>
|