lablgtk1: remove, replaced by ocaml-lablgtk

This commit is contained in:
wiz 2019-10-10 14:17:50 +00:00
parent d4c5ccb82a
commit 6929c4089a
11 changed files with 3 additions and 498 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2019,v 1.4287 2019/10/10 14:15:29 wiz Exp $
$NetBSD: CHANGES-2019,v 1.4288 2019/10/10 14:17:50 wiz Exp $
Changes to the packages collection and infrastructure in 2019:
@ -6886,3 +6886,4 @@ Changes to the packages collection and infrastructure in 2019:
Updated finance/gnucash to 3.7 [wiz 2019-10-10]
Updated emulators/minivmac to 36.04 [ryoon 2019-10-10]
Updated devel/py-mercurial to 5.1.2 [wiz 2019-10-10]
Removed x11/lablgtk1 successor x11/ocaml-lablgtk [wiz 2019-10-10]

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.851 2019/09/16 10:54:39 nia Exp $
# $NetBSD: Makefile,v 1.852 2019/10/10 14:17:50 wiz Exp $
#
COMMENT= Packages to support the X window system
@ -203,7 +203,6 @@ SUBDIR+= ktextwidgets
SUBDIR+= kwidgetsaddons
SUBDIR+= kwindowsystem
SUBDIR+= kxmlgui
SUBDIR+= lablgtk1
SUBDIR+= labltk
SUBDIR+= lesstif
SUBDIR+= libFS

View file

@ -1,6 +0,0 @@
LablGTK is an Objective Caml interface to gtk+.
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+.

View file

