mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
597afc47ba
With hat: portmgr Sponsored by: Absolight
38 lines
838 B
Makefile
38 lines
838 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gmetadom
|
|
PORTVERSION= 0.2.6
|
|
PORTREVISION= 4
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Collection of DOM Implementations
|
|
|
|
LIB_DEPENDS= libgdome.so:textproc/gdome2
|
|
|
|
USES= gmake iconv libtool pathfix pkgconfig
|
|
USE_GNOME= glib20 libxml2
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
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>
|