# New ports collection makefile for: libFIRM
# Date created:         22 Nov 2008
# Whom:                 Christoph Mallon <christoph.mallon@gmx.de>
#
# $FreeBSD: ports/devel/libfirm/Makefile,v 1.2 2008/12/02 01:21:33 wxs Exp $
#

PORTNAME=	libfirm
PORTVERSION=	1.15.0
CATEGORIES=	devel lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	christoph.mallon@gmx.de
COMMENT=	A graph-based SSA intermediate representation library for compilers

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack pkgconfig
USE_LDCONFIG=	yes

OPTIONS=	DEBUG "Build a debug version of libFIRM" OFF

.include <bsd.port.pre.mk>

.ifdef WITH_DEBUG
CONFIGURE_ARGS+=	--enable-debug
.endif

.include <bsd.port.post.mk>
