pkgsrc/x11/ocaml-lablgtk/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2016/06/25 14:33:11 jaapb Exp $
Updated ocaml-lablgtk to 2.18.4. Remove camlp4 dependency (see changelog below). In Lablgtk-2.18.4: 2016.04.27 [Jacques] * disable camlp4 make rule when no camlp4o available * update applications * rename GC module to GMain.Gc_custom 2016.04.11 [Jacques] * Fix ml_gnome_canvas_c2w (Didier Le Botlan) 2016.03.06 [Jacques] * remove build dependency on camlp4 (still needed for tree version) * allow to change the GC speed (i.e. the impact of custom blocks) see GMain.GC.set_speed. 2016.03.04 [Jacques] * use own definition of alloc_custom, to be sure to allocate in the heap 2015.04.16 [Jacques] * fix GtkTree.TreeModel.cast 2015.02.06 [Jacques] * add get_image and get_pixbuf to GDraw.drawable. In Lablgtk-2.18.3: 2014.10.06 [Jacques] * add Gdk.Window.create_foreign and set_transient_for functions (Tim Cuthbertson) 2014.09.20 [Jacques] * CAMLparam initializes with Val_unit rather than 0 since ocaml 4.02. Fix a related problem in ml_gobject. This caused random crashes with unison (Christopher Zimmermann, PR#1425) * Also factorize some code to use Val_option_* * Replace XID by GdkNativeWindow where required. You may need to insert calls to Gdk.Window.native_of_xid in some places. In Lablgtk-2.18.2: 2014.09.17 [Jacques] * Revert old commit which broke notify signals * Quote $(FLINSTALLDIR) in Makefile (cf PR#1342) * Update applications/browser for 4.02 2014.08.22 [Jacques] * Make Float_val an alias for Double_val, since it was used wrongly anyway (Felix Ruess) * Make GObj.misc_ops#add_accelerator polymorphic in the widget of the signal (Erkki Seppala) * Use properties in GtkAdjustment, rather than direct accessors 2013.12.31 [Jacques] * fix GtkTree.IconView.get_path_at_pos (Thomas Leonard)
2016-05-22 19:42:14 +02:00
DISTNAME= lablgtk-2.18.4
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 2
CATEGORIES= x11
Updated ocaml-lablgtk to 2.18.4. Remove camlp4 dependency (see changelog below). In Lablgtk-2.18.4: 2016.04.27 [Jacques] * disable camlp4 make rule when no camlp4o available * update applications * rename GC module to GMain.Gc_custom 2016.04.11 [Jacques] * Fix ml_gnome_canvas_c2w (Didier Le Botlan) 2016.03.06 [Jacques] * remove build dependency on camlp4 (still needed for tree version) * allow to change the GC speed (i.e. the impact of custom blocks) see GMain.GC.set_speed. 2016.03.04 [Jacques] * use own definition of alloc_custom, to be sure to allocate in the heap 2015.04.16 [Jacques] * fix GtkTree.TreeModel.cast 2015.02.06 [Jacques] * add get_image and get_pixbuf to GDraw.drawable. In Lablgtk-2.18.3: 2014.10.06 [Jacques] * add Gdk.Window.create_foreign and set_transient_for functions (Tim Cuthbertson) 2014.09.20 [Jacques] * CAMLparam initializes with Val_unit rather than 0 since ocaml 4.02. Fix a related problem in ml_gobject. This caused random crashes with unison (Christopher Zimmermann, PR#1425) * Also factorize some code to use Val_option_* * Replace XID by GdkNativeWindow where required. You may need to insert calls to Gdk.Window.native_of_xid in some places. In Lablgtk-2.18.2: 2014.09.17 [Jacques] * Revert old commit which broke notify signals * Quote $(FLINSTALLDIR) in Makefile (cf PR#1342) * Update applications/browser for 4.02 2014.08.22 [Jacques] * Make Float_val an alias for Double_val, since it was used wrongly anyway (Felix Ruess) * Make GObj.misc_ops#add_accelerator polymorphic in the widget of the signal (Erkki Seppala) * Use properties in GtkAdjustment, rather than direct accessors 2013.12.31 [Jacques] * fix GtkTree.IconView.get_path_at_pos (Thomas Leonard)
2016-05-22 19:42:14 +02:00
MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/1602/
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
CONFIGURE_ARGS+= --enable-debug
USE_TOOLS+= gmake pkg-config
OCAML_USE_FINDLIB= yes
OCAML_FINDLIB_DIRS= lablgtk2
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
.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || \
${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
PLIST.stubs= yes
.endif
.include "../../mk/ocaml.mk"
.include "options.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"