a289f0dfc9
undirected and directed graphs. It includes implementations for classic graph theory problems like minimum spanning trees and network flow, and also implements algorithms for some recent network analysis methods, like community structure search. igraph contains functions for generating regular and random graphs, manipulating graphs, assigning attributes to vertices and edges. It can calculate various structural properties, includes heuristics for community structure detection, supports many file formats. WWW: http://cneurocvs.rmki.kfki.hu/igraph/ PR: ports/125534 Submitted by: Wen Heping <wenheping at gmail.com>
31 lines
730 B
Makefile
31 lines
730 B
Makefile
# New ports collection makefile for: igarph
|
|
# Date created: 07 July 2008
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= igraph
|
|
PORTVERSION= 0.5
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://cneurocvs.rmki.kfki.hu/igraph/download/
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= Package For Manipulating Undirected And Directed Graphs
|
|
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS+= --enable-gmp
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|