# New ports collection makefile for:   libIDL
# Date Created:			12 February 2002
# Whom:				Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/devel/libIDL/Makefile,v 1.18 2003/03/07 06:00:36 ade Exp $
#

PORTNAME=	libIDL
PORTVERSION=	0.8.0
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.8
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A library for creating trees of CORBA Interface Definition Language files

LIB_DEPENDS=	glib-2.0.200:${PORTSDIR}/devel/glib20

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_BISON=	yes
USE_GNOMENG=	yes
USE_GNOME=	gnomehack
USE_REINPLACE=	yes
INSTALLS_SHLIB=	yes
USE_LIBTOOL=	yes
CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

.include <bsd.port.mk>