@ -1,54 +0,0 @@
# $NetBSD: Makefile,v 1.23 2018/11/12 16:10:17 jaapb Exp $
DISTNAME= lablgtk-1.2.7
PKGNAME= lablgtk1-1.2.7
PKGREVISION= 20
CATEGORIES= x11
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/571/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
COMMENT= GTK+ bindings for ocaml
LICENSE= gnu-lgpl-v2.1
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake
BUILDLINK_DEPMETHOD.ocaml= full
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.0.5
CONFLICTS+= lablgtk-1.*
.include "../../mk/bsd.prefs.mk"
# currently ocamlopt is only available on i386, sparc and powerpc.
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || ${MACHINE_ARCH} == "x86_64"
USE_DOTOPT= YES
.else
CAMLOPT= ocamlc
MAKE_ENV+= CAMLOPT=${CAMLOPT:Q}
PLIST_SRC= ${PKGDIR}/PLIST.noopt
.endif
.if ${OPSYS} == "Darwin"
PLIST_SRC+= ${PKGDIR}/PLIST.stub
.endif
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
configure USE_DOTOPT=${USE_DOTOPT} USE_CC=1 CC=${CC:Q}
.if defined(USE_DOTOPT)
post-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
opt
.endif
INSTALLATION_DIRS+= bin
.include "../../x11/gtk/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../lang/camlp4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,176 +0,0 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 22:06:40 joerg Exp $
bin/lablgtk
lib/ocaml/lablgtk/gBin.cmi
lib/ocaml/lablgtk/gBin.cmx
lib/ocaml/lablgtk/gBin.ml
lib/ocaml/lablgtk/gBin.mli
lib/ocaml/lablgtk/gButton.cmi
lib/ocaml/lablgtk/gButton.cmx
lib/ocaml/lablgtk/gButton.ml
lib/ocaml/lablgtk/gButton.mli
lib/ocaml/lablgtk/gContainer.cmi
lib/ocaml/lablgtk/gContainer.cmx
lib/ocaml/lablgtk/gContainer.ml
lib/ocaml/lablgtk/gContainer.mli
lib/ocaml/lablgtk/gData.cmi
lib/ocaml/lablgtk/gData.cmx
lib/ocaml/lablgtk/gData.ml
lib/ocaml/lablgtk/gData.mli
lib/ocaml/lablgtk/gDraw.cmi
lib/ocaml/lablgtk/gDraw.cmx
lib/ocaml/lablgtk/gDraw.ml
lib/ocaml/lablgtk/gDraw.mli
lib/ocaml/lablgtk/gEdit.cmi
lib/ocaml/lablgtk/gEdit.cmx
lib/ocaml/lablgtk/gEdit.ml
lib/ocaml/lablgtk/gEdit.mli
lib/ocaml/lablgtk/gList.cmi
lib/ocaml/lablgtk/gList.cmx
lib/ocaml/lablgtk/gList.ml
lib/ocaml/lablgtk/gList.mli
lib/ocaml/lablgtk/gMain.cmi
lib/ocaml/lablgtk/gMain.cmx
lib/ocaml/lablgtk/gMain.ml
lib/ocaml/lablgtk/gMain.mli
lib/ocaml/lablgtk/gMenu.cmi
lib/ocaml/lablgtk/gMenu.cmx
lib/ocaml/lablgtk/gMenu.ml
lib/ocaml/lablgtk/gMenu.mli
lib/ocaml/lablgtk/gMisc.cmi
lib/ocaml/lablgtk/gMisc.cmx
lib/ocaml/lablgtk/gMisc.ml
lib/ocaml/lablgtk/gMisc.mli
lib/ocaml/lablgtk/gObj.cmi
lib/ocaml/lablgtk/gObj.cmx
lib/ocaml/lablgtk/gObj.ml
lib/ocaml/lablgtk/gObj.mli
lib/ocaml/lablgtk/gPack.cmi
lib/ocaml/lablgtk/gPack.cmx
lib/ocaml/lablgtk/gPack.ml
lib/ocaml/lablgtk/gPack.mli
lib/ocaml/lablgtk/gRange.cmi
lib/ocaml/lablgtk/gRange.cmx
lib/ocaml/lablgtk/gRange.ml
lib/ocaml/lablgtk/gRange.mli
lib/ocaml/lablgtk/gToolbox.cmi
lib/ocaml/lablgtk/gToolbox.cmx
lib/ocaml/lablgtk/gToolbox.ml
lib/ocaml/lablgtk/gToolbox.mli
lib/ocaml/lablgtk/gTree.cmi
lib/ocaml/lablgtk/gTree.cmx
lib/ocaml/lablgtk/gTree.ml
lib/ocaml/lablgtk/gTree.mli
lib/ocaml/lablgtk/gUtil.cmi
lib/ocaml/lablgtk/gUtil.cmx
lib/ocaml/lablgtk/gUtil.ml
lib/ocaml/lablgtk/gUtil.mli
lib/ocaml/lablgtk/gWindow.cmi
lib/ocaml/lablgtk/gWindow.cmx
lib/ocaml/lablgtk/gWindow.ml
lib/ocaml/lablgtk/gWindow.mli
lib/ocaml/lablgtk/gaux.cmi
lib/ocaml/lablgtk/gaux.cmx
lib/ocaml/lablgtk/gaux.ml
lib/ocaml/lablgtk/gdk.cmi
lib/ocaml/lablgtk/gdk.cmx
lib/ocaml/lablgtk/gdk.ml
lib/ocaml/lablgtk/gdk.mli
lib/ocaml/lablgtk/gdkEvent.cmi
lib/ocaml/lablgtk/gdkEvent.cmx
lib/ocaml/lablgtk/gdkEvent.ml
lib/ocaml/lablgtk/gdkKeysyms.cmi
lib/ocaml/lablgtk/gdkKeysyms.cmx
lib/ocaml/lablgtk/gdkKeysyms.ml
lib/ocaml/lablgtk/gdkPixbuf.mli
lib/ocaml/lablgtk/gdk_tags.h
lib/ocaml/lablgtk/gdkprivate-win32.h
lib/ocaml/lablgtk/glGtk.mli
lib/ocaml/lablgtk/glade.mli
lib/ocaml/lablgtk/glib.cmi
lib/ocaml/lablgtk/glib.cmx
lib/ocaml/lablgtk/glib.ml
lib/ocaml/lablgtk/glib_tags.h
lib/ocaml/lablgtk/gpointer.cmi
lib/ocaml/lablgtk/gpointer.cmx
lib/ocaml/lablgtk/gpointer.ml
lib/ocaml/lablgtk/gpointer.mli
lib/ocaml/lablgtk/gtk.cmi
lib/ocaml/lablgtk/gtk.cmx
lib/ocaml/lablgtk/gtk.ml
lib/ocaml/lablgtk/gtkArgv.cmi
lib/ocaml/lablgtk/gtkArgv.cmx
lib/ocaml/lablgtk/gtkArgv.ml
lib/ocaml/lablgtk/gtkBase.cmi
lib/ocaml/lablgtk/gtkBase.cmx
lib/ocaml/lablgtk/gtkBase.ml
lib/ocaml/lablgtk/gtkBin.cmi
lib/ocaml/lablgtk/gtkBin.cmx
lib/ocaml/lablgtk/gtkBin.ml
lib/ocaml/lablgtk/gtkButton.cmi
lib/ocaml/lablgtk/gtkButton.cmx
lib/ocaml/lablgtk/gtkButton.ml
lib/ocaml/lablgtk/gtkData.cmi
lib/ocaml/lablgtk/gtkData.cmx
lib/ocaml/lablgtk/gtkData.ml
lib/ocaml/lablgtk/gtkEdit.cmi
lib/ocaml/lablgtk/gtkEdit.cmx
lib/ocaml/lablgtk/gtkEdit.ml
lib/ocaml/lablgtk/gtkInit.cmi
lib/ocaml/lablgtk/gtkInit.cmo
lib/ocaml/lablgtk/gtkInit.cmx
lib/ocaml/lablgtk/gtkInit.ml
lib/ocaml/lablgtk/gtkInit.o
lib/ocaml/lablgtk/gtkList.cmi
lib/ocaml/lablgtk/gtkList.cmx
lib/ocaml/lablgtk/gtkList.ml
lib/ocaml/lablgtk/gtkMain.cmi
lib/ocaml/lablgtk/gtkMain.cmx
lib/ocaml/lablgtk/gtkMain.ml
lib/ocaml/lablgtk/gtkMenu.cmi
lib/ocaml/lablgtk/gtkMenu.cmx
lib/ocaml/lablgtk/gtkMenu.ml
lib/ocaml/lablgtk/gtkMisc.cmi
lib/ocaml/lablgtk/gtkMisc.cmx
lib/ocaml/lablgtk/gtkMisc.ml
lib/ocaml/lablgtk/gtkNew.cmi
lib/ocaml/lablgtk/gtkNew.cmx
lib/ocaml/lablgtk/gtkNew.ml
lib/ocaml/lablgtk/gtkPack.cmi
lib/ocaml/lablgtk/gtkPack.cmx
lib/ocaml/lablgtk/gtkPack.ml
lib/ocaml/lablgtk/gtkRange.cmi
lib/ocaml/lablgtk/gtkRange.cmx
lib/ocaml/lablgtk/gtkRange.ml
lib/ocaml/lablgtk/gtkSignal.cmi
lib/ocaml/lablgtk/gtkSignal.cmx
lib/ocaml/lablgtk/gtkSignal.ml
lib/ocaml/lablgtk/gtkSignal.mli
lib/ocaml/lablgtk/gtkThInit.cmo
lib/ocaml/lablgtk/gtkThInit.ml
lib/ocaml/lablgtk/gtkThread.cmi
lib/ocaml/lablgtk/gtkThread.cmo
lib/ocaml/lablgtk/gtkThread.cmx
lib/ocaml/lablgtk/gtkThread.ml
lib/ocaml/lablgtk/gtkThread.mli
lib/ocaml/lablgtk/gtkThread.o
lib/ocaml/lablgtk/gtkTree.cmi
lib/ocaml/lablgtk/gtkTree.cmx
lib/ocaml/lablgtk/gtkTree.ml
lib/ocaml/lablgtk/gtkWindow.cmi
lib/ocaml/lablgtk/gtkWindow.cmx
lib/ocaml/lablgtk/gtkWindow.ml
lib/ocaml/lablgtk/gtk_tags.h
lib/ocaml/lablgtk/lablgtk.a
lib/ocaml/lablgtk/lablgtk.cma
lib/ocaml/lablgtk/lablgtk.cmxa
lib/ocaml/lablgtk/lablgtktop
lib/ocaml/lablgtk/lablgtktop_t
lib/ocaml/lablgtk/liblablgtk.a
lib/ocaml/lablgtk/ml_gdk.h
lib/ocaml/lablgtk/ml_glib.h
lib/ocaml/lablgtk/ml_gpointer.h
lib/ocaml/lablgtk/ml_gtk.h
lib/ocaml/lablgtk/varcc
lib/ocaml/lablgtk/wrappers.h
lib/ocaml/lablgtk/xml_lexer.mli
lib/ocaml/stublibs/dlllablgtk.so

