summaryrefslogtreecommitdiff
path: root/devel/ocaml-extlib
diff options
context:
space:
mode:
authorjaapb <jaapb>2014-10-26 10:54:36 +0000
committerjaapb <jaapb>2014-10-26 10:54:36 +0000
commitb5b9b4b07a6a1c99a597d12a5e42708bc6430b74 (patch)
treedb19328a231c09309a61a0b2fed0d4c881cf1245 /devel/ocaml-extlib
parent6656d1b9dbdfdea1cdf3de740ccf201485892052 (diff)
downloadpkgsrc-b5b9b4b07a6a1c99a597d12a5e42708bc6430b74.tar.gz
Added devel/ocaml-extlib, an alternative standard library for OCaml. Will
come in handy as a dependency for a few things.
Diffstat (limited to 'devel/ocaml-extlib')
-rw-r--r--devel/ocaml-extlib/DESCR5
-rw-r--r--devel/ocaml-extlib/Makefile25
-rw-r--r--devel/ocaml-extlib/PLIST64
-rw-r--r--devel/ocaml-extlib/buildlink3.mk13
-rw-r--r--devel/ocaml-extlib/distinfo5
5 files changed, 112 insertions, 0 deletions
diff --git a/devel/ocaml-extlib/DESCR b/devel/ocaml-extlib/DESCR
new file mode 100644
index 00000000000..0a9bd4b910e
--- /dev/null
+++ b/devel/ocaml-extlib/DESCR
@@ -0,0 +1,5 @@
+ExtLib is a project aiming at providing a complete - yet small - standard
+library for the OCaml programming langage. The purpose of this library is to
+add new functions to OCaml Standard Library modules, to modify some functions
+in order to get better performances or more safety (tail-recursive) but also
+to provide new modules which should be useful for the average OCaml programmer.
diff --git a/devel/ocaml-extlib/Makefile b/devel/ocaml-extlib/Makefile
new file mode 100644
index 00000000000..b68da15e153
--- /dev/null
+++ b/devel/ocaml-extlib/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2014/10/26 10:54:36 jaapb Exp $
+
+DISTNAME= extlib-1.6.1
+CATEGORIES= devel
+MASTER_SITES= https://ocaml-extlib.googlecode.com/files/
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= http://code.google.com/p/ocaml-extlib/
+COMMENT= Alternative standard library for OCaml
+LICENSE= gnu-lgpl-v2.1
+
+USE_TOOLS+= gmake
+MAKE_JOBS_SAFE= no
+
+OCAML_USE_FINDLIB= yes
+
+.include "../../mk/ocaml.mk"
+
+BUILD_TARGET= all
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+BUILD_TARGET+= opt
+.endif
+
+.include "../../lang/camlp4/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-extlib/PLIST b/devel/ocaml-extlib/PLIST
new file mode 100644
index 00000000000..b18c88b3034
--- /dev/null
+++ b/devel/ocaml-extlib/PLIST
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1 2014/10/26 10:54:36 jaapb Exp $
+${OCAML_SITELIB}/extlib/IO.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/IO.cmx
+${OCAML_SITELIB}/extlib/IO.mli
+${OCAML_SITELIB}/extlib/META
+${OCAML_SITELIB}/extlib/base64.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/base64.cmx
+${OCAML_SITELIB}/extlib/base64.mli
+${OCAML_SITELIB}/extlib/bitSet.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/bitSet.cmx
+${OCAML_SITELIB}/extlib/bitSet.mli
+${OCAML_SITELIB}/extlib/dllist.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/dllist.cmx
+${OCAML_SITELIB}/extlib/dllist.mli
+${OCAML_SITELIB}/extlib/dynArray.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/dynArray.cmx
+${OCAML_SITELIB}/extlib/dynArray.mli
+${OCAML_SITELIB}/extlib/enum.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/enum.cmx
+${OCAML_SITELIB}/extlib/enum.mli
+${OCAML_SITELIB}/extlib/extArray.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extArray.cmx
+${OCAML_SITELIB}/extlib/extArray.mli
+${OCAML_SITELIB}/extlib/extHashtbl.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extHashtbl.cmx
+${OCAML_SITELIB}/extlib/extHashtbl.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extLib.a
+${OCAML_SITELIB}/extlib/extLib.cma
+${OCAML_SITELIB}/extlib/extLib.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extLib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extLib.cmxa
+${OCAML_SITELIB}/extlib/extList.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extList.cmx
+${OCAML_SITELIB}/extlib/extList.mli
+${OCAML_SITELIB}/extlib/extString.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/extString.cmx
+${OCAML_SITELIB}/extlib/extString.mli
+${OCAML_SITELIB}/extlib/global.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/global.cmx
+${OCAML_SITELIB}/extlib/global.mli
+${OCAML_SITELIB}/extlib/optParse.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/optParse.cmx
+${OCAML_SITELIB}/extlib/optParse.mli
+${OCAML_SITELIB}/extlib/option.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/option.cmx
+${OCAML_SITELIB}/extlib/option.mli
+${OCAML_SITELIB}/extlib/pMap.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/pMap.cmx
+${OCAML_SITELIB}/extlib/pMap.mli
+${OCAML_SITELIB}/extlib/refList.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/refList.cmx
+${OCAML_SITELIB}/extlib/refList.mli
+${OCAML_SITELIB}/extlib/std.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/std.cmx
+${OCAML_SITELIB}/extlib/std.mli
+${OCAML_SITELIB}/extlib/uChar.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/uChar.cmx
+${OCAML_SITELIB}/extlib/uChar.mli
+${OCAML_SITELIB}/extlib/uTF8.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/uTF8.cmx
+${OCAML_SITELIB}/extlib/uTF8.mli
+${OCAML_SITELIB}/extlib/unzip.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/extlib/unzip.cmx
+${OCAML_SITELIB}/extlib/unzip.mli
diff --git a/devel/ocaml-extlib/buildlink3.mk b/devel/ocaml-extlib/buildlink3.mk
new file mode 100644
index 00000000000..9acae290eca
--- /dev/null
+++ b/devel/ocaml-extlib/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/10/26 10:54:36 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-extlib
+
+.if !defined(OCAML_EXTLIB_BUILDLINK3_MK)
+OCAML_EXTLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-extlib+= ocaml-extlib>=1.6.1
+BUILDLINK_PKGSRCDIR.ocaml-extlib?= ../../devel/ocaml-extlib
+
+.endif # OCAML_EXTLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-extlib
diff --git a/devel/ocaml-extlib/distinfo b/devel/ocaml-extlib/distinfo
new file mode 100644
index 00000000000..35e33e287d0
--- /dev/null
+++ b/devel/ocaml-extlib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/10/26 10:54:36 jaapb Exp $
+
+SHA1 (extlib-1.6.1.tar.gz) = 0022ed273affff85432d5587d46a8721817d315e
+RMD160 (extlib-1.6.1.tar.gz) = 4d92f55e71ee6effe58b07126458caa118472aa3
+Size (extlib-1.6.1.tar.gz) = 72780 bytes