2013-09-20 20:55:04 +00:00
|
|
|
# Created by: Wen Heping <wenheping@gmail.com>
|
2008-07-18 12:36:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= igraph
|
2010-11-08 07:18:52 +00:00
|
|
|
PORTVERSION= 0.5.4
|
2008-07-18 12:36:04 +00:00
|
|
|
CATEGORIES= math
|
2010-11-08 07:18:52 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/C%20library/${PORTVERSION}
|
2008-07-18 12:36:04 +00:00
|
|
|
|
2010-11-08 07:18:52 +00:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2008-07-18 12:36:04 +00:00
|
|
|
COMMENT= Package For Manipulating Undirected And Directed Graphs
|
|
|
|
|
2010-05-02 03:04:57 +00:00
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
|
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2
|
2008-07-18 12:36:04 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2012-10-09 22:12:13 +00:00
|
|
|
USE_GCC= any
|
2008-07-18 12:36:04 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-gmp
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2013-09-20 20:55:04 +00:00
|
|
|
NO_STAGE= yes
|
2008-07-18 12:36:04 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2009-05-29 04:28:20 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on sparc64: uses i386 asm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|