View file

@ -1,129 +0,0 @@
@comment $NetBSD: PLIST.noopt,v 1.2 2009/06/14 18:24:57 joerg Exp $
bin/lablgtk
lib/ocaml/lablgtk/gBin.cmi
lib/ocaml/lablgtk/gBin.ml
lib/ocaml/lablgtk/gBin.mli
lib/ocaml/lablgtk/gButton.cmi
lib/ocaml/lablgtk/gButton.ml
lib/ocaml/lablgtk/gButton.mli
lib/ocaml/lablgtk/gContainer.cmi
lib/ocaml/lablgtk/gContainer.ml
lib/ocaml/lablgtk/gContainer.mli
lib/ocaml/lablgtk/gData.cmi
lib/ocaml/lablgtk/gData.ml
lib/ocaml/lablgtk/gData.mli
lib/ocaml/lablgtk/gDraw.cmi
lib/ocaml/lablgtk/gDraw.ml
lib/ocaml/lablgtk/gDraw.mli
lib/ocaml/lablgtk/gEdit.cmi
lib/ocaml/lablgtk/gEdit.ml
lib/ocaml/lablgtk/gEdit.mli
lib/ocaml/lablgtk/gList.cmi
lib/ocaml/lablgtk/gList.ml
lib/ocaml/lablgtk/gList.mli
lib/ocaml/lablgtk/gMain.cmi
lib/ocaml/lablgtk/gMain.ml
lib/ocaml/lablgtk/gMain.mli
lib/ocaml/lablgtk/gMenu.cmi
lib/ocaml/lablgtk/gMenu.ml
lib/ocaml/lablgtk/gMenu.mli
lib/ocaml/lablgtk/gMisc.cmi
lib/ocaml/lablgtk/gMisc.ml
lib/ocaml/lablgtk/gMisc.mli
lib/ocaml/lablgtk/gObj.cmi
lib/ocaml/lablgtk/gObj.ml
lib/ocaml/lablgtk/gObj.mli
lib/ocaml/lablgtk/gPack.cmi
lib/ocaml/lablgtk/gPack.ml
lib/ocaml/lablgtk/gPack.mli
lib/ocaml/lablgtk/gRange.cmi
lib/ocaml/lablgtk/gRange.ml
lib/ocaml/lablgtk/gRange.mli
lib/ocaml/lablgtk/gToolbox.cmi
lib/ocaml/lablgtk/gToolbox.ml
lib/ocaml/lablgtk/gToolbox.mli
lib/ocaml/lablgtk/gTree.cmi
lib/ocaml/lablgtk/gTree.ml
lib/ocaml/lablgtk/gTree.mli
lib/ocaml/lablgtk/gUtil.cmi
lib/ocaml/lablgtk/gUtil.ml
lib/ocaml/lablgtk/gUtil.mli
lib/ocaml/lablgtk/gWindow.cmi
lib/ocaml/lablgtk/gWindow.ml
lib/ocaml/lablgtk/gWindow.mli
lib/ocaml/lablgtk/gaux.cmi
lib/ocaml/lablgtk/gaux.ml
lib/ocaml/lablgtk/gdk.cmi
lib/ocaml/lablgtk/gdk.ml
lib/ocaml/lablgtk/gdk.mli
lib/ocaml/lablgtk/gdkEvent.cmi
lib/ocaml/lablgtk/gdkEvent.ml
lib/ocaml/lablgtk/gdkKeysyms.cmi
lib/ocaml/lablgtk/gdkKeysyms.ml
lib/ocaml/lablgtk/gdkPixbuf.mli
lib/ocaml/lablgtk/gdk_tags.h
lib/ocaml/lablgtk/gdkprivate-win32.h
lib/ocaml/lablgtk/glGtk.mli
lib/ocaml/lablgtk/glade.mli
lib/ocaml/lablgtk/glib.cmi
lib/ocaml/lablgtk/glib.ml
lib/ocaml/lablgtk/glib_tags.h
lib/ocaml/lablgtk/gpointer.cmi
lib/ocaml/lablgtk/gpointer.ml
lib/ocaml/lablgtk/gpointer.mli
lib/ocaml/lablgtk/gtk.cmi
lib/ocaml/lablgtk/gtk.ml
lib/ocaml/lablgtk/gtkArgv.cmi
lib/ocaml/lablgtk/gtkArgv.ml
lib/ocaml/lablgtk/gtkBase.cmi
lib/ocaml/lablgtk/gtkBase.ml
lib/ocaml/lablgtk/gtkBin.cmi
lib/ocaml/lablgtk/gtkBin.ml
lib/ocaml/lablgtk/gtkButton.cmi
lib/ocaml/lablgtk/gtkButton.ml
lib/ocaml/lablgtk/gtkData.cmi
lib/ocaml/lablgtk/gtkData.ml
lib/ocaml/lablgtk/gtkEdit.cmi
lib/ocaml/lablgtk/gtkEdit.ml
lib/ocaml/lablgtk/gtkInit.cmi
lib/ocaml/lablgtk/gtkInit.cmo
lib/ocaml/lablgtk/gtkInit.ml
lib/ocaml/lablgtk/gtkList.cmi
lib/ocaml/lablgtk/gtkList.ml
lib/ocaml/lablgtk/gtkMain.cmi
lib/ocaml/lablgtk/gtkMain.ml
lib/ocaml/lablgtk/gtkMenu.cmi
lib/ocaml/lablgtk/gtkMenu.ml
lib/ocaml/lablgtk/gtkMisc.cmi
lib/ocaml/lablgtk/gtkMisc.ml
lib/ocaml/lablgtk/gtkNew.cmi
lib/ocaml/lablgtk/gtkNew.ml
lib/ocaml/lablgtk/gtkPack.cmi
lib/ocaml/lablgtk/gtkPack.ml
lib/ocaml/lablgtk/gtkRange.cmi
lib/ocaml/lablgtk/gtkRange.ml
lib/ocaml/lablgtk/gtkSignal.cmi
lib/ocaml/lablgtk/gtkSignal.ml
lib/ocaml/lablgtk/gtkSignal.mli
lib/ocaml/lablgtk/gtkThInit.cmo
lib/ocaml/lablgtk/gtkThInit.ml
lib/ocaml/lablgtk/gtkThread.cmi
lib/ocaml/lablgtk/gtkThread.cmo
lib/ocaml/lablgtk/gtkThread.ml
lib/ocaml/lablgtk/gtkThread.mli
lib/ocaml/lablgtk/gtkTree.cmi
lib/ocaml/lablgtk/gtkTree.ml
lib/ocaml/lablgtk/gtkWindow.cmi
lib/ocaml/lablgtk/gtkWindow.ml
lib/ocaml/lablgtk/gtk_tags.h
lib/ocaml/lablgtk/lablgtk.cma
lib/ocaml/lablgtk/lablgtktop
lib/ocaml/lablgtk/lablgtktop_t
lib/ocaml/lablgtk/liblablgtk.a
lib/ocaml/lablgtk/ml_gdk.h
lib/ocaml/lablgtk/ml_glib.h
lib/ocaml/lablgtk/ml_gpointer.h
lib/ocaml/lablgtk/ml_gtk.h
lib/ocaml/lablgtk/varcc
lib/ocaml/lablgtk/wrappers.h
lib/ocaml/lablgtk/xml_lexer.mli

