ac10c147b4
* fixed a problem of SpinButton.get_value_as_int for the case of the value is minus' src/gtkEdit.ml (Jun Furuse) * ocamllex is abstracted by CAMLLEX in Makefiles (Jun Furuse) * more parametrizations in config.make.nt (Jun) * added the selection method to clist. (Jun) * Glib.Io.add_watch returns event source, so that we can remove it later (J) * added Glib.Io.read (J) * added a new module Gdk.Input (J) * various improvements to GtkText (Antoine Mine) * fix Glib.IO (Henri Dubois-Ferriere) * fixes in ml_gdk.c: win32 and ClientData * GtkThread.main switches GtkMain.Main.main to call GtkThread.thread_main * added GList.clist#get_row_state and GWindow.file_selection#file_list (by Francois Pessaux) * added META (by Stefano Zacchiroli) * fixed applications/camlirc (Tim Freeman) * add gdk_property_* * fix GdkPixbuf.create_pixmap * add GdkEventClient (requested by Didier le Botlan) * add Gdk.Window.get_pointer_location (Tim Freeman)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2004/03/04 16:13:35 wiz Exp $
|
|
|
|
DISTNAME= lablgtk-1.2.6
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
|
|
|
|
MAINTAINER= dillo@NetBSD.org
|
|
HOMEPAGE= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
|
COMMENT= GTK+ bindings for ocaml
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_GNU_TOOLS+= make
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# currently ocamlopt is only available on i386
|
|
.if (${MACHINE_ARCH} == "i386")
|
|
USE_DOTOPT= YES
|
|
.else
|
|
CAMLOPT= ocamlc
|
|
MAKE_ENV+= CAMLOPT=${CAMLOPT}
|
|
PLIST_SRC= ${PKGDIR}/PLIST.noopt
|
|
.endif
|
|
|
|
.if exists(${LOCALBASE}/lib/ocaml/libthreadsnat.a)
|
|
PLIST_SUBST+= NATIVE_THREADS=
|
|
.else
|
|
PLIST_SUBST+= NATIVE_THREADS="@comment "
|
|
.endif
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
|
|
configure USE_DOTOPT=${USE_DOTOPT} USE_CC=1 CC=${CC}
|
|
|
|
.if (${MACHINE_ARCH} == "i386")
|
|
post-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
|
|
opt
|
|
.endif
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|