aboutsummaryrefslogtreecommitdiff
path: root/math/igraph/Makefile
blob: 01dec2f4391d4501694b944e7645478dd1359637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:	igarph
# Date created:				07 July 2008
# Whom:					Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	igraph
PORTVERSION=	0.5.2
PORTREVISION=	1
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.8:${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>