# ex:ts=8
# Ports collection makefile for:	gmetadom
# Date created:			Jul 10, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/textproc/gmetadom/Makefile,v 1.7 2003/05/19 00:32:09 petef Exp $
#

PORTNAME=	gmetadom
PORTVERSION=	0.1.7
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Collection of DOM Implementations

BUILD_DEPENDS=	ocamlfind:${PORTSDIR}/devel/ocaml-findlib \
		pkg-config:${PORTSDIR}/devel/pkgconfig \
		ocamlc:${PORTSDIR}/lang/ocaml
LIB_DEPENDS=	gdome.7:${PORTSDIR}/textproc/gdome2
RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig

USE_GNOME=	glib12 gnomehack libxslt
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	yes

.include <bsd.port.mk>
