blob: 3a3d96207c96c786d5138adaee85482eadc98622 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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= yinjieh@csie.nctu.edu.tw
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_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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>
|