summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-03-24 18:34:47 +0000
committerdholland <dholland@pkgsrc.org>2013-03-24 18:34:47 +0000
commit1584dbdb055bb835616570151f7c391abc43eb16 (patch)
tree407a7eb133438518bd456dbe2da1a0985f77300a /lang
parentdf5728352bf797b08bc5bad55a45e57176a85dfe (diff)
downloadpkgsrc-1584dbdb055bb835616570151f7c391abc43eb16.tar.gz
Remove ocamlduce; it is unbuildable, dead upstream, and the maintainer
said quite a ways back to just kill it.
Diffstat (limited to 'lang')
-rw-r--r--lang/ocamlduce/DESCR2
-rw-r--r--lang/ocamlduce/Makefile49
-rw-r--r--lang/ocamlduce/PLIST24
-rw-r--r--lang/ocamlduce/PLIST.opt8
-rw-r--r--lang/ocamlduce/distinfo9
-rw-r--r--lang/ocamlduce/files/ocaml-configure.diff13
-rw-r--r--lang/ocamlduce/patches/patch-aa71
7 files changed, 0 insertions, 176 deletions
diff --git a/lang/ocamlduce/DESCR b/lang/ocamlduce/DESCR
deleted file mode 100644
index 776ee1f6f29..00000000000
--- a/lang/ocamlduce/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-OCamlDuce is an enhancement to OCaml that allows one to use XML features,
-such as types and values, natively in OCaml programs.
diff --git a/lang/ocamlduce/Makefile b/lang/ocamlduce/Makefile
deleted file mode 100644
index cbedace7410..00000000000
--- a/lang/ocamlduce/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2012/10/13 16:10:18 asau Exp $
-#
-
-DISTNAME= ocamlduce-3.12.1.0
-PKGREVISION= 1
-CATEGORIES= lang
-MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/644/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-# we need the OCaml sources too
-DISTFILES+= ocaml-3.12.1.tar.bz2
-SITES.ocaml-3.12.1.tar.bz2= http://caml.inria.fr/pub/distrib/ocaml-3.12/
-
-MAINTAINER= jaapb@kerguelen.org
-HOMEPAGE= http://ocamlduce.forge.ocamlcore.org/
-COMMENT= Library to integrate XML features into OCaml
-
-BROKEN= Hangs the bulk build; needs update for ocaml 4.
-
-DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
-
-USE_TOOLS+= gmake patch
-BUILD_TARGET= all
-INSTALL_TARGET= installbyte
-MAKE_JOBS_SAFE= no
-
-MAKE_ENV+= BINDIR=${PREFIX}/bin LIBDIR=${PREFIX}/lib/ocaml/site-lib
-INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \
- LIBDIR=${DESTDIR}${PREFIX}/lib/ocaml/site-lib
-PLIST_SRC= PLIST
-
-.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
- (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
-BUILD_TARGET= world.opt
-INSTALL_TARGET+= installopt
-PLIST_SRC+= PLIST.opt
-.else
-BUILD_TARGET= world
-.endif
-
-BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.12.1
-pre-configure:
- cd ${WRKSRC} && DISTDIR=${DISTDIR} make prepare
- cd ${WRKSRC}/ocaml-3.12.1 && ${PATCH} -Nt < ${FILESDIR}/ocaml-configure.diff
- cd ${WRKSRC}/ocaml-3.12.1 && ./configure -prefix ${PREFIX} -libs ${LDFLAGS:Q} -with-pthread -host ${MACHINE_GNU_PLATFORM:Q} -mandir ${PREFIX}/${PKGMANDIR} -no-tk
-
-.include "../../lang/ocaml/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/lang/ocamlduce/PLIST b/lang/ocamlduce/PLIST
deleted file mode 100644
index c48cc75ef93..00000000000
--- a/lang/ocamlduce/PLIST
+++ /dev/null
@@ -1,24 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2009/09/07 21:53:30 tonio Exp $
-@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/ocamlduce
-bin/ocamlduce
-bin/ocamlducec
-bin/ocamlducedep
-bin/ocamlducedoc
-bin/ocamlducefind
-lib/ocaml/site-lib/ocamlduce/META
-lib/ocaml/site-lib/ocamlduce/cduce_types.cmi
-lib/ocaml/site-lib/ocamlduce/ocamlduce.cma
-lib/ocaml/site-lib/ocamlduce/ocamlduce.cmi
-lib/ocaml/site-lib/ocamlduce/ocamlduce.mli
-lib/ocaml/site-lib/ocamlduce/topdirs.cmi
-lib/ocaml/site-lib/ocamlduce/topdirs.cmo
-lib/ocaml/site-lib/ocamlduce/topdirs.mli
-lib/ocaml/site-lib/ocamlduce/toplevellib.cma
-lib/ocaml/site-lib/ocamlduce/toploop.cmi
-lib/ocaml/site-lib/ocamlduce/toploop.cmo
-lib/ocaml/site-lib/ocamlduce/toploop.mli
-lib/ocaml/site-lib/ocamlduce/topmain.cmi
-lib/ocaml/site-lib/ocamlduce/topmain.cmo
-lib/ocaml/site-lib/ocamlduce/topmain.mli
-lib/ocaml/site-lib/ocamlduce/topstart.cmo
-@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/ocamlduce
diff --git a/lang/ocamlduce/PLIST.opt b/lang/ocamlduce/PLIST.opt
deleted file mode 100644
index 647e0748600..00000000000
--- a/lang/ocamlduce/PLIST.opt
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST.opt,v 1.3 2012/04/13 07:34:53 dholland Exp $
-bin/ocamlducec.opt
-bin/ocamlducedep.opt
-bin/ocamlduceopt
-bin/ocamlduceopt.opt
-lib/ocaml/site-lib/ocamlduce/ocamlduce.a
-lib/ocaml/site-lib/ocamlduce/ocamlduce.cmxa
-lib/ocaml/site-lib/ocamlduce/ocamlduce.cmxs
diff --git a/lang/ocamlduce/distinfo b/lang/ocamlduce/distinfo
deleted file mode 100644
index 569a451d7a5..00000000000
--- a/lang/ocamlduce/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.5 2012/04/13 07:34:53 dholland Exp $
-
-SHA1 (ocaml-3.12.1.tar.bz2) = 29b44117b116b1a5bc54a8b4514af483793a769f
-RMD160 (ocaml-3.12.1.tar.bz2) = 61d38c0785491c8790ac02ab78fb2f26ea490fc1
-Size (ocaml-3.12.1.tar.bz2) = 2949124 bytes
-SHA1 (ocamlduce-3.12.1.0.tar.gz) = c5006c36071a1e22736ccd5bb96024f13e575302
-RMD160 (ocamlduce-3.12.1.0.tar.gz) = 33078e31c4cffade2f6d762fa9e9e4023f96fec4
-Size (ocamlduce-3.12.1.0.tar.gz) = 140291 bytes
-SHA1 (patch-aa) = 7ba89169cf1d10f9c2767019cccae1e4682d1c70
diff --git a/lang/ocamlduce/files/ocaml-configure.diff b/lang/ocamlduce/files/ocaml-configure.diff
deleted file mode 100644
index cad42dd4fca..00000000000
--- a/lang/ocamlduce/files/ocaml-configure.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: ocaml-configure.diff,v 1.1 2012/04/13 07:34:53 dholland Exp $
-
---- configure~ 2011-07-04 21:15:01.000000000 +0000
-+++ configure
-@@ -621,7 +621,7 @@ if test $withsharedlibs = "yes"; then
- i[3456]86-*-linux*) natdynlink=true;;
- x86_64-*-linux*) natdynlink=true;;
- i[3456]86-*-darwin10.*)
-- if test $arch64 == true; then
-+ if test $arch64 = true; then
- natdynlink=true
- fi;;
- i[3456]86-*-darwin[89]*) natdynlink=true;;
diff --git a/lang/ocamlduce/patches/patch-aa b/lang/ocamlduce/patches/patch-aa
deleted file mode 100644
index 20794bbce49..00000000000
--- a/lang/ocamlduce/patches/patch-aa
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2012/04/13 07:34:54 dholland Exp $
-
---- Makefile.orig 2011-07-06 16:21:30.000000000 +0000
-+++ Makefile
-@@ -1,7 +1,7 @@
- #-include config/Makefile
-
- OCAML_VERSION := $(shell ocamlc -version)
--OCAML_SOURCE := /usr/src/ocaml-source-$(OCAML_VERSION).tar.bz2
-+OCAML_SOURCE := $(DISTDIR)/ocaml-$(OCAML_VERSION).tar.bz2
- OCAML_SRCDIR := ocaml-$(OCAML_VERSION)
-
- DUCE_VERSION := $(shell head -n1 VERSION)
-@@ -37,7 +37,7 @@ all:
- @echo "===> Please explicit what you want <==="
-
- prepare:
-- tar xf $(OCAML_SOURCE)
-+ tar jxf $(OCAML_SOURCE)
- cp -PpR $(DUCEP_FILES) $(OCAML_SRCDIR)
- cp -PpR ocamlduce $(OCAML_SRCDIR)/otherlibs
- cd $(OCAML_SRCDIR) && for X in ../patches/*.diff; do patch -p1 < $$X; done
-@@ -45,15 +45,11 @@ prepare:
- sed '\@^#-include config/Makefile@s/^#//' $(OCAML_SRCDIR)/Makefile.ocamlduce > $(OCAML_SRCDIR)/Makefile.ocamlduce.new
- mv $(OCAML_SRCDIR)/Makefile.ocamlduce.new $(OCAML_SRCDIR)/Makefile.ocamlduce
-
--config/Makefile:
-- @echo "===> You should probably run ./configure yourself, trying on my own... <==="
-- $(shell sed -ne '1s@^.*\(./configure.*\)$$@\1@p' $(shell ocamlc -where)/Makefile.config)
-+world: $(OCAML_SRCDIR)/config/Makefile
-+ cd $(OCAML_SRCDIR) && MAKE="$(MAKE)" CFLAGS="$(CFLAGS)" ./mkocamlduce.sh
-
--world: config/Makefile
-- MAKE="$(MAKE)" CFLAGS="$(CFLAGS)" ./mkocamlduce.sh
--
--world.opt: config/Makefile
-- MAKE="$(MAKE)" CFLAGS="$(CFLAGS)" HAS_NATIVE=y ./mkocamlduce.sh
-+world.opt: $(OCAML_SRCDIR)/config/Makefile
-+ cd $(OCAML_SRCDIR) && MAKE="$(MAKE)" CFLAGS="$(CFLAGS)" HAS_NATIVE=y ./mkocamlduce.sh
-
- META: META.in
- sed 's/%VER%/$(DUCE_VERSION)/' $< > $@
-@@ -64,20 +60,20 @@ installcommon-stamp: META
- install -m 755 -d $(DUCE_LIBDIR)
- install -m 755 ocamlducefind $(BINDIR)
- install -m 644 META $(DUCE_LIBDIR)
-- install -m 644 $(addprefix _build/,$(MLI)) $(DUCE_LIBDIR)
-- install -m 644 $(addprefix _build/,$(CMI)) $(DUCE_LIBDIR)
-+ install -m 644 $(addprefix $(OCAML_SRCDIR)/_build/,$(MLI)) $(DUCE_LIBDIR)
-+ install -m 644 $(addprefix $(OCAML_SRCDIR)/_build/,$(CMI)) $(DUCE_LIBDIR)
-
- installbyte: installcommon-stamp
- @echo "===> Installing non-native files... <==="
-- for X in $(BYT); do Y=$${X##*/}; Y=$${Y#ocaml}; install -m 755 _build/$$X $(BINDIR)/ocamlduce$$Y; done
-- install -m 644 $(addprefix _build/,$(TOPCMO)) $(DUCE_LIBDIR)
-- install -m 644 $(addprefix _build/,$(TOPCMA)) $(DUCE_LIBDIR)
-- install -m 644 $(addprefix _build/,$(CMA)) $(DUCE_LIBDIR)
-+ for X in $(BYT); do Y=$${X##*/}; Y=$${Y#ocaml}; install -m 755 $(OCAML_SRCDIR)/_build/$$X $(BINDIR)/ocamlduce$$Y; done
-+ install -m 644 $(addprefix $(OCAML_SRCDIR)/_build/,$(TOPCMO)) $(DUCE_LIBDIR)
-+ install -m 644 $(addprefix $(OCAML_SRCDIR)/_build/,$(TOPCMA)) $(DUCE_LIBDIR)
-+ install -m 644 $(addprefix $(OCAML_SRCDIR)/_build/,$(CMA)) $(DUCE_LIBDIR)
-
- installopt: installcommon-stamp
- @echo "===> Installing native files... <==="
-- for X in $(OPT); do Y=$${X##*/}; Y=$${Y#ocaml}; install -m 755 _build/$$X $(BINDIR)/ocamlduce$$Y; done
-- install -m 644 $(addprefix _build/,$(CMXA) $(CMXS)) $(DUCE_LIBDIR)
-+ for X in $(OPT); do Y=$${X##*/}; Y=$${Y#ocaml}; install -m 755 $(OCAML_SRCDIR)/_build/$$X $(BINDIR)/ocamlduce$$Y; done
-+ install -m 644 $(addprefix $(OCAML_SRCDIR)/_build/,$(CMXA) $(CMXS)) $(DUCE_LIBDIR)
-
- clean:
- build/distclean.sh