freebsd-ports/textproc/gmetadom/Makefile
Mark Linimon 7cf77d236e Reset yinjieh@csie.nctu.edu.tw due to lack of time to work on ports
right now, by request.

Hat:	portmgr
2008-12-25 03:13:51 +00:00

44 lines
1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: gmetadom
# Date created: Jul 10, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gmetadom
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}b
MAINTAINER= ports@FreeBSD.org
COMMENT= A Collection of DOM Implementations
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= gdome.8:${PORTSDIR}/textproc/gdome2
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= glib20 gnomehack libxml2
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
OPTIONS= OCAML "OCAML language support" off
.include <bsd.port.pre.mk>
.if defined(WITH_OCAML)
BUILD_DEPENDS+= ocamlfind:${PORTSDIR}/devel/ocaml-findlib \
ocamlc:${PORTSDIR}/lang/ocaml
PLIST_SUB+= WITH_OCAML=""
.else
PLIST_SUB+= WITH_OCAML="@comment "
.endif
.include <bsd.port.post.mk>