View file

@ -1,2 +0,0 @@
@comment $NetBSD: PLIST.stub,v 1.2 2009/06/14 22:06:40 joerg Exp $
lib/ocaml/stublibs/dlllablgtk.so

View file

@ -1,16 +0,0 @@
# $NetBSD: buildlink3.mk,v 1.19 2018/11/12 16:10:17 jaapb Exp $
BUILDLINK_TREE+= lablgtk1
.if !defined(LABLGTK1_BUILDLINK3_MK)
LABLGTK1_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.lablgtk1+= lablgtk1>=1.2.5nb3
BUILDLINK_ABI_DEPENDS.lablgtk1+= lablgtk1>=1.2.7nb20
BUILDLINK_PKGSRCDIR.lablgtk1?= ../../x11/lablgtk1
.include "../../x11/gtk/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.endif # LABLGTK1_BUILDLINK3_MK
BUILDLINK_TREE+= -lablgtk1

View file

@ -1,8 +0,0 @@
$NetBSD: distinfo,v 1.6 2017/09/10 01:59:12 dholland Exp $
SHA1 (lablgtk-1.2.7.tar.gz) = fe43512efdc7ab4e0dafb7dc8254a784857a1ade
RMD160 (lablgtk-1.2.7.tar.gz) = 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
SHA512 (lablgtk-1.2.7.tar.gz) = ba35d3034836bd016b17835120aeb5bca9030e7fae0a76f1425d7ffda7118f9627aa24d95c2644f66ddc55d7dd72ee36c9db9ad69df01e29f62af244cb8643df
Size (lablgtk-1.2.7.tar.gz) = 468443 bytes
SHA1 (patch-aa) = 54b570d7fee4b5808cd669a9a45e79c9230ee6d8
SHA1 (patch-src_gList.ml) = 38e37e3b8b5279eaa627299cbc9b9c552c1e5a89

