aboutsummaryrefslogtreecommitdiff
path: root/textproc/gmetadom/Makefile
blob: c17b6e417a3f145e57c9b3e38346448c854c25df (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	gmetadom
PORTVERSION=	0.2.6
PORTREVISION=	5
CATEGORIES=	textproc
MASTER_SITES=	SF

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

LIB_DEPENDS=	libgdome.so:textproc/gdome2

USES=		compiler:c++11-lang gmake gnome iconv libtool localbase \
		pathfix pkgconfig
USE_GNOME=	glib20 libxml2
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	OCAML
OPTIONS_SUB=	yes

OCAML_DESC=	OCAML language support

OCAML_BUILD_DEPENDS=	ocamlfind:devel/ocaml-findlib \
			ocamlc:lang/ocaml
OCAML_CONFIGURE_OFF=	HAVE_OCAMLDEP=no HAVE_OCAMLFIND=no HAVE_OCAMLOPT=no

post-patch:
	@${REINPLACE_CMD} -e 's/-lstdc++//g' \
		${WRKSRC}/src/gdome_cpp_smart/Makefile.in \
		${WRKSRC}/src/gdome_cpp_smart/test/Makefile.in

.include <bsd.port.mk>