summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache>2008-09-02 11:19:35 +0000
committerobache <obache>2008-09-02 11:19:35 +0000
commit497f256f48503f7cffb65d8dad1ba939cb76654d (patch)
tree060540a7e2605ca58f88cb2649778fa97bc3068c /devel
parenta56567c97205e54060ff5195bc8ed5a03a3a1b24 (diff)
downloadpkgsrc-497f256f48503f7cffb65d8dad1ba939cb76654d.tar.gz
Import ocaml-lwt-1.1.0 as devel/ocaml-lwt.
Pachaged by Jaap Boender and privided by PR 39112. The Lwt (Light-Weight Threading) library is a cooperative threading library for OCaml.
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-lwt/DESCR2
-rw-r--r--devel/ocaml-lwt/Makefile35
-rw-r--r--devel/ocaml-lwt/PLIST72
-rw-r--r--devel/ocaml-lwt/PLIST.opt20
-rw-r--r--devel/ocaml-lwt/distinfo6
-rw-r--r--devel/ocaml-lwt/patches/patch-aa20
6 files changed, 155 insertions, 0 deletions
diff --git a/devel/ocaml-lwt/DESCR b/devel/ocaml-lwt/DESCR
new file mode 100644
index 00000000000..b836915d65a
--- /dev/null
+++ b/devel/ocaml-lwt/DESCR
@@ -0,0 +1,2 @@
+The Lwt (Light-Weight Threading) library is a cooperative threading library for
+OCaml.
diff --git a/devel/ocaml-lwt/Makefile b/devel/ocaml-lwt/Makefile
new file mode 100644
index 00000000000..7e62257ff81
--- /dev/null
+++ b/devel/ocaml-lwt/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/02 11:19:35 obache Exp $
+#
+
+DISTNAME= lwt-1.1.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= http://www.ocsigen.org/download/
+
+MAINTAINER= jaapb@kerguelen.org
+HOMEPAGE= http://www.ocsigen.org/
+COMMENT= Cooperative threading library for OCaml
+
+DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
+
+USE_TOOLS+= gmake
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_TARGET= META byte
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
+ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
+BUILD_TARGET+= opt
+PLIST_SRC+= PLIST.opt
+.endif
+
+BUILD_TARGET+= doc
+PLIST_SRC+= PLIST
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../security/ocaml-ssl/buildlink3.mk"
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-lwt/PLIST b/devel/ocaml-lwt/PLIST
new file mode 100644
index 00000000000..87fca591912
--- /dev/null
+++ b/devel/ocaml-lwt/PLIST
@@ -0,0 +1,72 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/02 11:19:35 obache Exp $
+@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/lwt
+lib/ocaml/site-lib/lwt/META
+lib/ocaml/site-lib/lwt/lwt.cma
+lib/ocaml/site-lib/lwt/lwt.cmi
+lib/ocaml/site-lib/lwt/lwt.mli
+lib/ocaml/site-lib/lwt/lwt_chan.cmi
+lib/ocaml/site-lib/lwt/lwt_chan.mli
+lib/ocaml/site-lib/lwt/lwt_extra.cma
+lib/ocaml/site-lib/lwt/lwt_lib.cmi
+lib/ocaml/site-lib/lwt/lwt_lib.mli
+lib/ocaml/site-lib/lwt/lwt_mutex.cmi
+lib/ocaml/site-lib/lwt/lwt_mutex.mli
+lib/ocaml/site-lib/lwt/lwt_pool.cmi
+lib/ocaml/site-lib/lwt/lwt_pool.mli
+lib/ocaml/site-lib/lwt/lwt_preemptive.cma
+lib/ocaml/site-lib/lwt/lwt_preemptive.cmi
+lib/ocaml/site-lib/lwt/lwt_preemptive.mli
+lib/ocaml/site-lib/lwt/lwt_ssl.cma
+lib/ocaml/site-lib/lwt/lwt_ssl.cmi
+lib/ocaml/site-lib/lwt/lwt_ssl.mli
+lib/ocaml/site-lib/lwt/lwt_timeout.cmi
+lib/ocaml/site-lib/lwt/lwt_timeout.mli
+lib/ocaml/site-lib/lwt/lwt_unix.cmi
+lib/ocaml/site-lib/lwt/lwt_unix.mli
+lib/ocaml/site-lib/lwt/lwt_util.cmi
+lib/ocaml/site-lib/lwt/lwt_util.mli
+lib/ocaml/site-lib/lwt/pqueue.cmi
+lib/ocaml/site-lib/lwt/pqueue.mli
+share/doc/ocaml-lwt/Lwt.html
+share/doc/ocaml-lwt/Lwt_chan.html
+share/doc/ocaml-lwt/Lwt_lib.html
+share/doc/ocaml-lwt/Lwt_mutex.html
+share/doc/ocaml-lwt/Lwt_pool.html
+share/doc/ocaml-lwt/Lwt_preemptive.html
+share/doc/ocaml-lwt/Lwt_ssl.html
+share/doc/ocaml-lwt/Lwt_timeout.html
+share/doc/ocaml-lwt/Lwt_unix.html
+share/doc/ocaml-lwt/Lwt_util.html
+share/doc/ocaml-lwt/Pqueue.Make.html
+share/doc/ocaml-lwt/Pqueue.OrderedType.html
+share/doc/ocaml-lwt/Pqueue.S.html
+share/doc/ocaml-lwt/Pqueue.html
+share/doc/ocaml-lwt/html.stamp
+share/doc/ocaml-lwt/index.html
+share/doc/ocaml-lwt/index_attributes.html
+share/doc/ocaml-lwt/index_class_types.html
+share/doc/ocaml-lwt/index_classes.html
+share/doc/ocaml-lwt/index_exceptions.html
+share/doc/ocaml-lwt/index_methods.html
+share/doc/ocaml-lwt/index_module_types.html
+share/doc/ocaml-lwt/index_modules.html
+share/doc/ocaml-lwt/index_types.html
+share/doc/ocaml-lwt/index_values.html
+share/doc/ocaml-lwt/style.css
+share/doc/ocaml-lwt/type_Lwt.html
+share/doc/ocaml-lwt/type_Lwt_chan.html
+share/doc/ocaml-lwt/type_Lwt_lib.html
+share/doc/ocaml-lwt/type_Lwt_mutex.html
+share/doc/ocaml-lwt/type_Lwt_pool.html
+share/doc/ocaml-lwt/type_Lwt_preemptive.html
+share/doc/ocaml-lwt/type_Lwt_ssl.html
+share/doc/ocaml-lwt/type_Lwt_timeout.html
+share/doc/ocaml-lwt/type_Lwt_unix.html
+share/doc/ocaml-lwt/type_Lwt_util.html
+share/doc/ocaml-lwt/type_Pqueue.Make.html
+share/doc/ocaml-lwt/type_Pqueue.OrderedType.html
+share/doc/ocaml-lwt/type_Pqueue.S.html
+share/doc/ocaml-lwt/type_Pqueue.html
+@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/lwt
+@dirrm lib/ocaml/site-lib/lwt
+@dirrm share/doc/ocaml-lwt
diff --git a/devel/ocaml-lwt/PLIST.opt b/devel/ocaml-lwt/PLIST.opt
new file mode 100644
index 00000000000..3f428b261fe
--- /dev/null
+++ b/devel/ocaml-lwt/PLIST.opt
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST.opt,v 1.1.1.1 2008/09/02 11:19:35 obache Exp $
+lib/ocaml/site-lib/lwt/lwt.a
+lib/ocaml/site-lib/lwt/lwt.cmx
+lib/ocaml/site-lib/lwt/lwt.cmxa
+lib/ocaml/site-lib/lwt/lwt_chan.cmx
+lib/ocaml/site-lib/lwt/lwt_extra.a
+lib/ocaml/site-lib/lwt/lwt_extra.cmxa
+lib/ocaml/site-lib/lwt/lwt_lib.cmx
+lib/ocaml/site-lib/lwt/lwt_mutex.cmx
+lib/ocaml/site-lib/lwt/lwt_pool.cmx
+lib/ocaml/site-lib/lwt/lwt_preemptive.a
+lib/ocaml/site-lib/lwt/lwt_preemptive.cmx
+lib/ocaml/site-lib/lwt/lwt_preemptive.cmxa
+lib/ocaml/site-lib/lwt/lwt_ssl.a
+lib/ocaml/site-lib/lwt/lwt_ssl.cmx
+lib/ocaml/site-lib/lwt/lwt_ssl.cmxa
+lib/ocaml/site-lib/lwt/lwt_timeout.cmx
+lib/ocaml/site-lib/lwt/lwt_unix.cmx
+lib/ocaml/site-lib/lwt/lwt_util.cmx
+lib/ocaml/site-lib/lwt/pqueue.cmx
diff --git a/devel/ocaml-lwt/distinfo b/devel/ocaml-lwt/distinfo
new file mode 100644
index 00000000000..f1af4705333
--- /dev/null
+++ b/devel/ocaml-lwt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/02 11:19:35 obache Exp $
+
+SHA1 (lwt-1.1.0.tar.gz) = 838d99ce53accb4d0a393c4dd0f757d130a6bc2c
+RMD160 (lwt-1.1.0.tar.gz) = e7359a29af3c91ac006dfb3fc1150264aa27927b
+Size (lwt-1.1.0.tar.gz) = 32844 bytes
+SHA1 (patch-aa) = 84e614fd2734309a4dc83fbda25a5cad175a3e0b
diff --git a/devel/ocaml-lwt/patches/patch-aa b/devel/ocaml-lwt/patches/patch-aa
new file mode 100644
index 00000000000..cfe1e9bab55
--- /dev/null
+++ b/devel/ocaml-lwt/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/02 11:19:35 obache Exp $
+
+--- Makefile.orig 2008-07-07 11:24:41.000000000 +0200
++++ Makefile 2008-07-07 11:24:56.000000000 +0200
+@@ -36,13 +36,13 @@
+ all: META byte opt doc
+
+ byte:
+- $(OCAMLBUILD) $(ARCHIVES_BYTE)
++ $(OCAMLBUILD) -byte-plugin $(ARCHIVES_BYTE)
+
+ opt:
+ $(OCAMLBUILD) $(ARCHIVES_OPT)
+
+ doc:
+- $(OCAMLBUILD) lwt.docdir/index.html
++ $(OCAMLBUILD) -byte-plugin lwt.docdir/index.html
+
+ examples:
+ $(MAKE) -C examples