# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/math/cloog/Makefile 361151 2014-07-08 01:21:17Z danilo $

PORTNAME=	cloog
PORTVERSION=	0.18.1
PORTREVISION=	3
CATEGORIES=	math
MASTER_SITES=	http://www.bastoul.net/cloog/pages/download/

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Code generator in the polyhedral model

LICENSE=	LGPL21

LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
		libisl.so:${PORTSDIR}/devel/isl

PORTSCOUT=	ignore:0.18.2

USE_LDCONFIG=	yes
USES=		libtool
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-gmp-prefix=${LOCALBASE} --with-isl-prefix=${LOCALBASE}
CONFIGURE_ENV=	pkgconfig_libdir=${PREFIX}/libdata/pkgconfig/

.include <bsd.port.mk>