View file

@ -1,91 +0,0 @@
$NetBSD: patch-aa,v 1.4 2017/09/10 01:59:12 dholland Exp $
- build with PIC
- don't link with unix.cma twice; it doesn't work
- DESTDIR support
--- src/Makefile.orig 2003-05-15 14:17:53.000000000 +0000
+++ src/Makefile
@@ -38,11 +38,12 @@ CFLAGS = -g $(GTKCFLAGS)
MLLINK += -cclib -lcamlrund
MLFLAGS = -g
else
-CFLAGS = -O -DGTK_NO_CHECK_CASTS -DGTK_DISABLE_COMPAT_H $(GTKCFLAGS)
+CFLAGS = -O -fPIC -DGTK_NO_CHECK_CASTS -DGTK_DISABLE_COMPAT_H $(GTKCFLAGS)
endif
THFLAGS = -thread
-THLINK = unix.cma threads.cma
+#THLINK = unix.cma threads.cma $(MLLINK) # duplicates unix.cma and fails
+THLINK = unix.cma threads.cma str.cma
ifdef USE_CC
CCOMPILER = $(CC) -c -I$(LIBDIR) $(CFLAGS)
@@ -115,7 +116,7 @@ lablgtktop: $(MLLIBS) $(INITOBJS)
$(TOPLEVEL) -o $@ $(MLLINK) -I . $(MLLIBS) $(INITOBJS)
lablgtktop_t: $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS)
- $(TOPLEVEL) $(THFLAGS) -o $@ $(THLINK) $(MLLINK) \
+ $(TOPLEVEL) $(THFLAGS) -o $@ $(THLINK) \
-I . $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS)
lablgtk: Makefile $(CONFIG) lablgtk.in
@@ -137,32 +138,39 @@ testcc: lablgladecc lablgtktop
rm -f testcc.ml
install:
- if test -d $(INSTALLDIR); then : ; else mkdir -p $(INSTALLDIR); fi
- cp $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) $(INSTALLDIR)
- cp -p *.mli $(INSTALLDIR)
- cp -p $(ALLOBJS:.cmo=.ml) $(ALLTHOBJS:.cmo=.ml) $(INSTALLDIR)
- cp $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS) $(INSTALLDIR)
- cp $(CLIBS) $(INSTALLDIR)
- cd $(INSTALLDIR) && $(RANLIB) $(CLIBS)
- cp lablgtktop varcc $(INSTALLDIR)
- if test -f lablgtktop_t; then cp lablgtktop_t $(INSTALLDIR); fi
- cp -p *.h $(INSTALLDIR)
+ if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${INSTALLDIR}; fi
+ for F in $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) *.mli \
+ $(ALLOBJS:.cmo=.ml) $(ALLTHOBJS:.cmo=.ml) \
+ $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS) $(CLIBS) *.h; \
+ do \
+ ${BSD_INSTALL_DATA} $$F ${DESTDIR}${INSTALLDIR}; \
+ done
+ ${BSD_INSTALL_SCRIPT} lablgtktop ${DESTDIR}$(INSTALLDIR)
+ ${BSD_INSTALL_SCRIPT} varcc ${DESTDIR}$(INSTALLDIR)
+ if test -f lablgtktop_t; then ${BSD_INSTALL_SCRIPT} lablgtktop_t ${DESTDIR}$(INSTALLDIR); fi
if test -f lablgtk.cmxa; then $(MAKE) installopt; fi
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(DLLDIR)
if test -f dlllablgtk.so; then \
- if test -d $(DLLDIR); then : ; else mkdir -p $(DLLDIR); fi; \
- cp $(CLIBS:lib%.a=dll%.so) $(DLLDIR) || \
- echo "Couldn't install dlls in default location"; \
+ for F in $(CLIBS:lib%.a=dll%.so); \
+ do \
+ ${BSD_INSTALL_DATA} $$F ${DESTDIR}$(DLLDIR); \
+ done; \
fi
- cp lablgtk $(BINDIR)
+ ${BSD_INSTALL_SCRIPT} lablgtk ${DESTDIR}$(BINDIR)
if test -f lablgladecc; then cp lablgladecc $(BINDIR); fi
installopt:
- cp $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) $(INSTALLDIR)
- cd $(INSTALLDIR) && $(RANLIB) $(MLLIBS:.cma=.a)
- cp $(ALLOBJS:.cmo=.cmx) $(INSTALLDIR)
- cp $(INITOBJS:.cmo=.o) $(INSTALLDIR)
+ for F in $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) \
+ $(ALLOBJS:.cmo=.cmx) $(INITOBJS:.cmo=.o); \
+ do \
+ ${BSD_INSTALL_DATA} $$F ${DESTDIR}$(INSTALLDIR); \
+ done
if test -f gtkThread.cmx; then \
- cp $(THOBJS:.cmo=.cmx) $(THOBJS:.cmo=.o) $(INSTALLDIR); fi
+ for F in $(THOBJS:.cmo=.cmx) $(THOBJS:.cmo=.o); \
+ do \
+ ${BSD_INSTALL_DATA} $$F ${DESTDIR}$(INSTALLDIR); \
+ done; \
+ fi
liblablgtk.a: $(COBJS)
$(LIBRARIAN) -o lablgtk $(COBJS) $(GTKLIBS)

View file

@ -1,13 +0,0 @@
$NetBSD: patch-src_gList.ml,v 1.1 2014/10/20 11:00:25 jaapb Exp $
Remove duplicate method.
--- src/gList.ml.orig 2014-10-20 10:52:23.000000000 +0000
+++ src/gList.ml 2014-10-20 10:52:40.000000000 +0000
@@ -126,7 +126,6 @@
method set_vadjustment adj =
CList.set_vadjustment obj (GData.as_adjustment adj)
method set_shadow_type = CList.set_shadow_type obj
- method set_button_actions = CList.set_button_actions obj
method set_selection_mode = CList.set_selection_mode obj
method set_reorderable = CList.set_reorderable obj
method set_use_drag_icons = CList.set_use_drag_icons obj