aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ocaml-lablgtk2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/ocaml-lablgtk2/Makefile')
-rw-r--r--x11-toolkits/ocaml-lablgtk2/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/x11-toolkits/ocaml-lablgtk2/Makefile b/x11-toolkits/ocaml-lablgtk2/Makefile
index 6a07a365a647..fc389856ec6d 100644
--- a/x11-toolkits/ocaml-lablgtk2/Makefile
+++ b/x11-toolkits/ocaml-lablgtk2/Makefile
@@ -2,7 +2,7 @@
PORTNAME= lablgtk2
PORTVERSION= 2.18.11
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits
PKGNAMEPREFIX= ocaml-
@@ -32,7 +32,7 @@ PORTSCOUT= limit:^${PORTVERSION:R:R}
CONFIGURE_ARGS= --prefix=${PREFIX} --with-libdir=${PREFIX}/${OCAML_LIBDIR} \
--without-gtksourceview --without-gnomeui \
- --without-panel --without-glade --without-gnomecanvas
+ --without-panel --without-gnomecanvas
CONFIGURE_ENV= CAMLP4O="camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo"
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
@@ -40,14 +40,18 @@ PORTDOCS= COPYING README
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EXAMPLES GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2
-OPTIONS_DEFAULT= GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2
+OPTIONS_DEFINE= DOCS EXAMPLES GLADE GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2
+OPTIONS_DEFAULT= GLADE GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2
OPTIONS_SUB= yes
GTKGLAREA_DESC= GtkGLArea support
GTKSOURCEVIEW2_DESC= GtkSourceView 2 support
GTKSPELL_DESC= GtkSpell support
+GLADE_CONFIGURE_WITH=glade
+GLADE_USE= GNOME=libglade2
+GLADE_VARS= EXAMPLES_SUBDIRS+=glade
+
GTKGLAREA_BUILD_DEPENDS=lablgl:graphics/ocaml-lablgl
GTKGLAREA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2
GTKGLAREA_RUN_DEPENDS= lablgl:graphics/ocaml-lablgl