summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2014-10-10 08:37:49 +0000
committerjaapb <jaapb@pkgsrc.org>2014-10-10 08:37:49 +0000
commit91895dc266482a97ecb5f61745c20115639c92c8 (patch)
tree317d692275218dd163477b4f044747895031cd8b
parent87b8ac73f46b340fc53006afc501fdc7c44ac7e8 (diff)
downloadpkgsrc-91895dc266482a97ecb5f61745c20115639c92c8.tar.gz
Re-imported x11/lablgtk as x11/ocaml-lablgtk to better reflect PKGNAME
-rw-r--r--x11/ocaml-lablgtk/DESCR7
-rw-r--r--x11/ocaml-lablgtk/Makefile47
-rw-r--r--x11/ocaml-lablgtk/PLIST353
-rw-r--r--x11/ocaml-lablgtk/PLIST.glade11
-rw-r--r--x11/ocaml-lablgtk/PLIST.gnome14
-rw-r--r--x11/ocaml-lablgtk/PLIST.gnomecanvas23
-rw-r--r--x11/ocaml-lablgtk/PLIST.gtksourceview17
-rw-r--r--x11/ocaml-lablgtk/PLIST.gtksourceview217
-rw-r--r--x11/ocaml-lablgtk/PLIST.gtkspell10
-rw-r--r--x11/ocaml-lablgtk/PLIST.svg10
-rw-r--r--x11/ocaml-lablgtk/buildlink3.mk22
-rw-r--r--x11/ocaml-lablgtk/distinfo6
-rw-r--r--x11/ocaml-lablgtk/options.mk63
-rw-r--r--x11/ocaml-lablgtk/patches/patch-src_Makefile18
14 files changed, 618 insertions, 0 deletions
diff --git a/x11/ocaml-lablgtk/DESCR b/x11/ocaml-lablgtk/DESCR
new file mode 100644
index 00000000000..55949171b60
--- /dev/null
+++ b/x11/ocaml-lablgtk/DESCR
@@ -0,0 +1,7 @@
+LablGTK is an Objective Caml interface to GTK+. This version
+supports GTK+ from 2.0 to 2.10.
+
+It uses the rich type system of Objective Caml 3 to provide a
+strongly typed, yet very comfortable, object-oriented interface to
+GTK+. This is not that easy if you know the dynamic typing approach
+taken by GTK+.
diff --git a/x11/ocaml-lablgtk/Makefile b/x11/ocaml-lablgtk/Makefile
new file mode 100644
index 00000000000..99bca00039e
--- /dev/null
+++ b/x11/ocaml-lablgtk/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+#
+
+DISTNAME= lablgtk-2.18.2
+CATEGORIES= x11
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1456/
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= http://lablgtk.forge.ocamlcore.org/
+COMMENT= GTK+ 2.x bindings for Objective Caml
+# for installed files; more restrictions on applications/
+LICENSE= gnu-lgpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config
+OCAML_USE_FINDLIB= yes
+
+MAKE_JOBS_SAFE= no
+BUILD_TARGET= world
+
+BUILDLINK_DEPMETHOD.ocaml= full
+
+CONFLICTS= lablgtk-[0-9]*
+SUPERSEDES= lablgtk-[0-9]*
+
+.include "../../mk/bsd.prefs.mk"
+
+# Stub libraries for functions missing from base system.
+PLIST_VARS+= stubs opt
+
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || \
+ ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
+ ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
+PLIST.stubs= yes
+.endif
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+PLIST.opt= yes
+.endif
+
+.include "options.mk"
+
+.include "../../lang/camlp4/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/ocaml-lablgtk/PLIST b/x11/ocaml-lablgtk/PLIST
new file mode 100644
index 00000000000..eb7b92c4368
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST
@@ -0,0 +1,353 @@
+@comment $NetBSD: PLIST,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+bin/gdk_pixbuf_mlsource
+bin/lablgtk2
+lib/ocaml/site-lib/lablgtk2/META
+lib/ocaml/site-lib/lablgtk2/build.ml
+lib/ocaml/site-lib/lablgtk2/gAction.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gAction.cmx
+lib/ocaml/site-lib/lablgtk2/gAction.ml
+lib/ocaml/site-lib/lablgtk2/gAction.mli
+lib/ocaml/site-lib/lablgtk2/gAssistant.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gAssistant.cmx
+lib/ocaml/site-lib/lablgtk2/gAssistant.ml
+lib/ocaml/site-lib/lablgtk2/gAssistant.mli
+lib/ocaml/site-lib/lablgtk2/gBin.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gBin.cmx
+lib/ocaml/site-lib/lablgtk2/gBin.ml
+lib/ocaml/site-lib/lablgtk2/gBin.mli
+lib/ocaml/site-lib/lablgtk2/gBroken.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gBroken.cmx
+lib/ocaml/site-lib/lablgtk2/gBroken.ml
+lib/ocaml/site-lib/lablgtk2/gBroken.mli
+lib/ocaml/site-lib/lablgtk2/gButton.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gButton.cmx
+lib/ocaml/site-lib/lablgtk2/gButton.ml
+lib/ocaml/site-lib/lablgtk2/gButton.mli
+lib/ocaml/site-lib/lablgtk2/gContainer.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gContainer.cmx
+lib/ocaml/site-lib/lablgtk2/gContainer.ml
+lib/ocaml/site-lib/lablgtk2/gContainer.mli
+lib/ocaml/site-lib/lablgtk2/gData.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gData.cmx
+lib/ocaml/site-lib/lablgtk2/gData.ml
+lib/ocaml/site-lib/lablgtk2/gData.mli
+lib/ocaml/site-lib/lablgtk2/gDraw.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gDraw.cmx
+lib/ocaml/site-lib/lablgtk2/gDraw.ml
+lib/ocaml/site-lib/lablgtk2/gDraw.mli
+lib/ocaml/site-lib/lablgtk2/gEdit.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gEdit.cmx
+lib/ocaml/site-lib/lablgtk2/gEdit.ml
+lib/ocaml/site-lib/lablgtk2/gEdit.mli
+lib/ocaml/site-lib/lablgtk2/gFile.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gFile.cmx
+lib/ocaml/site-lib/lablgtk2/gFile.ml
+lib/ocaml/site-lib/lablgtk2/gFile.mli
+lib/ocaml/site-lib/lablgtk2/gList.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gList.cmx
+lib/ocaml/site-lib/lablgtk2/gList.ml
+lib/ocaml/site-lib/lablgtk2/gList.mli
+lib/ocaml/site-lib/lablgtk2/gMain.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gMain.cmx
+lib/ocaml/site-lib/lablgtk2/gMain.ml
+lib/ocaml/site-lib/lablgtk2/gMain.mli
+lib/ocaml/site-lib/lablgtk2/gMenu.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gMenu.cmx
+lib/ocaml/site-lib/lablgtk2/gMenu.ml
+lib/ocaml/site-lib/lablgtk2/gMenu.mli
+lib/ocaml/site-lib/lablgtk2/gMisc.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gMisc.cmx
+lib/ocaml/site-lib/lablgtk2/gMisc.ml
+lib/ocaml/site-lib/lablgtk2/gMisc.mli
+lib/ocaml/site-lib/lablgtk2/gObj.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gObj.cmx
+lib/ocaml/site-lib/lablgtk2/gObj.ml
+lib/ocaml/site-lib/lablgtk2/gObj.mli
+lib/ocaml/site-lib/lablgtk2/gPack.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gPack.cmx
+lib/ocaml/site-lib/lablgtk2/gPack.ml
+lib/ocaml/site-lib/lablgtk2/gPack.mli
+lib/ocaml/site-lib/lablgtk2/gPango.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gPango.cmx
+lib/ocaml/site-lib/lablgtk2/gPango.ml
+lib/ocaml/site-lib/lablgtk2/gRange.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gRange.cmx
+lib/ocaml/site-lib/lablgtk2/gRange.ml
+lib/ocaml/site-lib/lablgtk2/gRange.mli
+lib/ocaml/site-lib/lablgtk2/gSourceView.mli
+lib/ocaml/site-lib/lablgtk2/gSourceView2.mli
+lib/ocaml/site-lib/lablgtk2/gText.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gText.cmx
+lib/ocaml/site-lib/lablgtk2/gText.ml
+lib/ocaml/site-lib/lablgtk2/gText.mli
+lib/ocaml/site-lib/lablgtk2/gToolbox.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gToolbox.cmx
+lib/ocaml/site-lib/lablgtk2/gToolbox.ml
+lib/ocaml/site-lib/lablgtk2/gToolbox.mli
+lib/ocaml/site-lib/lablgtk2/gTree.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gTree.cmx
+lib/ocaml/site-lib/lablgtk2/gTree.ml
+lib/ocaml/site-lib/lablgtk2/gTree.mli
+lib/ocaml/site-lib/lablgtk2/gUtil.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gUtil.cmx
+lib/ocaml/site-lib/lablgtk2/gUtil.ml
+lib/ocaml/site-lib/lablgtk2/gUtil.mli
+lib/ocaml/site-lib/lablgtk2/gWindow.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gWindow.cmx
+lib/ocaml/site-lib/lablgtk2/gWindow.ml
+lib/ocaml/site-lib/lablgtk2/gWindow.mli
+lib/ocaml/site-lib/lablgtk2/gaux.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gaux.cmx
+lib/ocaml/site-lib/lablgtk2/gaux.ml
+lib/ocaml/site-lib/lablgtk2/gdk.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gdk.cmx
+lib/ocaml/site-lib/lablgtk2/gdk.ml
+lib/ocaml/site-lib/lablgtk2/gdk.mli
+lib/ocaml/site-lib/lablgtk2/gdkEnums.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gdkEnums.cmx
+lib/ocaml/site-lib/lablgtk2/gdkEnums.ml
+lib/ocaml/site-lib/lablgtk2/gdkEvent.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gdkEvent.cmx
+lib/ocaml/site-lib/lablgtk2/gdkEvent.ml
+lib/ocaml/site-lib/lablgtk2/gdkKeysyms.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gdkKeysyms.cmx
+lib/ocaml/site-lib/lablgtk2/gdkKeysyms.ml
+lib/ocaml/site-lib/lablgtk2/gdkPixbuf.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gdkPixbuf.cmx
+lib/ocaml/site-lib/lablgtk2/gdkPixbuf.ml
+lib/ocaml/site-lib/lablgtk2/gdkPixbuf.mli
+lib/ocaml/site-lib/lablgtk2/gdk_tags.h
+lib/ocaml/site-lib/lablgtk2/gdkpixbuf_tags.h
+lib/ocaml/site-lib/lablgtk2/gdkprivate-win32.h
+lib/ocaml/site-lib/lablgtk2/glGtk.mli
+lib/ocaml/site-lib/lablgtk2/glade.mli
+lib/ocaml/site-lib/lablgtk2/glib.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/glib.cmx
+lib/ocaml/site-lib/lablgtk2/glib.ml
+lib/ocaml/site-lib/lablgtk2/glib.mli
+lib/ocaml/site-lib/lablgtk2/glib_tags.h
+lib/ocaml/site-lib/lablgtk2/gnoCanvas.mli
+lib/ocaml/site-lib/lablgtk2/gnoDruid.mli
+lib/ocaml/site-lib/lablgtk2/gobject.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gobject.cmx
+lib/ocaml/site-lib/lablgtk2/gobject.ml
+lib/ocaml/site-lib/lablgtk2/gobject.mli
+lib/ocaml/site-lib/lablgtk2/gobject_tags.h
+lib/ocaml/site-lib/lablgtk2/gpointer.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gpointer.cmx
+lib/ocaml/site-lib/lablgtk2/gpointer.ml
+lib/ocaml/site-lib/lablgtk2/gpointer.mli
+lib/ocaml/site-lib/lablgtk2/gtk.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtk.cmx
+lib/ocaml/site-lib/lablgtk2/gtk.ml
+lib/ocaml/site-lib/lablgtk2/gtkActionProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkActionProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkActionProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkAssistant.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkAssistant.cmx
+lib/ocaml/site-lib/lablgtk2/gtkAssistant.ml
+lib/ocaml/site-lib/lablgtk2/gtkAssistantProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkAssistantProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkAssistantProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkBase.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkBase.cmx
+lib/ocaml/site-lib/lablgtk2/gtkBase.ml
+lib/ocaml/site-lib/lablgtk2/gtkBaseProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkBaseProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkBaseProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkBin.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkBin.cmx
+lib/ocaml/site-lib/lablgtk2/gtkBin.ml
+lib/ocaml/site-lib/lablgtk2/gtkBinProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkBinProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkBinProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkBroken.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkBroken.cmx
+lib/ocaml/site-lib/lablgtk2/gtkBroken.ml
+lib/ocaml/site-lib/lablgtk2/gtkBrokenProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkBrokenProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkBrokenProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkButton.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkButton.cmx
+lib/ocaml/site-lib/lablgtk2/gtkButton.ml
+lib/ocaml/site-lib/lablgtk2/gtkButtonProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkButtonProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkButtonProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkData.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkData.cmx
+lib/ocaml/site-lib/lablgtk2/gtkData.ml
+lib/ocaml/site-lib/lablgtk2/gtkEdit.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkEdit.cmx
+lib/ocaml/site-lib/lablgtk2/gtkEdit.ml
+lib/ocaml/site-lib/lablgtk2/gtkEditProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkEditProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkEditProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkEnums.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkEnums.cmx
+lib/ocaml/site-lib/lablgtk2/gtkEnums.ml
+lib/ocaml/site-lib/lablgtk2/gtkFile.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkFile.cmx
+lib/ocaml/site-lib/lablgtk2/gtkFile.ml
+lib/ocaml/site-lib/lablgtk2/gtkFileProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkFileProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkFileProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkInit.cmi
+lib/ocaml/site-lib/lablgtk2/gtkInit.cmo
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkInit.cmx
+lib/ocaml/site-lib/lablgtk2/gtkInit.ml
+lib/ocaml/site-lib/lablgtk2/gtkInit.o
+lib/ocaml/site-lib/lablgtk2/gtkList.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkList.cmx
+lib/ocaml/site-lib/lablgtk2/gtkList.ml
+lib/ocaml/site-lib/lablgtk2/gtkListProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkListProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkListProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkMain.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkMain.cmx
+lib/ocaml/site-lib/lablgtk2/gtkMain.ml
+lib/ocaml/site-lib/lablgtk2/gtkMenu.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkMenu.cmx
+lib/ocaml/site-lib/lablgtk2/gtkMenu.ml
+lib/ocaml/site-lib/lablgtk2/gtkMenuProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkMenuProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkMenuProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkMisc.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkMisc.cmx
+lib/ocaml/site-lib/lablgtk2/gtkMisc.ml
+lib/ocaml/site-lib/lablgtk2/gtkMiscProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkMiscProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkMiscProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkObject.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkObject.cmx
+lib/ocaml/site-lib/lablgtk2/gtkObject.ml
+lib/ocaml/site-lib/lablgtk2/gtkPack.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkPack.cmx
+lib/ocaml/site-lib/lablgtk2/gtkPack.ml
+lib/ocaml/site-lib/lablgtk2/gtkPackProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkPackProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkPackProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkRange.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkRange.cmx
+lib/ocaml/site-lib/lablgtk2/gtkRange.ml
+lib/ocaml/site-lib/lablgtk2/gtkRangeProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkRangeProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkRangeProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkSignal.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkSignal.cmx
+lib/ocaml/site-lib/lablgtk2/gtkSignal.ml
+lib/ocaml/site-lib/lablgtk2/gtkSignal.mli
+lib/ocaml/site-lib/lablgtk2/gtkSourceView2_types.mli
+lib/ocaml/site-lib/lablgtk2/gtkSourceView_types.mli
+lib/ocaml/site-lib/lablgtk2/gtkSpell.mli
+lib/ocaml/site-lib/lablgtk2/gtkStock.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkStock.cmx
+lib/ocaml/site-lib/lablgtk2/gtkStock.ml
+lib/ocaml/site-lib/lablgtk2/gtkText.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkText.cmx
+lib/ocaml/site-lib/lablgtk2/gtkText.ml
+lib/ocaml/site-lib/lablgtk2/gtkTextProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkTextProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkTextProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkThInit.cmi
+lib/ocaml/site-lib/lablgtk2/gtkThInit.cmo
+lib/ocaml/site-lib/lablgtk2/gtkThInit.ml
+lib/ocaml/site-lib/lablgtk2/gtkThread.cmi
+lib/ocaml/site-lib/lablgtk2/gtkThread.cmo
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkThread.cmx
+lib/ocaml/site-lib/lablgtk2/gtkThread.ml
+lib/ocaml/site-lib/lablgtk2/gtkThread.mli
+lib/ocaml/site-lib/lablgtk2/gtkThread.o
+lib/ocaml/site-lib/lablgtk2/gtkTree.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkTree.cmx
+lib/ocaml/site-lib/lablgtk2/gtkTree.ml
+lib/ocaml/site-lib/lablgtk2/gtkTreeProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkTreeProps.cmx
+lib/ocaml/site-lib/lablgtk2/gtkTreeProps.ml
+lib/ocaml/site-lib/lablgtk2/gtkWindow.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkWindow.cmx
+lib/ocaml/site-lib/lablgtk2/gtkWindow.ml
+lib/ocaml/site-lib/lablgtk2/gtk_tags.h
+lib/ocaml/site-lib/lablgtk2/gutf8.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gutf8.cmx
+lib/ocaml/site-lib/lablgtk2/gutf8.ml
+lib/ocaml/site-lib/lablgtk2/gutf8.mli
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtk.a
+lib/ocaml/site-lib/lablgtk2/lablgtk.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtk.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtk.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablgtk2.a
+lib/ocaml/site-lib/lablgtk2/ml_domain.h
+lib/ocaml/site-lib/lablgtk2/ml_gdk.h
+lib/ocaml/site-lib/lablgtk2/ml_gdkpixbuf.h
+lib/ocaml/site-lib/lablgtk2/ml_glib.h
+lib/ocaml/site-lib/lablgtk2/ml_gobject.h
+lib/ocaml/site-lib/lablgtk2/ml_gpointer.h
+lib/ocaml/site-lib/lablgtk2/ml_gtk.h
+lib/ocaml/site-lib/lablgtk2/ml_gtktext.h
+lib/ocaml/site-lib/lablgtk2/ml_gtktree.h
+lib/ocaml/site-lib/lablgtk2/ml_gvaluecaml.h
+lib/ocaml/site-lib/lablgtk2/ml_pango.h
+lib/ocaml/site-lib/lablgtk2/ogtkActionProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkActionProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkActionProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkAssistantProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkAssistantProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkAssistantProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkBaseProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkBaseProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkBaseProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkBinProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkBinProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkBinProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkBrokenProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkBrokenProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkBrokenProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkButtonProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkButtonProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkButtonProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkEditProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkEditProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkEditProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkFileProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkFileProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkFileProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkListProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkListProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkListProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkMenuProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkMenuProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkMenuProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkMiscProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkMiscProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkMiscProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkPackProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkPackProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkPackProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkRangeProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkRangeProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkRangeProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkTextProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkTextProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkTextProps.ml
+lib/ocaml/site-lib/lablgtk2/ogtkTreeProps.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/ogtkTreeProps.cmx
+lib/ocaml/site-lib/lablgtk2/ogtkTreeProps.ml
+lib/ocaml/site-lib/lablgtk2/panel.mli
+lib/ocaml/site-lib/lablgtk2/pango.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/pango.cmx
+lib/ocaml/site-lib/lablgtk2/pango.ml
+lib/ocaml/site-lib/lablgtk2/pangoEnums.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/pangoEnums.cmx
+lib/ocaml/site-lib/lablgtk2/pangoEnums.ml
+lib/ocaml/site-lib/lablgtk2/pango_tags.h
+lib/ocaml/site-lib/lablgtk2/propcc
+lib/ocaml/site-lib/lablgtk2/rsvg.mli
+lib/ocaml/site-lib/lablgtk2/varcc
+lib/ocaml/site-lib/lablgtk2/win32.h
+lib/ocaml/site-lib/lablgtk2/wrappers.h
+lib/ocaml/site-lib/lablgtk2/xml_lexer.mli
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablgtk2.so
+@comment in ocaml: lib/ocaml/stublibs
+@comment in ocaml: lib/ocaml
+@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/lablgtk2
+@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/lablgtk2
diff --git a/x11/ocaml-lablgtk/PLIST.glade b/x11/ocaml-lablgtk/PLIST.glade
new file mode 100644
index 00000000000..6a7581cf2f4
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.glade
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST.glade,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+bin/lablgladecc2
+lib/ocaml/site-lib/lablgtk2/glade.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/glade.cmx
+lib/ocaml/site-lib/lablgtk2/glade.ml
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablglade.a
+lib/ocaml/site-lib/lablgtk2/lablglade.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablglade.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablglade.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablglade2.a
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablglade2.so
diff --git a/x11/ocaml-lablgtk/PLIST.gnome b/x11/ocaml-lablgtk/PLIST.gnome
new file mode 100644
index 00000000000..2b6c71e07c0
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.gnome
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST.gnome,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+lib/ocaml/site-lib/lablgtk2/gnoDruid.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gnoDruid.cmx
+lib/ocaml/site-lib/lablgtk2/gnoDruid.ml
+lib/ocaml/site-lib/lablgtk2/gnomeDruid.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gnomeDruid.cmx
+lib/ocaml/site-lib/lablgtk2/gnomeDruid.ml
+lib/ocaml/site-lib/lablgtk2/gnomeui_tags.h
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgnomeui.a
+lib/ocaml/site-lib/lablgtk2/lablgnomeui.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgnomeui.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgnomeui.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablgnomeui.a
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablgnomeui.so
diff --git a/x11/ocaml-lablgtk/PLIST.gnomecanvas b/x11/ocaml-lablgtk/PLIST.gnomecanvas
new file mode 100644
index 00000000000..5a977780e8e
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.gnomecanvas
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST.gnomecanvas,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+lib/ocaml/site-lib/lablgtk2/gnoCanvas.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gnoCanvas.cmx
+lib/ocaml/site-lib/lablgtk2/gnoCanvas.ml
+lib/ocaml/site-lib/lablgtk2/gnomeCanvas.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gnomeCanvas.cmx
+lib/ocaml/site-lib/lablgtk2/gnomeCanvas.ml
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgnomecanvas.a
+lib/ocaml/site-lib/lablgtk2/lablgnomecanvas.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgnomecanvas.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgnomecanvas.cmxs
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablpanel.a
+lib/ocaml/site-lib/lablgtk2/lablpanel.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablpanel.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablpanel.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablgnomecanvas.a
+lib/ocaml/site-lib/lablgtk2/liblablpanel.a
+lib/ocaml/site-lib/lablgtk2/panel.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/panel.cmx
+lib/ocaml/site-lib/lablgtk2/panel.ml
+lib/ocaml/site-lib/lablgtk2/panel_tags.h
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablgnomecanvas.so
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablpanel.so
diff --git a/x11/ocaml-lablgtk/PLIST.gtksourceview b/x11/ocaml-lablgtk/PLIST.gtksourceview
new file mode 100644
index 00000000000..46c8349da09
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.gtksourceview
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST.gtksourceview,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+lib/ocaml/site-lib/lablgtk2/gSourceView.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gSourceView.cmx
+lib/ocaml/site-lib/lablgtk2/gSourceView.ml
+lib/ocaml/site-lib/lablgtk2/gtkSourceView.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkSourceView.cmx
+lib/ocaml/site-lib/lablgtk2/gtkSourceView.ml
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtksourceview.a
+lib/ocaml/site-lib/lablgtk2/lablgtksourceview.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtksourceview.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtksourceview.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablgtksourceview.a
+lib/ocaml/site-lib/lablgtk2/sourceViewEnums.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/sourceViewEnums.cmx
+lib/ocaml/site-lib/lablgtk2/sourceViewEnums.ml
+lib/ocaml/site-lib/lablgtk2/sourceView_tags.h
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablgtksourceview.so
diff --git a/x11/ocaml-lablgtk/PLIST.gtksourceview2 b/x11/ocaml-lablgtk/PLIST.gtksourceview2
new file mode 100644
index 00000000000..5e3a663ca55
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.gtksourceview2
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST.gtksourceview2,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+lib/ocaml/site-lib/lablgtk2/gSourceView2.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gSourceView2.cmx
+lib/ocaml/site-lib/lablgtk2/gSourceView2.ml
+lib/ocaml/site-lib/lablgtk2/gtkSourceView2.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkSourceView2.cmx
+lib/ocaml/site-lib/lablgtk2/gtkSourceView2.ml
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtksourceview2.a
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtksourceview2.cma
+lib/ocaml/site-lib/lablgtk2/lablgtksourceview2.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtksourceview2.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablgtksourceview2.a
+lib/ocaml/site-lib/lablgtk2/sourceView2Enums.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/sourceView2Enums.cmx
+lib/ocaml/site-lib/lablgtk2/sourceView2Enums.ml
+lib/ocaml/site-lib/lablgtk2/sourceView2_tags.h
+lib/ocaml/site-lib/lablgtk2/dlllablgtksourceview2.so
diff --git a/x11/ocaml-lablgtk/PLIST.gtkspell b/x11/ocaml-lablgtk/PLIST.gtkspell
new file mode 100644
index 00000000000..7dc723fd89e
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.gtkspell
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST.gtkspell,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+lib/ocaml/site-lib/lablgtk2/gtkSpell.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/gtkSpell.cmx
+lib/ocaml/site-lib/lablgtk2/gtkSpell.ml
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtkspell.a
+lib/ocaml/site-lib/lablgtk2/lablgtkspell.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtkspell.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablgtkspell.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablgtkspell.a
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablgtkspell.so
diff --git a/x11/ocaml-lablgtk/PLIST.svg b/x11/ocaml-lablgtk/PLIST.svg
new file mode 100644
index 00000000000..7600bc1ca7b
--- /dev/null
+++ b/x11/ocaml-lablgtk/PLIST.svg
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST.svg,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablrsvg.a
+lib/ocaml/site-lib/lablgtk2/lablrsvg.cma
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablrsvg.cmxa
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/lablrsvg.cmxs
+lib/ocaml/site-lib/lablgtk2/liblablrsvg.a
+lib/ocaml/site-lib/lablgtk2/rsvg.cmi
+${PLIST.opt}lib/ocaml/site-lib/lablgtk2/rsvg.cmx
+lib/ocaml/site-lib/lablgtk2/rsvg.ml
+${PLIST.stubs}lib/ocaml/site-lib/lablgtk2/dlllablrsvg.so
diff --git a/x11/ocaml-lablgtk/buildlink3.mk b/x11/ocaml-lablgtk/buildlink3.mk
new file mode 100644
index 00000000000..b2937b1f1ab
--- /dev/null
+++ b/x11/ocaml-lablgtk/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-lablgtk
+
+.if !defined(OCAML_LABLGTK_BUILDLINK3_MK)
+OCAML_LABLGTK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.6.0nb3
+BUILDLINK_ABI_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.18.2
+BUILDLINK_PKGSRCDIR.ocaml-lablgtk?= ../../x11/lablgtk
+
+# gnome-panel must be exposed if and only if we built with it
+pkgbase := ocaml-lablgtk
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.ocaml-lablgtk:Mgnomecanvas)
+. include "../../x11/gnome-panel/buildlink3.mk"
+.endif
+
+.endif # OCAML_LABLGTK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-lablgtk
diff --git a/x11/ocaml-lablgtk/distinfo b/x11/ocaml-lablgtk/distinfo
new file mode 100644
index 00000000000..a2f5258e65f
--- /dev/null
+++ b/x11/ocaml-lablgtk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+
+SHA1 (lablgtk-2.18.2.tar.gz) = 329f7f5eeccc14d6819425dde3be5cf6901cda34
+RMD160 (lablgtk-2.18.2.tar.gz) = 165f78a560dcf050ed6237639a14b176bdeffab0
+Size (lablgtk-2.18.2.tar.gz) = 787674 bytes
+SHA1 (patch-src_Makefile) = a24fafdbc273863e110d4becb79f849053ec9a9c
diff --git a/x11/ocaml-lablgtk/options.mk b/x11/ocaml-lablgtk/options.mk
new file mode 100644
index 00000000000..3cb4d3b1c04
--- /dev/null
+++ b/x11/ocaml-lablgtk/options.mk
@@ -0,0 +1,63 @@
+# $NetBSD: options.mk,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.lablgtk
+PKG_SUPPORTED_OPTIONS= glade gnomecanvas gtksourceview gtksourceview2 gtkspell svg
+PKG_SUGGESTED_OPTIONS= glade gnomecanvas gtksourceview gtksourceview2 gtkspell svg
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mglade)
+.include "../../devel/libglade/buildlink3.mk"
+CONFIGURE_ARGS+= --with-glade
+PLIST_SRC+= PLIST.glade
+.else
+CONFIGURE_ARGS+= --without-glade
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtkspell)
+.include "../../textproc/gtkspell/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gtkspell
+PLIST_SRC+= PLIST.gtkspell
+.else
+CONFIGURE_ARGS+= --without-gtkspell
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnomecanvas)
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../graphics/libgnomecanvas/buildlink3.mk"
+.include "../../x11/gnome-panel/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gnomecanvas
+PLIST_SRC+= PLIST.gnomecanvas
+.else
+CONFIGURE_ARGS+= --without-gnomecanvas
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtksourceview)
+.include "../../x11/gtksourceview/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gtksourceview
+PLIST_SRC+= PLIST.gtksourceview
+.else
+CONFIGURE_ARGS+= --without-gtksourceview
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtksourceview2)
+.include "../../x11/gtksourceview2/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gtksourceview2
+PLIST_SRC+= PLIST.gtksourceview2
+.else
+CONFIGURE_ARGS+= --without-gtksourceview2
+.endif
+
+.if !empty(PKG_OPTIONS:Msvg)
+.include "../../graphics/librsvg/buildlink3.mk"
+CONFIGURE_ARGS+= --with-rsvg
+PLIST_SRC+= PLIST.svg
+.else
+CONFIGURE_ARGS+= --without-rsvg
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnomecanvas)
+PLIST_SRC+= PLIST.gnome
+.endif
+
+PLIST_SRC+= PLIST
diff --git a/x11/ocaml-lablgtk/patches/patch-src_Makefile b/x11/ocaml-lablgtk/patches/patch-src_Makefile
new file mode 100644
index 00000000000..4ce23e960bc
--- /dev/null
+++ b/x11/ocaml-lablgtk/patches/patch-src_Makefile
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_Makefile,v 1.1 2014/10/10 08:37:49 jaapb Exp $
+
+Do not create an ld.conf, this is done afterwards through the PLIST
+--- src/Makefile.orig 2013-10-01 08:31:50.000000000 +0000
++++ src/Makefile
+@@ -395,10 +395,10 @@ findlib-install:
+ exit 2; fi
+ mkdir -p "$(BINDIR)"
+ mkdir -p "$(DESTDIR)$(FINDLIBDIR)"
+- @if test -f "$(DESTDIR)$(OCAMLLDCONF)"; then :; else \
++# @if test -f "$(DESTDIR)$(OCAMLLDCONF)"; then :; else \
+ touch "$(DESTDIR)$(OCAMLLDCONF)"; fi
+ $(OCAMLFIND) install -destdir "$(DESTDIR)$(FINDLIBDIR)" \
+- -ldconf "$(DESTDIR)$(OCAMLLDCONF)" \
++ -ldconf ignore \
+ lablgtk2 ../META \
+ build.ml \
+ $(CLIBS) \