aboutsummaryrefslogblamecommitdiff
path: root/math/igraph/Makefile
blob: 991293edf933b7f306ea9596398a1f16c654b6ec (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              

                      
                     
                    
 
                               

                                                                       

                     




                                                          
 
                                                     
                   
                       

                   
                                 
 
                         



                                                          





                                                                 
# 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.pre.mk>
.if ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300523
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-etc_cmake_compilers.cmake
.endif

.include <bsd.port.post.mk>