1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/math/igraph/Makefile
Dmitry Marakasov dce86c70a9 - Switch to USES=libtool, drop .la files
Approved by:	portmgr blanket
2014-07-23 22:23:42 +00:00

36 lines
817 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= igraph
PORTVERSION= 0.5.4
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/C%20library/${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Package For Manipulating Undirected And Directed Graphs
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
GNU_CONFIGURE= yes
USE_GCC= any
USES= gmake libtool
USE_GNOME= libxml2
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.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64: uses i386 asm
.endif
.include <bsd.port.post.mk>