summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ml
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild21
-rw-r--r--dev-ml/ANSITerminal/Manifest1
-rw-r--r--dev-ml/ANSITerminal/metadata.xml5
-rw-r--r--dev-ml/async/Manifest3
-rw-r--r--dev-ml/async/async-112.17.00.ebuild39
-rw-r--r--dev-ml/async/async-112.24.00.ebuild39
-rw-r--r--dev-ml/async/async-112.35.00.ebuild39
-rw-r--r--dev-ml/async/metadata.xml5
-rw-r--r--dev-ml/async_extra/Manifest3
-rw-r--r--dev-ml/async_extra/async_extra-112.17.00.ebuild37
-rw-r--r--dev-ml/async_extra/async_extra-112.24.00.ebuild37
-rw-r--r--dev-ml/async_extra/async_extra-112.35.00.ebuild38
-rw-r--r--dev-ml/async_extra/metadata.xml5
-rw-r--r--dev-ml/async_kernel/Manifest3
-rw-r--r--dev-ml/async_kernel/async_kernel-112.17.00.ebuild33
-rw-r--r--dev-ml/async_kernel/async_kernel-112.24.00.ebuild33
-rw-r--r--dev-ml/async_kernel/async_kernel-112.35.00.ebuild33
-rw-r--r--dev-ml/async_kernel/metadata.xml5
-rw-r--r--dev-ml/async_rpc_kernel/Manifest1
-rw-r--r--dev-ml/async_rpc_kernel/async_rpc_kernel-112.35.00.ebuild29
-rw-r--r--dev-ml/async_rpc_kernel/metadata.xml8
-rw-r--r--dev-ml/async_unix/Manifest3
-rw-r--r--dev-ml/async_unix/async_unix-112.17.00.ebuild36
-rw-r--r--dev-ml/async_unix/async_unix-112.24.00.ebuild36
-rw-r--r--dev-ml/async_unix/async_unix-112.35.00.ebuild36
-rw-r--r--dev-ml/async_unix/metadata.xml5
-rw-r--r--dev-ml/batteries/Manifest3
-rw-r--r--dev-ml/batteries/batteries-2.1.ebuild23
-rw-r--r--dev-ml/batteries/batteries-2.2.ebuild22
-rw-r--r--dev-ml/batteries/batteries-2.3.ebuild22
-rw-r--r--dev-ml/batteries/files/batteries-2.1-ocaml-4.01.patch21
-rw-r--r--dev-ml/batteries/metadata.xml5
-rw-r--r--dev-ml/bin-prot/Manifest3
-rw-r--r--dev-ml/bin-prot/bin-prot-112.17.00.ebuild28
-rw-r--r--dev-ml/bin-prot/bin-prot-112.24.00.ebuild28
-rw-r--r--dev-ml/bin-prot/bin-prot-112.35.00.ebuild28
-rw-r--r--dev-ml/bin-prot/metadata.xml5
-rw-r--r--dev-ml/biniou/Manifest1
-rw-r--r--dev-ml/biniou/biniou-1.0.9.ebuild32
-rw-r--r--dev-ml/biniou/metadata.xml5
-rw-r--r--dev-ml/bolt/Manifest1
-rw-r--r--dev-ml/bolt/bolt-1.4.ebuild39
-rw-r--r--dev-ml/bolt/metadata.xml5
-rw-r--r--dev-ml/cairo-ocaml/Manifest1
-rw-r--r--dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild92
-rw-r--r--dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch26
-rw-r--r--dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch27
-rw-r--r--dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch39
-rw-r--r--dev-ml/cairo-ocaml/files/0004-no-automagic.patch25
-rw-r--r--dev-ml/cairo-ocaml/metadata.xml13
-rw-r--r--dev-ml/calendar/Manifest1
-rw-r--r--dev-ml/calendar/calendar-2.03.2.ebuild34
-rw-r--r--dev-ml/calendar/metadata.xml5
-rw-r--r--dev-ml/camlbz2/Manifest1
-rw-r--r--dev-ml/camlbz2/camlbz2-0.6.0.ebuild27
-rw-r--r--dev-ml/camlbz2/metadata.xml5
-rw-r--r--dev-ml/camldbm/Manifest1
-rw-r--r--dev-ml/camldbm/camldbm-1.0.ebuild29
-rw-r--r--dev-ml/camldbm/files/hasgotfix.patch15
-rw-r--r--dev-ml/camldbm/files/include_fix.patch15
-rw-r--r--dev-ml/camldbm/metadata.xml5
-rw-r--r--dev-ml/camlidl/Manifest1
-rw-r--r--dev-ml/camlidl/camlidl-1.05-r1.ebuild53
-rw-r--r--dev-ml/camlidl/files/META.camlidl5
-rw-r--r--dev-ml/camlidl/files/includes.patch12
-rw-r--r--dev-ml/camlidl/files/tests.patch36
-rw-r--r--dev-ml/camlidl/metadata.xml5
-rw-r--r--dev-ml/camlimages/Manifest4
-rw-r--r--dev-ml/camlimages/camlimages-4.0.1.ebuild74
-rw-r--r--dev-ml/camlimages/camlimages-4.1.1.ebuild65
-rw-r--r--dev-ml/camlimages/camlimages-4.1.2.ebuild66
-rw-r--r--dev-ml/camlimages/camlimages-4.2.1.ebuild66
-rw-r--r--dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch67
-rw-r--r--dev-ml/camlimages/metadata.xml5
-rw-r--r--dev-ml/camlp4/Manifest1
-rw-r--r--dev-ml/camlp4/camlp4-4.02.1_p3.ebuild42
-rw-r--r--dev-ml/camlp4/metadata.xml8
-rw-r--r--dev-ml/camlp5/Manifest3
-rw-r--r--dev-ml/camlp5/camlp5-6.12.ebuild67
-rw-r--r--dev-ml/camlp5/camlp5-6.13.ebuild67
-rw-r--r--dev-ml/camlp5/camlp5-6.14.ebuild67
-rw-r--r--dev-ml/camlp5/metadata.xml5
-rw-r--r--dev-ml/camlpdf/Manifest1
-rw-r--r--dev-ml/camlpdf/camlpdf-2.1.1.ebuild37
-rw-r--r--dev-ml/camlpdf/metadata.xml11
-rw-r--r--dev-ml/camlzip/Manifest1
-rw-r--r--dev-ml/camlzip/camlzip-1.05.ebuild35
-rw-r--r--dev-ml/camlzip/metadata.xml5
-rw-r--r--dev-ml/camomile/Manifest2
-rw-r--r--dev-ml/camomile/camomile-0.8.4.ebuild38
-rw-r--r--dev-ml/camomile/camomile-0.8.5.ebuild38
-rw-r--r--dev-ml/camomile/metadata.xml8
-rw-r--r--dev-ml/cmdliner/Manifest1
-rw-r--r--dev-ml/cmdliner/cmdliner-0.9.7.ebuild37
-rw-r--r--dev-ml/cmdliner/metadata.xml5
-rw-r--r--dev-ml/comparelib/Manifest2
-rw-r--r--dev-ml/comparelib/comparelib-109.27.00.ebuild22
-rw-r--r--dev-ml/comparelib/comparelib-109.60.00.ebuild23
-rw-r--r--dev-ml/comparelib/metadata.xml5
-rw-r--r--dev-ml/core/Manifest5
-rw-r--r--dev-ml/core/core-112.17.00.ebuild40
-rw-r--r--dev-ml/core/core-112.24.00.ebuild40
-rw-r--r--dev-ml/core/core-112.24.01.ebuild40
-rw-r--r--dev-ml/core/core-112.35.00.ebuild41
-rw-r--r--dev-ml/core/core-112.35.01.ebuild41
-rw-r--r--dev-ml/core/metadata.xml14
-rw-r--r--dev-ml/core_bench/Manifest2
-rw-r--r--dev-ml/core_bench/core_bench-112.17.00.ebuild29
-rw-r--r--dev-ml/core_bench/core_bench-112.35.00.ebuild29
-rw-r--r--dev-ml/core_bench/metadata.xml5
-rw-r--r--dev-ml/core_extended/Manifest3
-rw-r--r--dev-ml/core_extended/core_extended-112.17.00.ebuild37
-rw-r--r--dev-ml/core_extended/core_extended-112.24.00.ebuild37
-rw-r--r--dev-ml/core_extended/core_extended-112.35.00.ebuild37
-rw-r--r--dev-ml/core_extended/metadata.xml5
-rw-r--r--dev-ml/core_kernel/Manifest4
-rw-r--r--dev-ml/core_kernel/core_kernel-112.06.02.ebuild45
-rw-r--r--dev-ml/core_kernel/core_kernel-112.17.00.ebuild42
-rw-r--r--dev-ml/core_kernel/core_kernel-112.24.00.ebuild42
-rw-r--r--dev-ml/core_kernel/core_kernel-112.35.00.ebuild42
-rw-r--r--dev-ml/core_kernel/metadata.xml13
-rw-r--r--dev-ml/core_profiler/Manifest1
-rw-r--r--dev-ml/core_profiler/core_profiler-112.35.00.ebuild33
-rw-r--r--dev-ml/core_profiler/metadata.xml5
-rw-r--r--dev-ml/cppo/Manifest3
-rw-r--r--dev-ml/cppo/cppo-0.9.3.ebuild28
-rw-r--r--dev-ml/cppo/cppo-1.0.1.ebuild31
-rw-r--r--dev-ml/cppo/cppo-1.1.2.ebuild31
-rw-r--r--dev-ml/cppo/metadata.xml5
-rw-r--r--dev-ml/cryptokit/Manifest3
-rw-r--r--dev-ml/cryptokit/cryptokit-1.10.ebuild49
-rw-r--r--dev-ml/cryptokit/cryptokit-1.7.ebuild48
-rw-r--r--dev-ml/cryptokit/cryptokit-1.9.ebuild49
-rw-r--r--dev-ml/cryptokit/metadata.xml5
-rw-r--r--dev-ml/csv/Manifest3
-rw-r--r--dev-ml/csv/csv-1.3.0.ebuild24
-rw-r--r--dev-ml/csv/csv-1.3.3.ebuild24
-rw-r--r--dev-ml/csv/csv-1.4.ebuild24
-rw-r--r--dev-ml/csv/metadata.xml8
-rw-r--r--dev-ml/cudf/Manifest2
-rw-r--r--dev-ml/cudf/cudf-0.7.ebuild65
-rw-r--r--dev-ml/cudf/cudf-0.8.ebuild65
-rw-r--r--dev-ml/cudf/metadata.xml5
-rw-r--r--dev-ml/custom_printf/Manifest2
-rw-r--r--dev-ml/custom_printf/custom_printf-112.17.00.ebuild24
-rw-r--r--dev-ml/custom_printf/custom_printf-112.24.00.ebuild24
-rw-r--r--dev-ml/custom_printf/metadata.xml8
-rw-r--r--dev-ml/deriving-ocsigen/Manifest1
-rw-r--r--dev-ml/deriving-ocsigen/deriving-ocsigen-0.3c.ebuild51
-rw-r--r--dev-ml/deriving-ocsigen/metadata.xml8
-rw-r--r--dev-ml/deriving/Manifest2
-rw-r--r--dev-ml/deriving/deriving-0.6.2.ebuild28
-rw-r--r--dev-ml/deriving/deriving-0.7.ebuild36
-rw-r--r--dev-ml/deriving/metadata.xml8
-rw-r--r--dev-ml/dose3/Manifest3
-rw-r--r--dev-ml/dose3/dose3-3.3.ebuild58
-rw-r--r--dev-ml/dose3/dose3-3.3_beta2-r2.ebuild55
-rw-r--r--dev-ml/dose3/dose3-4.0_rc3.ebuild60
-rw-r--r--dev-ml/dose3/metadata.xml10
-rw-r--r--dev-ml/easy-format/Manifest1
-rw-r--r--dev-ml/easy-format/easy-format-1.0.2.ebuild34
-rw-r--r--dev-ml/easy-format/metadata.xml5
-rw-r--r--dev-ml/eliom/Manifest3
-rw-r--r--dev-ml/eliom/eliom-3.0.3.ebuild61
-rw-r--r--dev-ml/eliom/eliom-4.1.0-r1.ebuild60
-rw-r--r--dev-ml/eliom/eliom-4.1.0.ebuild54
-rw-r--r--dev-ml/eliom/eliom-4.2.ebuild56
-rw-r--r--dev-ml/eliom/files/lwt.patch70
-rw-r--r--dev-ml/eliom/metadata.xml8
-rw-r--r--dev-ml/enumerate/Manifest1
-rw-r--r--dev-ml/enumerate/enumerate-111.08.00.ebuild27
-rw-r--r--dev-ml/enumerate/metadata.xml5
-rw-r--r--dev-ml/extlib/Manifest2
-rw-r--r--dev-ml/extlib/extlib-1.5.4.ebuild39
-rw-r--r--dev-ml/extlib/extlib-1.6.1.ebuild42
-rw-r--r--dev-ml/extlib/metadata.xml8
-rw-r--r--dev-ml/facile/Manifest1
-rw-r--r--dev-ml/facile/facile-1.1.ebuild52
-rw-r--r--dev-ml/facile/files/facile-1.1-make.patch48
-rw-r--r--dev-ml/facile/files/facile-1.1-ocaml4.patch29
-rw-r--r--dev-ml/facile/metadata.xml6
-rw-r--r--dev-ml/faillib/Manifest2
-rw-r--r--dev-ml/faillib/faillib-109.60.00.ebuild24
-rw-r--r--dev-ml/faillib/faillib-111.17.00.ebuild25
-rw-r--r--dev-ml/faillib/metadata.xml5
-rw-r--r--dev-ml/fieldslib/Manifest3
-rw-r--r--dev-ml/fieldslib/fieldslib-109.20.00.ebuild26
-rw-r--r--dev-ml/fieldslib/fieldslib-109.20.02.ebuild26
-rw-r--r--dev-ml/fieldslib/fieldslib-109.20.03.ebuild27
-rw-r--r--dev-ml/fieldslib/metadata.xml11
-rw-r--r--dev-ml/findlib/Manifest2
-rw-r--r--dev-ml/findlib/files/externalmeta.patch13
-rw-r--r--dev-ml/findlib/findlib-1.4.ebuild70
-rw-r--r--dev-ml/findlib/findlib-1.5.5-r1.ebuild75
-rw-r--r--dev-ml/findlib/findlib-1.5.5.ebuild70
-rw-r--r--dev-ml/findlib/metadata.xml5
-rw-r--r--dev-ml/fort/Manifest1
-rw-r--r--dev-ml/fort/files/fort-0.4.2-ocaml4.patch22
-rw-r--r--dev-ml/fort/fort-0.4.2.ebuild30
-rw-r--r--dev-ml/fort/metadata.xml15
-rw-r--r--dev-ml/gd4o/Manifest1
-rw-r--r--dev-ml/gd4o/gd4o-1.0_alpha5.ebuild55
-rw-r--r--dev-ml/gd4o/metadata.xml8
-rw-r--r--dev-ml/herelib/Manifest3
-rw-r--r--dev-ml/herelib/herelib-109.35.00.ebuild23
-rw-r--r--dev-ml/herelib/herelib-109.35.02.ebuild25
-rw-r--r--dev-ml/herelib/herelib-112.35.00.ebuild25
-rw-r--r--dev-ml/herelib/metadata.xml5
-rw-r--r--dev-ml/iTeML/Manifest1
-rw-r--r--dev-ml/iTeML/iTeML-2.0.1.ebuild28
-rw-r--r--dev-ml/iTeML/metadata.xml8
-rw-r--r--dev-ml/incremental/Manifest1
-rw-r--r--dev-ml/incremental/incremental-112.35.00.ebuild28
-rw-r--r--dev-ml/incremental/metadata.xml5
-rw-r--r--dev-ml/js_of_ocaml/Manifest4
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild39
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild39
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild44
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild43
-rw-r--r--dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild46
-rw-r--r--dev-ml/js_of_ocaml/metadata.xml12
-rw-r--r--dev-ml/jsonm/Manifest1
-rw-r--r--dev-ml/jsonm/jsonm-0.9.1.ebuild27
-rw-r--r--dev-ml/jsonm/metadata.xml5
-rw-r--r--dev-ml/kaputt/Manifest1
-rw-r--r--dev-ml/kaputt/kaputt-1.2.ebuild37
-rw-r--r--dev-ml/kaputt/metadata.xml5
-rw-r--r--dev-ml/lablgl/Manifest2
-rw-r--r--dev-ml/lablgl/lablgl-1.04-r1.ebuild93
-rw-r--r--dev-ml/lablgl/lablgl-1.05.ebuild95
-rw-r--r--dev-ml/lablgl/metadata.xml5
-rw-r--r--dev-ml/lablgtk/Manifest3
-rw-r--r--dev-ml/lablgtk/lablgtk-2.18.0-r1.ebuild82
-rw-r--r--dev-ml/lablgtk/lablgtk-2.18.2.ebuild82
-rw-r--r--dev-ml/lablgtk/lablgtk-2.18.3.ebuild83
-rw-r--r--dev-ml/lablgtk/metadata.xml10
-rw-r--r--dev-ml/labltk/Manifest1
-rw-r--r--dev-ml/labltk/files/findlib.patch20
-rw-r--r--dev-ml/labltk/labltk-8.06.0.ebuild44
-rw-r--r--dev-ml/labltk/metadata.xml5
-rw-r--r--dev-ml/lambda-term/Manifest2
-rw-r--r--dev-ml/lambda-term/lambda-term-1.8.ebuild28
-rw-r--r--dev-ml/lambda-term/lambda-term-1.9.ebuild28
-rw-r--r--dev-ml/lambda-term/metadata.xml8
-rw-r--r--dev-ml/lwt/Manifest3
-rw-r--r--dev-ml/lwt/files/lwt-2.4.3-ocaml-4.01.patch36
-rw-r--r--dev-ml/lwt/lwt-2.4.3.ebuild38
-rw-r--r--dev-ml/lwt/lwt-2.4.6.ebuild43
-rw-r--r--dev-ml/lwt/lwt-2.5.0.ebuild41
-rw-r--r--dev-ml/lwt/metadata.xml22
-rw-r--r--dev-ml/macaque/Manifest1
-rw-r--r--dev-ml/macaque/macaque-0.7.2.ebuild21
-rw-r--r--dev-ml/macaque/metadata.xml8
-rw-r--r--dev-ml/menhir/Manifest3
-rw-r--r--dev-ml/menhir/menhir-20130116.ebuild36
-rw-r--r--dev-ml/menhir/menhir-20140422.ebuild36
-rw-r--r--dev-ml/menhir/menhir-20141215.ebuild36
-rw-r--r--dev-ml/menhir/metadata.xml5
-rw-r--r--dev-ml/metadata.xml40
-rw-r--r--dev-ml/oasis/Manifest4
-rw-r--r--dev-ml/oasis/metadata.xml5
-rw-r--r--dev-ml/oasis/oasis-0.3.0.ebuild36
-rw-r--r--dev-ml/oasis/oasis-0.4.1.ebuild37
-rw-r--r--dev-ml/oasis/oasis-0.4.4.ebuild38
-rw-r--r--dev-ml/oasis/oasis-0.4.5.ebuild38
-rw-r--r--dev-ml/ocaml-augeas/Manifest1
-rw-r--r--dev-ml/ocaml-augeas/metadata.xml11
-rw-r--r--dev-ml/ocaml-augeas/ocaml-augeas-0.5.ebuild27
-rw-r--r--dev-ml/ocaml-autoconf/Manifest1
-rw-r--r--dev-ml/ocaml-autoconf/metadata.xml5
-rw-r--r--dev-ml/ocaml-autoconf/ocaml-autoconf-1.1.ebuild22
-rw-r--r--dev-ml/ocaml-base64/Manifest1
-rw-r--r--dev-ml/ocaml-base64/metadata.xml8
-rw-r--r--dev-ml/ocaml-base64/ocaml-base64-2.0.0.ebuild24
-rw-r--r--dev-ml/ocaml-ctypes/Manifest1
-rw-r--r--dev-ml/ocaml-ctypes/metadata.xml8
-rw-r--r--dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.1.ebuild36
-rw-r--r--dev-ml/ocaml-data-notation/Manifest2
-rw-r--r--dev-ml/ocaml-data-notation/metadata.xml10
-rw-r--r--dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.10.ebuild28
-rw-r--r--dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.11.ebuild25
-rw-r--r--dev-ml/ocaml-doc/Manifest1
-rw-r--r--dev-ml/ocaml-doc/metadata.xml5
-rw-r--r--dev-ml/ocaml-doc/ocaml-doc-3.12.ebuild23
-rw-r--r--dev-ml/ocaml-expat/Manifest1
-rw-r--r--dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch35
-rw-r--r--dev-ml/ocaml-expat/metadata.xml5
-rw-r--r--dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild51
-rw-r--r--dev-ml/ocaml-expect/Manifest2
-rw-r--r--dev-ml/ocaml-expect/metadata.xml10
-rw-r--r--dev-ml/ocaml-expect/ocaml-expect-0.0.3.ebuild26
-rw-r--r--dev-ml/ocaml-expect/ocaml-expect-0.0.4.ebuild27
-rw-r--r--dev-ml/ocaml-fileutils/Manifest2
-rw-r--r--dev-ml/ocaml-fileutils/metadata.xml10
-rw-r--r--dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.5.ebuild25
-rw-r--r--dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.0.ebuild25
-rw-r--r--dev-ml/ocaml-gettext/Manifest2
-rw-r--r--dev-ml/ocaml-gettext/metadata.xml5
-rw-r--r--dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild47
-rw-r--r--dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild48
-rw-r--r--dev-ml/ocaml-ipaddr/Manifest2
-rw-r--r--dev-ml/ocaml-ipaddr/metadata.xml8
-rw-r--r--dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.5.0.ebuild23
-rw-r--r--dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.6.1.ebuild23
-rw-r--r--dev-ml/ocaml-make/Manifest1
-rw-r--r--dev-ml/ocaml-make/metadata.xml8
-rw-r--r--dev-ml/ocaml-make/ocaml-make-6.37.0.ebuild32
-rw-r--r--dev-ml/ocaml-mysql/Manifest2
-rw-r--r--dev-ml/ocaml-mysql/metadata.xml5
-rw-r--r--dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild39
-rw-r--r--dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild39
-rw-r--r--dev-ml/ocaml-re/Manifest4
-rw-r--r--dev-ml/ocaml-re/metadata.xml8
-rw-r--r--dev-ml/ocaml-re/ocaml-re-1.3.1.ebuild25
-rw-r--r--dev-ml/ocaml-re/ocaml-re-1.3.2.ebuild25
-rw-r--r--dev-ml/ocaml-re/ocaml-re-1.4.0.ebuild25
-rw-r--r--dev-ml/ocaml-re/ocaml-re-1.4.1.ebuild25
-rw-r--r--dev-ml/ocaml-safepass/Manifest1
-rw-r--r--dev-ml/ocaml-safepass/metadata.xml5
-rw-r--r--dev-ml/ocaml-safepass/ocaml-safepass-1.2.ebuild23
-rw-r--r--dev-ml/ocaml-sha/Manifest2
-rw-r--r--dev-ml/ocaml-sha/metadata.xml8
-rw-r--r--dev-ml/ocaml-sha/ocaml-sha-1.8.ebuild28
-rw-r--r--dev-ml/ocaml-sha/ocaml-sha-1.9.ebuild29
-rw-r--r--dev-ml/ocaml-sqlite3/Manifest4
-rw-r--r--dev-ml/ocaml-sqlite3/metadata.xml8
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.4.ebuild29
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.5.ebuild29
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.7.ebuild29
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.9.ebuild29
-rw-r--r--dev-ml/ocaml-ssl/Manifest3
-rw-r--r--dev-ml/ocaml-ssl/metadata.xml8
-rw-r--r--dev-ml/ocaml-ssl/ocaml-ssl-0.4.6.ebuild35
-rw-r--r--dev-ml/ocaml-ssl/ocaml-ssl-0.4.7.ebuild35
-rw-r--r--dev-ml/ocaml-ssl/ocaml-ssl-0.5.1.ebuild35
-rw-r--r--dev-ml/ocaml-text/Manifest2
-rw-r--r--dev-ml/ocaml-text/metadata.xml8
-rw-r--r--dev-ml/ocaml-text/ocaml-text-0.6.ebuild31
-rw-r--r--dev-ml/ocaml-text/ocaml-text-0.8.ebuild37
-rw-r--r--dev-ml/ocamldap/Manifest1
-rw-r--r--dev-ml/ocamldap/files/ocaml-4.02.patch13
-rw-r--r--dev-ml/ocamldap/metadata.xml21
-rw-r--r--dev-ml/ocamldap/ocamldap-2.2.ebuild29
-rw-r--r--dev-ml/ocamldsort/Manifest1
-rw-r--r--dev-ml/ocamldsort/metadata.xml5
-rw-r--r--dev-ml/ocamldsort/ocamldsort-0.16.0.ebuild27
-rw-r--r--dev-ml/ocamlgraph/Manifest2
-rw-r--r--dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch21
-rw-r--r--dev-ml/ocamlgraph/files/ocamlgraph-1.8.5-installfindlib.patch38
-rw-r--r--dev-ml/ocamlgraph/metadata.xml5
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild56
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-1.8.5.ebuild62
-rw-r--r--dev-ml/ocamlgsl/Manifest1
-rw-r--r--dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch31
-rw-r--r--dev-ml/ocamlgsl/metadata.xml9
-rw-r--r--dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild38
-rw-r--r--dev-ml/ocamlify/Manifest1
-rw-r--r--dev-ml/ocamlify/metadata.xml5
-rw-r--r--dev-ml/ocamlify/ocamlify-0.0.2.ebuild21
-rw-r--r--dev-ml/ocamlmod/Manifest2
-rw-r--r--dev-ml/ocamlmod/metadata.xml5
-rw-r--r--dev-ml/ocamlmod/ocamlmod-0.0.3.ebuild24
-rw-r--r--dev-ml/ocamlmod/ocamlmod-0.0.7.ebuild24
-rw-r--r--dev-ml/ocamlnet/Manifest4
-rw-r--r--dev-ml/ocamlnet/metadata.xml10
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild76
-rw-r--r--dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild78
-rw-r--r--dev-ml/ocamlnet/ocamlnet-4.0.3.ebuild78
-rw-r--r--dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild78
-rw-r--r--dev-ml/ocamlpam/Manifest1
-rw-r--r--dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch17
-rw-r--r--dev-ml/ocamlpam/metadata.xml5
-rw-r--r--dev-ml/ocamlpam/ocamlpam-1.1.ebuild37
-rw-r--r--dev-ml/ocamlsdl/Manifest1
-rw-r--r--dev-ml/ocamlsdl/files/ocamlopt.patch22
-rw-r--r--dev-ml/ocamlsdl/metadata.xml8
-rw-r--r--dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild64
-rw-r--r--dev-ml/ocamlweb/Manifest2
-rw-r--r--dev-ml/ocamlweb/files/ocamlweb-1.37-strip.patch19
-rw-r--r--dev-ml/ocamlweb/metadata.xml5
-rw-r--r--dev-ml/ocamlweb/ocamlweb-1.38-r1.ebuild35
-rw-r--r--dev-ml/ocamlweb/ocamlweb-1.39.ebuild35
-rw-r--r--dev-ml/ocurl/Manifest3
-rw-r--r--dev-ml/ocurl/metadata.xml5
-rw-r--r--dev-ml/ocurl/ocurl-0.6.1.ebuild36
-rw-r--r--dev-ml/ocurl/ocurl-0.7.4.ebuild37
-rw-r--r--dev-ml/ocurl/ocurl-0.7.5.ebuild37
-rw-r--r--dev-ml/odns/Manifest1
-rw-r--r--dev-ml/odns/files/odns-0.3-parmake.patch16
-rw-r--r--dev-ml/odns/metadata.xml5
-rw-r--r--dev-ml/odns/odns-0.3.ebuild36
-rw-r--r--dev-ml/opam/Manifest3
-rw-r--r--dev-ml/opam/metadata.xml8
-rw-r--r--dev-ml/opam/opam-1.2.0.ebuild51
-rw-r--r--dev-ml/opam/opam-1.2.1.ebuild51
-rw-r--r--dev-ml/opam/opam-1.2.2.ebuild51
-rw-r--r--dev-ml/optcomp/Manifest2
-rw-r--r--dev-ml/optcomp/metadata.xml8
-rw-r--r--dev-ml/optcomp/optcomp-1.5.ebuild23
-rw-r--r--dev-ml/optcomp/optcomp-1.6.ebuild23
-rw-r--r--dev-ml/ounit/Manifest2
-rw-r--r--dev-ml/ounit/metadata.xml5
-rw-r--r--dev-ml/ounit/ounit-1.1.2.ebuild21
-rw-r--r--dev-ml/ounit/ounit-2.0.0.ebuild21
-rw-r--r--dev-ml/pa_bench/Manifest3
-rw-r--r--dev-ml/pa_bench/metadata.xml5
-rw-r--r--dev-ml/pa_bench/pa_bench-109.55.02.ebuild24
-rw-r--r--dev-ml/pa_bench/pa_bench-111.28.00.ebuild25
-rw-r--r--dev-ml/pa_bench/pa_bench-112.06.00.ebuild25
-rw-r--r--dev-ml/pa_ounit/Manifest3
-rw-r--r--dev-ml/pa_ounit/metadata.xml14
-rw-r--r--dev-ml/pa_ounit/pa_ounit-112.17.00.ebuild22
-rw-r--r--dev-ml/pa_ounit/pa_ounit-112.24.00.ebuild22
-rw-r--r--dev-ml/pa_ounit/pa_ounit-112.35.00.ebuild22
-rw-r--r--dev-ml/pa_structural_sexp/Manifest1
-rw-r--r--dev-ml/pa_structural_sexp/metadata.xml8
-rw-r--r--dev-ml/pa_structural_sexp/pa_structural_sexp-112.35.00.ebuild23
-rw-r--r--dev-ml/pa_test/Manifest2
-rw-r--r--dev-ml/pa_test/metadata.xml5
-rw-r--r--dev-ml/pa_test/pa_test-111.08.01.ebuild26
-rw-r--r--dev-ml/pa_test/pa_test-112.24.00.ebuild27
-rw-r--r--dev-ml/parmap/Manifest1
-rw-r--r--dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch16
-rw-r--r--dev-ml/parmap/metadata.xml8
-rw-r--r--dev-ml/parmap/parmap-1.0_rc6.ebuild51
-rw-r--r--dev-ml/pcre-ocaml/Manifest5
-rw-r--r--dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch10
-rw-r--r--dev-ml/pcre-ocaml/metadata.xml8
-rw-r--r--dev-ml/pcre-ocaml/pcre-ocaml-6.2.5.ebuild46
-rw-r--r--dev-ml/pcre-ocaml/pcre-ocaml-7.0.2.ebuild31
-rw-r--r--dev-ml/pcre-ocaml/pcre-ocaml-7.0.4.ebuild31
-rw-r--r--dev-ml/pcre-ocaml/pcre-ocaml-7.1.3.ebuild31
-rw-r--r--dev-ml/pcre-ocaml/pcre-ocaml-7.1.5.ebuild31
-rw-r--r--dev-ml/pgocaml/Manifest3
-rw-r--r--dev-ml/pgocaml/metadata.xml8
-rw-r--r--dev-ml/pgocaml/pgocaml-1.7.1.ebuild27
-rw-r--r--dev-ml/pgocaml/pgocaml-2.1.ebuild29
-rw-r--r--dev-ml/pgocaml/pgocaml-2.2.ebuild29
-rw-r--r--dev-ml/pipebang/Manifest3
-rw-r--r--dev-ml/pipebang/metadata.xml8
-rw-r--r--dev-ml/pipebang/pipebang-109.28.00.ebuild20
-rw-r--r--dev-ml/pipebang/pipebang-109.60.00.ebuild20
-rw-r--r--dev-ml/pipebang/pipebang-110.01.00.ebuild21
-rw-r--r--dev-ml/pomap/Manifest3
-rw-r--r--dev-ml/pomap/metadata.xml8
-rw-r--r--dev-ml/pomap/pomap-3.0.2.ebuild31
-rw-r--r--dev-ml/pomap/pomap-3.0.3.ebuild31
-rw-r--r--dev-ml/pomap/pomap-3.0.5.ebuild31
-rw-r--r--dev-ml/postgresql-ocaml/Manifest4
-rw-r--r--dev-ml/postgresql-ocaml/metadata.xml8
-rw-r--r--dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.5.ebuild31
-rw-r--r--dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.6.ebuild31
-rw-r--r--dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.0.ebuild34
-rw-r--r--dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.1.ebuild34
-rw-r--r--dev-ml/pxp/Manifest2
-rw-r--r--dev-ml/pxp/metadata.xml5
-rw-r--r--dev-ml/pxp/pxp-1.2.4.ebuild51
-rw-r--r--dev-ml/pxp/pxp-1.2.7.ebuild51
-rw-r--r--dev-ml/re2/Manifest5
-rw-r--r--dev-ml/re2/metadata.xml5
-rw-r--r--dev-ml/re2/re2-109.55.02.ebuild30
-rw-r--r--dev-ml/re2/re2-109.55.04.ebuild30
-rw-r--r--dev-ml/re2/re2-111.08.00.ebuild32
-rw-r--r--dev-ml/re2/re2-112.06.00.ebuild32
-rw-r--r--dev-ml/re2/re2-112.35.00.ebuild32
-rw-r--r--dev-ml/react/Manifest2
-rw-r--r--dev-ml/react/metadata.xml17
-rw-r--r--dev-ml/react/react-0.9.4.ebuild23
-rw-r--r--dev-ml/react/react-1.2.0.ebuild47
-rw-r--r--dev-ml/reactiveData/Manifest1
-rw-r--r--dev-ml/reactiveData/metadata.xml8
-rw-r--r--dev-ml/reactiveData/reactiveData-0.1.ebuild37
-rw-r--r--dev-ml/res/Manifest4
-rw-r--r--dev-ml/res/metadata.xml8
-rw-r--r--dev-ml/res/res-4.0.3.ebuild30
-rw-r--r--dev-ml/res/res-4.0.4.ebuild30
-rw-r--r--dev-ml/res/res-4.0.6.ebuild31
-rw-r--r--dev-ml/res/res-4.0.7.ebuild31
-rw-r--r--dev-ml/sexplib/Manifest3
-rw-r--r--dev-ml/sexplib/metadata.xml8
-rw-r--r--dev-ml/sexplib/sexplib-112.17.00.ebuild25
-rw-r--r--dev-ml/sexplib/sexplib-112.24.00.ebuild25
-rw-r--r--dev-ml/sexplib/sexplib-112.35.00.ebuild25
-rw-r--r--dev-ml/textutils/Manifest1
-rw-r--r--dev-ml/textutils/metadata.xml5
-rw-r--r--dev-ml/textutils/textutils-112.17.00.ebuild25
-rw-r--r--dev-ml/type-conv/Manifest3
-rw-r--r--dev-ml/type-conv/metadata.xml5
-rw-r--r--dev-ml/type-conv/type-conv-112.01.00.ebuild28
-rw-r--r--dev-ml/type-conv/type-conv-112.01.01.ebuild28
-rw-r--r--dev-ml/type-conv/type-conv-112.01.02.ebuild28
-rw-r--r--dev-ml/typehashlib/Manifest1
-rw-r--r--dev-ml/typehashlib/metadata.xml5
-rw-r--r--dev-ml/typehashlib/typehashlib-109.15.02.ebuild25
-rw-r--r--dev-ml/typerep/Manifest3
-rw-r--r--dev-ml/typerep/metadata.xml5
-rw-r--r--dev-ml/typerep/typerep-112.17.00.ebuild26
-rw-r--r--dev-ml/typerep/typerep-112.24.00.ebuild25
-rw-r--r--dev-ml/typerep/typerep-112.35.00.ebuild25
-rw-r--r--dev-ml/typerep_extended/Manifest1
-rw-r--r--dev-ml/typerep_extended/metadata.xml5
-rw-r--r--dev-ml/typerep_extended/typerep_extended-112.17.00.ebuild29
-rw-r--r--dev-ml/tyxml/Manifest1
-rw-r--r--dev-ml/tyxml/metadata.xml8
-rw-r--r--dev-ml/tyxml/tyxml-3.5.0.ebuild25
-rw-r--r--dev-ml/ulex/Manifest1
-rw-r--r--dev-ml/ulex/metadata.xml5
-rw-r--r--dev-ml/ulex/ulex-1.1.ebuild32
-rw-r--r--dev-ml/utop/Manifest3
-rw-r--r--dev-ml/utop/metadata.xml11
-rw-r--r--dev-ml/utop/utop-1.11.ebuild53
-rw-r--r--dev-ml/utop/utop-1.16.ebuild59
-rw-r--r--dev-ml/utop/utop-1.18.ebuild59
-rw-r--r--dev-ml/uutf/Manifest1
-rw-r--r--dev-ml/uutf/metadata.xml8
-rw-r--r--dev-ml/uutf/uutf-0.9.4.ebuild50
-rw-r--r--dev-ml/variantslib/Manifest2
-rw-r--r--dev-ml/variantslib/metadata.xml8
-rw-r--r--dev-ml/variantslib/variantslib-109.15.00.ebuild24
-rw-r--r--dev-ml/variantslib/variantslib-109.15.02.ebuild25
-rw-r--r--dev-ml/xml-light/Manifest1
-rw-r--r--dev-ml/xml-light/files/01_installopt.dpatch24
-rw-r--r--dev-ml/xml-light/files/02_cmi_depends.dpatch18
-rw-r--r--dev-ml/xml-light/files/03_cflags.dpatch51
-rw-r--r--dev-ml/xml-light/files/04_dtd_trace.dpatch26
-rw-r--r--dev-ml/xml-light/metadata.xml12
-rw-r--r--dev-ml/xml-light/xml-light-2.2-r1.ebuild45
-rw-r--r--dev-ml/xml-light/xml-light-2.2-r2.ebuild51
-rw-r--r--dev-ml/xml-light/xml-light-2.2-r3.ebuild63
-rw-r--r--dev-ml/xmlm/Manifest2
-rw-r--r--dev-ml/xmlm/metadata.xml10
-rw-r--r--dev-ml/xmlm/xmlm-1.1.1.ebuild23
-rw-r--r--dev-ml/xmlm/xmlm-1.2.0.ebuild36
-rw-r--r--dev-ml/xstr/Manifest1
-rw-r--r--dev-ml/xstr/metadata.xml5
-rw-r--r--dev-ml/xstr/xstr-0.2.1.ebuild33
-rw-r--r--dev-ml/yojson/Manifest2
-rw-r--r--dev-ml/yojson/metadata.xml8
-rw-r--r--dev-ml/yojson/yojson-1.2.0.ebuild38
-rw-r--r--dev-ml/yojson/yojson-1.2.1.ebuild38
-rw-r--r--dev-ml/zed/Manifest2
-rw-r--r--dev-ml/zed/metadata.xml8
-rw-r--r--dev-ml/zed/zed-1.2.ebuild27
-rw-r--r--dev-ml/zed/zed-1.4.ebuild22
544 files changed, 11836 insertions, 0 deletions
diff --git a/dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild b/dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild
new file mode 100644
index 00000000000..f352aa8f3a5
--- /dev/null
+++ b/dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis eutils
+
+DESCRIPTION="Module which offers basic control of ANSI compliant terminals"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ansiterminal/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1206/${P}.tar.gz"
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+DEPEND=""
+RDEPEND="${DEPEND}"
+IUSE=""
+
+DOCS=( "README.txt" "AUTHORS.txt" )
diff --git a/dev-ml/ANSITerminal/Manifest b/dev-ml/ANSITerminal/Manifest
new file mode 100644
index 00000000000..8515473878e
--- /dev/null
+++ b/dev-ml/ANSITerminal/Manifest
@@ -0,0 +1 @@
+DIST ANSITerminal-0.6.5.tar.gz 52473 SHA256 26874e1bd737f803f84acdc2256b48c76c88bea12c0ce06172db8428367533c9 SHA512 43a059cc2a947a70409e19b8c6d01e1b5aa495290967f984a6d707e5ff329dd88e82ba68e08b6262da4a19bb24be2e61154fcf8781ee5cbad98240276d7b060d WHIRLPOOL cefe7f713ff06df0a5ecf583a53e4d2efc75e041c980e20768eab9c54dd26e3865bb60851034a96e795e41174b884b50cf43f0771c4b2a8c376e2ec8b8a9a187
diff --git a/dev-ml/ANSITerminal/metadata.xml b/dev-ml/ANSITerminal/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ANSITerminal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/async/Manifest b/dev-ml/async/Manifest
new file mode 100644
index 00000000000..795447569e9
--- /dev/null
+++ b/dev-ml/async/Manifest
@@ -0,0 +1,3 @@
+DIST async-112.17.00.tar.gz 82486 SHA256 2fa90908a87d4c12d9691a91da48b4c2e5484f770b24362618d97f111baae993 SHA512 3778f28f8ce88e32e72198ca0fd66a4727a12975f1ef6b6ed0ed09a06838d3ffc9b0004801d88b37194d428c61960be8ce369f1ccf14a6c7e556858b81aebfa5 WHIRLPOOL ec148889b63fcd3622581b2c3885e3b40f20f8d478c062810009454ae14ba82f546976d746b1388e017a43486ffc7c577c9b155b493bdac7f41c680fb5d4db43
+DIST async-112.24.tar.gz 82542 SHA256 ecc4ca939ab098e689332921b110dbaacd06d9f8d8bf697023dfff3ca37dc1e9 SHA512 985e70117c057d4117ef64acdbf6bf4ac8b08c0910b2bacd879ad2646a1b730d7071bdfca4b6fc71a3995a629833cc1b092bc0f7176d34f477081a6827bd02ef WHIRLPOOL a450fc78c9ea4bdf85612ca871a34ce0682d8d7b535cb7cc52cb93407ae1130d563a6566fb2e5c8350e073e2555b5df57c99ae4d1d4afcabcb0d32d7b969f36e
+DIST async-112.35.00.tar.gz 88263 SHA256 95228894bba807f1c3537530b8008d9c91a58708936d1f5c2101561b16125d85 SHA512 585585eee879d5f2f67ca2dbac520bc417deed2f867a870fa8d2d05da943b269f440983f983353f45c408998c8b5535c5a3b81ed0035d673bd656c416f96bf0b WHIRLPOOL 9dc8f92f65431b25fc7e322be2be4cb85473b55ec4ca8e2b5ee5f7b1dd0d4e6050cc78fe8017ff351b5bfb849f3d686e9fdd4c277ffe9c2adfbc90972fdf9aab
diff --git a/dev-ml/async/async-112.17.00.ebuild b/dev-ml/async/async-112.17.00.ebuild
new file mode 100644
index 00000000000..8598a765732
--- /dev/null
+++ b/dev-ml/async/async-112.17.00.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/async_unix-${PV}:=
+ >=dev-ml/async_extra-${PV}:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.0.2 dev-ml/core_bench dev-ml/pa_ounit )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/async/async-112.24.00.ebuild b/dev-ml/async/async-112.24.00.ebuild
new file mode 100644
index 00000000000..b468ae8413d
--- /dev/null
+++ b/dev-ml/async/async-112.24.00.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/async_unix-${PV}:=
+ >=dev-ml/async_extra-${PV}:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.0.2 dev-ml/core_bench dev-ml/pa_ounit )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/async/async-112.35.00.ebuild b/dev-ml/async/async-112.35.00.ebuild
new file mode 100644
index 00000000000..8598a765732
--- /dev/null
+++ b/dev-ml/async/async-112.35.00.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/async_unix-${PV}:=
+ >=dev-ml/async_extra-${PV}:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.0.2 dev-ml/core_bench dev-ml/pa_ounit )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/async/metadata.xml b/dev-ml/async/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/async/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/async_extra/Manifest b/dev-ml/async_extra/Manifest
new file mode 100644
index 00000000000..f74cb11578c
--- /dev/null
+++ b/dev-ml/async_extra/Manifest
@@ -0,0 +1,3 @@
+DIST async_extra-112.17.00.tar.gz 157687 SHA256 97782934e98808e1e667c00f90ef08b6a55b6a462c86a2afefb0ee12189cecd8 SHA512 338a3ed19cd17c16739737c8854a40195912dfdccfb370aa39ec6d2c516f33a69ddb01115fe3616261f17578796a404330b3c6f99f8493b7969c5e3b1c67d397 WHIRLPOOL 8617d6dbb34c75051e5ab67c72f5a8545084ea3c7e3326e59ade777a644b8a37b0a9f20c5f2908a37e2047ac197c88b009c6a25ea4261a065df491263ef6a99a
+DIST async_extra-112.24.tar.gz 161501 SHA256 51f6f67a9ad56fe5dcf09faeeca6ec2fea53a7a975a72bc80504b90841212e28 SHA512 9ac13275a3b004ce87f2858634e06e2e8ff0a6a014023af25571fbf3de8c18a5396c42df0c3df647be094d348f2a6fa911004d9e6a877827ce87c2f8fa16305d WHIRLPOOL ce5e7581d4ed320e35465b11da5978bdf335ab04bb72aac5e3416e66db01cf2f8cfdad79f2b4906de681cb270523c5c6625718bed2a836d38f2f4e84487273b2
+DIST async_extra-112.35.00.tar.gz 145974 SHA256 2bb3683c6a8f9100f5fa09edcbd885a9253973f33a7ad6344fed10cd2aa5733c SHA512 25fc649d4272631068f4d19c472f13ed81645b321d1b80b498bdc7acd1070af8b0c4ddad08fba09b836b093d985cdd52e39ee672b949ff7085c66ee7599e6144 WHIRLPOOL f2cfa6ef0dfe64ee6f8fd5091b85cbc9918c46db54c8031575166c6c7d40e5e66f9cb3236db676a8426b2dc605a9e23f5495f681641105d783f7653fa9c22d8c
diff --git a/dev-ml/async_extra/async_extra-112.17.00.ebuild b/dev-ml/async_extra/async_extra-112.17.00.ebuild
new file mode 100644
index 00000000000..facc5d31eaf
--- /dev/null
+++ b/dev-ml/async_extra/async_extra-112.17.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (extra)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/pa_ounit-109.18.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/async_unix-${PV}:=
+ dev-ml/custom_printf:=
+ dev-ml/herelib:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_extra/async_extra-112.24.00.ebuild b/dev-ml/async_extra/async_extra-112.24.00.ebuild
new file mode 100644
index 00000000000..5fc3a6cf4cd
--- /dev/null
+++ b/dev-ml/async_extra/async_extra-112.24.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (extra)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/pa_ounit-109.18.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/async_unix-${PV}:=
+ dev-ml/custom_printf:=
+ dev-ml/herelib:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_extra/async_extra-112.35.00.ebuild b/dev-ml/async_extra/async_extra-112.35.00.ebuild
new file mode 100644
index 00000000000..2df0a37e4c2
--- /dev/null
+++ b/dev-ml/async_extra/async_extra-112.35.00.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (extra)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/pa_ounit-109.18.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/async_unix-${PV}:=
+ dev-ml/custom_printf:=
+ dev-ml/herelib:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ dev-ml/async_rpc_kernel:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_extra/metadata.xml b/dev-ml/async_extra/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/async_extra/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/async_kernel/Manifest b/dev-ml/async_kernel/Manifest
new file mode 100644
index 00000000000..8c9a811432b
--- /dev/null
+++ b/dev-ml/async_kernel/Manifest
@@ -0,0 +1,3 @@
+DIST async_kernel-112.17.00.tar.gz 133837 SHA256 eaa99169345096e111a69beb229bdb1b0bc04c72db50837a1630a5852afe1464 SHA512 268a742fad491597635a53b4208730350f07e2b65cd8a6adaa17e9d862b3eefaed4a3badcb4c03cae2462882173d848d472dd1bdd9c0b041fe55814a28098b03 WHIRLPOOL fecc39757b0402cca04fb007ea9a8f6004cc350770a72f17b1ed2ab42a2ecd30fe38217c92924bef591958fd516c1896191a8c393b59f09844cc28536d8769bd
+DIST async_kernel-112.24.tar.gz 135816 SHA256 95caf4249b55c5a6b38da56e314845e9ea9a0876eedd4cf0ddcb6c8dd660c6a0 SHA512 cf3bfc29147f37c03d5b9af55f6c71256cdc54b26c186303dd95675c541733b54fff5a816f57c682a9ec4f1e1d107ba8bbc92f7202a64de768eeb03c76eb4b3b WHIRLPOOL f452328b17a68e31f69cbaf1af6492788e98cffc3ccff79c81b78983694d197011d4d6d674b98f2b248bbcf6171c787cfeb5bfecf68b4ebd301ebf437e584a4b
+DIST async_kernel-112.35.00.tar.gz 142997 SHA256 6bb859c7ca8b6d6766d4cb4ff40ecc91ecf70ae4224c95a455e5edffd244f448 SHA512 f4b726bb801f2e698c9184a109bbc3b5921adfe2c44d9d219de0049b4623985ec9e5bb3fe8928a9d6c34ca30ff5b0c13bb4681f271c16305e82c476af9c99919 WHIRLPOOL ae06b260f13755d97eca5681fc3a3d86af1660d552ac349c3373ac630583f1e3120c77884cf040b237e566b65dac2b6df1562095d1d6891b2db7f86453e3f42d
diff --git a/dev-ml/async_kernel/async_kernel-112.17.00.ebuild b/dev-ml/async_kernel/async_kernel-112.17.00.ebuild
new file mode 100644
index 00000000000..6fec34ca2fc
--- /dev/null
+++ b/dev-ml/async_kernel/async_kernel-112.17.00.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (core)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/core-109.35.00:=
+ >=dev-ml/herelib-109.35.00:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_kernel/async_kernel-112.24.00.ebuild b/dev-ml/async_kernel/async_kernel-112.24.00.ebuild
new file mode 100644
index 00000000000..ef8a8607f7e
--- /dev/null
+++ b/dev-ml/async_kernel/async_kernel-112.24.00.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (core)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/core-109.35.00:=
+ >=dev-ml/herelib-109.35.00:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_kernel/async_kernel-112.35.00.ebuild b/dev-ml/async_kernel/async_kernel-112.35.00.ebuild
new file mode 100644
index 00000000000..6fec34ca2fc
--- /dev/null
+++ b/dev-ml/async_kernel/async_kernel-112.35.00.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (core)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/core-109.35.00:=
+ >=dev-ml/herelib-109.35.00:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_kernel/metadata.xml b/dev-ml/async_kernel/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/async_kernel/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/async_rpc_kernel/Manifest b/dev-ml/async_rpc_kernel/Manifest
new file mode 100644
index 00000000000..4f911147534
--- /dev/null
+++ b/dev-ml/async_rpc_kernel/Manifest
@@ -0,0 +1 @@
+DIST async_rpc_kernel-112.35.00.tar.gz 79058 SHA256 1e24cb9aa3e6719a11bb24c3171ce256c029c20f7b5081ea8da5719693a4b542 SHA512 bb89e91e0ae66f9bb5d20144525fbda31b50e0cd65de91770b4757d999261a5960958c67061faccc079042602c89526cfdec99e3ed636e16f854128744835f3a WHIRLPOOL d4fe90f3e3da60908734bdc8515f311a1270fad87b89ec32fafa8612e66709156cc1ab7b37506d0a84d4b407c7947c7b98ee1b3caa772466f3be666a85702cd3
diff --git a/dev-ml/async_rpc_kernel/async_rpc_kernel-112.35.00.ebuild b/dev-ml/async_rpc_kernel/async_rpc_kernel-112.35.00.ebuild
new file mode 100644
index 00000000000..77bbc33ae9a
--- /dev/null
+++ b/dev-ml/async_rpc_kernel/async_rpc_kernel-112.35.00.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Platform-independent core of Async RPC library"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-ml/camlp4:=
+ dev-ml/async_kernel:=
+ dev-ml/bin-prot:=
+ dev-ml/comparelib:=
+ dev-ml/core_kernel:=
+ dev-ml/custom_printf:=
+ dev-ml/fieldslib:=
+ dev-ml/pa_ounit:=
+ dev-ml/sexplib:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "CHANGES.md" )
diff --git a/dev-ml/async_rpc_kernel/metadata.xml b/dev-ml/async_rpc_kernel/metadata.xml
new file mode 100644
index 00000000000..abf9563dd5c
--- /dev/null
+++ b/dev-ml/async_rpc_kernel/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/async_unix/Manifest b/dev-ml/async_unix/Manifest
new file mode 100644
index 00000000000..ecc3c2deebd
--- /dev/null
+++ b/dev-ml/async_unix/Manifest
@@ -0,0 +1,3 @@
+DIST async_unix-112.17.00.tar.gz 158831 SHA256 45ef956f6d16190c50c78a6475b31289d6101f0c6bc67926fcd1d900eac373cb SHA512 b4c17418b2eb56c5ba7a56ec455c18656616f6dfc6d2b6b62e6b34dcd0670e5954d302c1568a8de72c55925e6b9699fe1865f5be4b6210b9091d81f03c9e0527 WHIRLPOOL ecbe09529171a991e09d08a76c8c4546ef3bd0ca4bac2eda243b38426e135c0a08c208e9ddd2676ecbbff2229f5130d963a9b9939ace4f2319cb830145969767
+DIST async_unix-112.24.tar.gz 159597 SHA256 d490b1dc42f0987a131fa9695b55f215ad90cdaffbfac35b7f9f88f3834337ab SHA512 a6f7e2ce9e9c0e7d467b3cda1886f40f2580e7aa047bf0b772a9faf538f1398562123bf656563651d4feda983fdaa35592d2255deddc7d1a24b6dabc01c9bacf WHIRLPOOL 7503b29e307574eb9fd14d131311886c06f3d3744171533dcbe84fb5ca756613faccfa823e51523bfd1da478704e49e7cae1d0b9c329e6f365c62ec0a1d7c21d
+DIST async_unix-112.35.00.tar.gz 161466 SHA256 111e38994b46a4b5ec141ef23fa556275a75c4c91c7ca576efeefdc301b303c4 SHA512 56e7d1a56f5c28ed4e1e23da6193dfc0481cf44960c7daf6b548980281113ca62be0e560502f7f006200bba59f2efff0d4066582a2872e8063fa64be0ce360c9 WHIRLPOOL 13fa515f7d554070de2d1aca654ae245961c85ad7b074c9aca9c8ec0998e2e04b3458e601d8726ea7e62201152d5f2bdefd63144bad8298f399e6021dc58d969
diff --git a/dev-ml/async_unix/async_unix-112.17.00.ebuild b/dev-ml/async_unix/async_unix-112.17.00.ebuild
new file mode 100644
index 00000000000..c78eb845191
--- /dev/null
+++ b/dev-ml/async_unix/async_unix-112.17.00.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (unix)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.15.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_unix/async_unix-112.24.00.ebuild b/dev-ml/async_unix/async_unix-112.24.00.ebuild
new file mode 100644
index 00000000000..9550fa5cb6c
--- /dev/null
+++ b/dev-ml/async_unix/async_unix-112.24.00.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (unix)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.15.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_unix/async_unix-112.35.00.ebuild b/dev-ml/async_unix/async_unix-112.35.00.ebuild
new file mode 100644
index 00000000000..c78eb845191
--- /dev/null
+++ b/dev-ml/async_unix/async_unix-112.35.00.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Jane Street Capital's asynchronous execution library (unix)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.15.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/async_kernel-${PV}:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ dev-ml/pa_test:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/async_unix/metadata.xml b/dev-ml/async_unix/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/async_unix/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/batteries/Manifest b/dev-ml/batteries/Manifest
new file mode 100644
index 00000000000..160f5d3da9a
--- /dev/null
+++ b/dev-ml/batteries/Manifest
@@ -0,0 +1,3 @@
+DIST batteries-2.1.tar.gz 695812 SHA256 ad7b85ebc4404192ef101fa143147dd12713017de7941d71c64f7c7d354e91bf SHA512 03fa0d9ba3333e0b80d2aec087453c13497b419f22229432e7c99a519a03a013c647c9a09e32250f17dad3fe47975ff76901df9dd289c87a877e4665ac344f70 WHIRLPOOL 29c50e51b74964971412a2026d571644920cd367c22b6c62375d19ff4a87342e50a46164317b5da3b40d7d51c2fcf33a3000ba67588ff9a8fbc3608d4f0f1120
+DIST batteries-2.2.tar.gz 711616 SHA256 7a7139ffa0c0da356a3be63a1024eb15f15eaf6d396b999565e77f77ca789c7c SHA512 023d919cbb402e1386334865dfbd17a5a7a2eb07f8ddce682bab37b1d4b140bf5ce90519744d026ae012da20abbddf65707cff5e2568c9682b8fc69cf3f0977a WHIRLPOOL ba61455f2f4323c420f7b53424449bdda40ddf8f3766d31ac91b4f043d07bd19c53fc6f7d5d47de3debcf1cf30210696a24201e78fc2163a8726a19310b7e274
+DIST batteries-2.3.tar.gz 728917 SHA256 f54276dfad1b00a90d6d64c4e35621879a1a9409e024f9267155071725d209fe SHA512 0f55e75cc8057ec4ba9683aee91509a3bf2ee93d1990a932cd3924cd602aeeea80a5da50b0651500fc153285b1d80b9378ec1fa656e7f94311e992e9ba308c88 WHIRLPOOL bdab9410456e35f5251dc9994507faf602bb617fd7077b444003960528e38fdf0c97ccab96cd0d4a265402fa457a66635d6948e1c87dac9793069e0b34a18029
diff --git a/dev-ml/batteries/batteries-2.1.ebuild b/dev-ml/batteries/batteries-2.1.ebuild
new file mode 100644
index 00000000000..1ce1feca1fd
--- /dev/null
+++ b/dev-ml/batteries/batteries-2.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="The community-maintained foundation library for your OCaml projects"
+HOMEPAGE="http://batteries.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1218/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-ml/camomile:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit dev-ml/iTeML )"
+
+DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
+PATCHES=( "${FILESDIR}/${P}-ocaml-4.01.patch" )
diff --git a/dev-ml/batteries/batteries-2.2.ebuild b/dev-ml/batteries/batteries-2.2.ebuild
new file mode 100644
index 00000000000..af9f5d2f8aa
--- /dev/null
+++ b/dev-ml/batteries/batteries-2.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="The community-maintained foundation library for your OCaml projects"
+HOMEPAGE="http://batteries.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1363/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-ml/camomile:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit dev-ml/iTeML )"
+
+DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
diff --git a/dev-ml/batteries/batteries-2.3.ebuild b/dev-ml/batteries/batteries-2.3.ebuild
new file mode 100644
index 00000000000..93a77346a50
--- /dev/null
+++ b/dev-ml/batteries/batteries-2.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="The community-maintained foundation library for your OCaml projects"
+HOMEPAGE="http://batteries.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1465/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-ml/camomile:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit dev-ml/iTeML )"
+
+DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
diff --git a/dev-ml/batteries/files/batteries-2.1-ocaml-4.01.patch b/dev-ml/batteries/files/batteries-2.1-ocaml-4.01.patch
new file mode 100644
index 00000000000..49194794e96
--- /dev/null
+++ b/dev-ml/batteries/files/batteries-2.1-ocaml-4.01.patch
@@ -0,0 +1,21 @@
+commit 1db918c5966c6f95dda9b2c4c26975b0a8fddb2c
+Author: Gabriel Scherer <gabriel.scherer@gmail.com>
+Date: Thu Aug 8 11:59:49 2013 +0200
+
+ Add the new O_CLOEXEC flag to Unix.open_flag in version 4.1
+
+diff --git a/src/batUnix.mliv b/src/batUnix.mliv
+index bd710a7..943db0a 100644
+--- a/src/batUnix.mliv
++++ b/src/batUnix.mliv
+@@ -261,6 +261,10 @@ type open_flag = Unix.open_flag =
+ O_SYNC/O_DSYNC) *)
+ ##V4## | O_SHARE_DELETE (** OCaml 4 and Windows only: allow the file to be deleted
+ ##V4## while still open *)
++##V4.1## | O_CLOEXEC (** Set the close-on-exec flag on the
++##V4.1## descriptor returned by {!openfile}
++##V4.1##
++##V4.1## Since OCaml 4.1 *)
+ (** The flags to {!Unix.openfile}. *)
+
+
diff --git a/dev-ml/batteries/metadata.xml b/dev-ml/batteries/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/batteries/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/bin-prot/Manifest b/dev-ml/bin-prot/Manifest
new file mode 100644
index 00000000000..f50936194d6
--- /dev/null
+++ b/dev-ml/bin-prot/Manifest
@@ -0,0 +1,3 @@
+DIST bin_prot-112.17.00.tar.gz 94952 SHA256 cd09c9eb5c347dea2f58cc0986ff87f5f575b5b6a8365d0ec97391c7d90f5395 SHA512 e2e9b24e4fd7169024adb00c76ad6580c8fef9985e1447f94d89b374b46e79d51c4849412991a81b711d08f48b076d33a296a86aacb045bac46fcb4d2a9fcd8b WHIRLPOOL fb707a65a661cb665310163824778942d831ad003453647a4f5dea72a895faa74b2ec7e362940ca45065a9a3f7cb9bf11913474161c47e59f80b650683c5a1db
+DIST bin_prot-112.24.tar.gz 95085 SHA256 dc0c978a825c7c123990af3317637c218f61079e6f35dc878260651084f1adb4 SHA512 4495349db1ad8a09a404c354415afc3c8f719ba8bd0e792aedef60c92b2f2222d91dba1cbf5d117cbd08ac14674d6cd1733667cab6f16a5cd738eca6d2ec4ef1 WHIRLPOOL c825db972508d404188ced258cb6d96d6c86140b4e12697586b3cdbd1997b4651ef1bb452edb92f44fec31afb17df952891a1fa4d475d33f8147cc131bf63eae
+DIST bin_prot-112.35.00.tar.gz 97483 SHA256 e97034e9548fa669decc0d386f1b52952a645d0f70297389b60e78ddef35bbbf SHA512 7958e315fd16528bedcdee541b6c7cdc2e088eb79eec5fda676fa72d3b57ddd495f203ad9d27cddf50b5aa3d98b00737b217ae6932d21617ce82ec7a1c4ada8c WHIRLPOOL 509fc7d0fffc9d3ecceb71c389c3f630407897daf75e8fa19c229a43bb23813a767bc1018f873f79a57bc4564740d630f061a40fd459ee11a67fabdfc744197a
diff --git a/dev-ml/bin-prot/bin-prot-112.17.00.ebuild b/dev-ml/bin-prot/bin-prot-112.17.00.ebuild
new file mode 100644
index 00000000000..fc9acbc3d91
--- /dev/null
+++ b/dev-ml/bin-prot/bin-prot-112.17.00.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="A binary protocol generator"
+HOMEPAGE="http://ocaml.janestreet.com/?q=node/13"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND=">=dev-ml/type-conv-109.28.00:=
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+
+DOCS=( "README.md" "CHANGES.md" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/bin-prot/bin-prot-112.24.00.ebuild b/dev-ml/bin-prot/bin-prot-112.24.00.ebuild
new file mode 100644
index 00000000000..78442d745fc
--- /dev/null
+++ b/dev-ml/bin-prot/bin-prot-112.24.00.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="A binary protocol generator"
+HOMEPAGE="http://ocaml.janestreet.com/?q=node/13"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND=">=dev-ml/type-conv-109.28.00:=
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+
+DOCS=( "README.md" "CHANGES.md" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/bin-prot/bin-prot-112.35.00.ebuild b/dev-ml/bin-prot/bin-prot-112.35.00.ebuild
new file mode 100644
index 00000000000..fc9acbc3d91
--- /dev/null
+++ b/dev-ml/bin-prot/bin-prot-112.35.00.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="A binary protocol generator"
+HOMEPAGE="http://ocaml.janestreet.com/?q=node/13"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND=">=dev-ml/type-conv-109.28.00:=
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+
+DOCS=( "README.md" "CHANGES.md" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/bin-prot/metadata.xml b/dev-ml/bin-prot/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/bin-prot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/biniou/Manifest b/dev-ml/biniou/Manifest
new file mode 100644
index 00000000000..31c44be21c1
--- /dev/null
+++ b/dev-ml/biniou/Manifest
@@ -0,0 +1 @@
+DIST biniou-1.0.9.tar.gz 23963 SHA256 eb47c48f61b169e652629e7f2ee582dfd5965e640ee51bf28fab63b960864392 SHA512 8bc640da28ad8f95952b7a0965f8b40c6128264fb4cd5b517cba2e65b432803a01dc75e42d9d339376dbb962285c7e4ad8290f2536f58d092fe7269b731fb332 WHIRLPOOL aa7cf2486886cd26513028065d654f7c1b768e4950f568147758d5fa61cb6fcdc11a2f3da5ed6b60b8eadee14e3b8885e5197d52e01c8a61b284712cea7e9aa9
diff --git a/dev-ml/biniou/biniou-1.0.9.ebuild b/dev-ml/biniou/biniou-1.0.9.ebuild
new file mode 100644
index 00000000000..b5bb8f13dae
--- /dev/null
+++ b/dev-ml/biniou/biniou-1.0.9.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A binary data serialization format inspired by JSON for OCaml"
+HOMEPAGE="http://mjambon.com/biniou.html"
+SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"
+
+SLOT="0/${PV}"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt?]
+ dev-ml/easy-format:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake -j1 all
+ use ocamlopt && emake -j1 opt
+}
+
+src_install() {
+ use ocamlopt && dodir /usr/bin
+ findlib_src_install BINDIR="${ED}"/usr/bin
+ dodoc README.md Changes
+}
diff --git a/dev-ml/biniou/metadata.xml b/dev-ml/biniou/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/biniou/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/bolt/Manifest b/dev-ml/bolt/Manifest
new file mode 100644
index 00000000000..9ea3f9d4f3f
--- /dev/null
+++ b/dev-ml/bolt/Manifest
@@ -0,0 +1 @@
+DIST bolt-1.4.tar.gz 638005 SHA256 595c0441655a82b8e6d3d3f8dacf89e68d33c682dee62a97ea2eece4b5adc088 SHA512 799ca80603fb4f0979ae7bf7ac5acdab7a0187713021a4277d5c3f5af31ffdea042ab312754a6d20a8849b90d36327aa0cad1d6efbc20cc07a3e86dd733e362e WHIRLPOOL c18d42410b1b55b54e8f6fcba0915a8577c26fd80ffb4827d3db1101452624eae4266be1bf4fc59b4c5cc02f49088e7fcd878c42928472f944b8c6b8fafb653b
diff --git a/dev-ml/bolt/bolt-1.4.ebuild b/dev-ml/bolt/bolt-1.4.ebuild
new file mode 100644
index 00000000000..e7e9e060e5a
--- /dev/null
+++ b/dev-ml/bolt/bolt-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Logging tool for the Objective Caml language"
+HOMEPAGE="http://bolt.x9c.fr/"
+SRC_URI="http://bolt.x9c.fr/distrib/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ sh configure
+}
+
+src_compile() {
+ emake all
+ use doc && emake doc
+}
+
+src_test() {
+ emake tests
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README CHANGES FEATURES
+ use doc && dohtml ocamldoc/*
+}
diff --git a/dev-ml/bolt/metadata.xml b/dev-ml/bolt/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/bolt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/cairo-ocaml/Manifest b/dev-ml/cairo-ocaml/Manifest
new file mode 100644
index 00000000000..c74852311d6
--- /dev/null
+++ b/dev-ml/cairo-ocaml/Manifest
@@ -0,0 +1 @@
+DIST cairo-ocaml-1.2.0.tar.bz2 44483 SHA256 5f45aa3cc88d274d14c071402e22c5996fadf506fafa266642b3729b02d17554 SHA512 5cac319cf27b94d31e955885ae89b40342c2ae4ffd1aca7c52366f7c3679185f74e513e0c73bd01260f89da29d43bb420dadd059fa1cf5509997db8f935704b4 WHIRLPOOL c166fab0dfec6bddcc7b48b0bc69aac7b5dd8ed831755e0223e374217b2cf89dd73c3f75a4ddbdf8ca8d49b02fb04e0b85682afcae4ed91c20edeb97afdc21fd
diff --git a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
new file mode 100644
index 00000000000..965557b93d2
--- /dev/null
+++ b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils findlib autotools
+
+DESCRIPTION="Ocaml bindings for the cairo vector graphics library"
+HOMEPAGE="http://www.cairographics.org/cairo-ocaml/"
+SRC_URI="http://cgit.freedesktop.org/cairo-ocaml/snapshot/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples gtk pango svg"
+
+RDEPEND="dev-lang/ocaml:=
+ x11-libs/cairo
+ gtk? ( dev-ml/lablgtk:2= )
+ pango? ( x11-libs/pango )
+ svg? ( x11-libs/libsvg-cairo )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # 3 patches from debian and one for automagic on libsvg-cairo
+ epatch \
+ "${FILESDIR}"/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch \
+ "${FILESDIR}"/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch \
+ "${FILESDIR}"/0003-Fix-FTBFS-on-bytecode-architectures.patch \
+ "${FILESDIR}"/0004-no-automagic.patch
+ AT_M4DIR=support eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with gtk) \
+ $(use_with pango pango-cairo) \
+ $(use_with svg svg-cairo)
+}
+
+src_compile() {
+ emake -j1
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README ChangeLog
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins test/*.ml
+ fi
+ # ocamlfind support
+ cat <<-EOF > META
+ name = "${PN}"
+ description = "${DESCRIPTION}"
+ requires = "bigarray"
+ version = "${PV}"
+ archive(byte) = "cairo.cma"
+ archive(native) = "cairo.cmxa"
+ EOF
+ if use gtk; then
+ cat <<-EOF >> META
+ package "lablgtk2" (
+ requires = "cairo lablgtk2"
+ archive(byte) = "cairo_lablgtk.cma"
+ archive(native) = "cairo_lablgtk.cmxa"
+ )
+ EOF
+ fi
+ if use pango; then
+ cat <<-EOF >> META
+ package "pango" (
+ requires = "cairo"
+ archive(byte) = "pango_cairo.cma"
+ archive(native) = "pango_cairo.cmxa"
+ )
+ EOF
+ fi
+ if use svg; then
+ cat <<-EOF >> META
+ package "svg" (
+ requires = "cairo"
+ archive(byte) = "svg_cairo.cma"
+ archive(native) = "svg_cairo.cmxa"
+ )
+ EOF
+ fi
+ insinto /usr/$(get_libdir)/ocaml/cairo
+ doins META
+}
diff --git a/dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch b/dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch
new file mode 100644
index 00000000000..6b42f6d4fd5
--- /dev/null
+++ b/dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch
@@ -0,0 +1,26 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Sun, 27 Feb 2011 13:31:22 +0100
+Subject: Add missing libraries used by the stubs to CAIRO_LIBS
+
+The recent changes in DSO linking highlighted this, and were
+preventing ocaml-melt from building.
+
+Signed-off-by: Stephane Glondu <steph@glondu.net>
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6c8c4e9..0cf1f11 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -6,7 +6,7 @@ AC_CONFIG_AUX_DIR(support)
+ AC_PROG_OCAML()
+
+ # Check for cairo
+-PKG_CHECK_MODULES(CAIRO, cairo >= 1.2 freetype2)
++PKG_CHECK_MODULES(CAIRO, cairo >= 1.2 cairo-ft cairo-fc cairo-ps cairo-pdf freetype2)
+
+ # Optional GTK support (for the X11 backend)
+ AC_ARG_WITH(gtk,
+--
diff --git a/dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch b/dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch
new file mode 100644
index 00000000000..fcb0f058322
--- /dev/null
+++ b/dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch
@@ -0,0 +1,27 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Tue, 2 Aug 2011 15:34:21 +0200
+Subject: Fix Makefile to avoid recompiling files in /usr
+
+The "-I /path/to/lablgtk2" option should not be used when calling
+ocamldep, otherwise files there are considered as possible targets by
+the build system.
+
+Signed-off-by: Stephane Glondu <steph@glondu.net>
+---
+ src/Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 46a62f6..c9c64b7 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -117,7 +117,7 @@ clean :
+
+ .depend : $(wildcard *.ml *.mli)
+ @echo "making deps"
+- @$(OCAMLDEP) $(if $(LABLGTKDIR),-I $(LABLGTKDIR)) $^ > $@
++ @$(OCAMLDEP) $^ > $@
+
+ -include .depend
+ -include .depend_c
+--
diff --git a/dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch b/dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch
new file mode 100644
index 00000000000..8882ce0a4da
--- /dev/null
+++ b/dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch
@@ -0,0 +1,39 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Tue, 2 Aug 2011 21:35:59 +0200
+Subject: Fix FTBFS on bytecode architectures
+
+The new ocaml.m4 defines OCAMLOPT to "no" (instead of not defining
+it); adapt src/Makefile accordingly.
+
+Signed-off-by: Stephane Glondu <steph@glondu.net>
+---
+ src/Makefile | 8 ++++++--
+ 1 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index c9c64b7..bc223c7 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -14,7 +14,11 @@ ifdef LIBPANGOCAIRO_CFLAGS
+ TARGETS += pangocairo
+ endif
+
+-all : $(TARGETS) $(if $(OCAMLOPT),opt)
++ifneq ($(OCAMLOPT),no)
++OPT_TARGET = opt
++endif
++
++all : $(TARGETS) $(OPT_TARGET)
+ opt : $(addsuffix .opt,$(TARGETS))
+
+ cairo : cairo.cma libmlcairo.a
+@@ -89,7 +93,7 @@ $(call mloptobjs,$(pangocairo_SRC)) : INCFLAGS=-I $(LABLGTKDIR)
+ install: all
+ mkdir -p $(DESTDIR)$(INSTALLDIR) $(DESTDIR)$(OCAMLLIB)/stublibs
+ install -m 644 *.mli *.cmi *.cma lib*.a $(DESTDIR)$(INSTALLDIR)
+-ifdef OCAMLOPT
++ifneq ($(OCAMLOPT),no)
+ install -m644 *.cmxa *.a *.cmx $(DESTDIR)$(INSTALLDIR)
+ endif
+ install -m 755 dll*.so $(DESTDIR)$(INSTALLDIR)
+--
diff --git a/dev-ml/cairo-ocaml/files/0004-no-automagic.patch b/dev-ml/cairo-ocaml/files/0004-no-automagic.patch
new file mode 100644
index 00000000000..46b70013fa3
--- /dev/null
+++ b/dev-ml/cairo-ocaml/files/0004-no-automagic.patch
@@ -0,0 +1,25 @@
+--- cairo-ocaml-1.2.0/configure.ac.orig 2012-06-17 20:58:38.000000000 +0100
++++ cairo-ocaml-1.2.0/configure.ac 2012-06-17 21:05:49.000000000 +0100
+@@ -27,10 +27,20 @@
+ fi
+
+ # Optional libsvg-cairo support
+-PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo, use_libsvg_cairo=yes, use_libsvg_cairo=no)
++AC_ARG_WITH(svg-cairo,
++ AS_HELP_STRING([--with-svg-cairo],[libsvg-cairo support]),
++ use_libsvg_cairo=$withval, use_libsvg_cairo=no)
++if test x$use_libsvg_cairo != xno; then
++ PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo, use_libsvg_cairo=yes, use_libsvg_cairo=no)
++fi
+
+ # Optional pango-cairo support
+-PKG_CHECK_MODULES(LIBPANGOCAIRO, pangocairo, use_libpangocairo=yes, use_libpangocairo=no)
++AC_ARG_WITH(pango-cairo,
++ AS_HELP_STRING([--with-pango-cairo],[pangocairo support]),
++ use_libpangocairo=$withval, use_libpangocairo=no)
++if test x$use_libpangocairo != xno; then
++ PKG_CHECK_MODULES(LIBPANGOCAIRO, pangocairo, use_libpangocairo=yes, use_libpangocairo=no)
++ fi
+
+ echo
+ echo " GTK+ support: $use_gtk"
diff --git a/dev-ml/cairo-ocaml/metadata.xml b/dev-ml/cairo-ocaml/metadata.xml
new file mode 100644
index 00000000000..ba8768ac045
--- /dev/null
+++ b/dev-ml/cairo-ocaml/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang='en'>
+ This package contains all the development stuff you need to use Cairo in
+ your OCaml programs. The folowing backends are supported: PostScript,
+ PDF, PNG, In-memory images and X11.
+</longdescription>
+<use>
+ <flag name='pango'>Enable support for <pkg>x11-libs/pango</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/dev-ml/calendar/Manifest b/dev-ml/calendar/Manifest
new file mode 100644
index 00000000000..caaba3ba040
--- /dev/null
+++ b/dev-ml/calendar/Manifest
@@ -0,0 +1 @@
+DIST calendar-2.03.2.tar.gz 270225 SHA256 0e381faaa3bba522cbac705a7f872e6ecfa15220671f4688d1e311631687fb12 SHA512 c6acc326aaed77d238126f8723a8e3e4054808ddfef974d9aead39731f4ab9f386eff2f34aab17e4eade3825dd1e3b708a404ecde3fc9b82416482c7095de82b WHIRLPOOL 68505b62aee8b41c53aae81a3a3d22776867c4885461f1fac33365b4a03cc8d7e4e1ebfa8bf72fc6665d3eb7eb2ca4ae93b98989bd76f22931103707a1b3712c
diff --git a/dev-ml/calendar/calendar-2.03.2.ebuild b/dev-ml/calendar/calendar-2.03.2.ebuild
new file mode 100644
index 00000000000..29ac9ae075a
--- /dev/null
+++ b/dev-ml/calendar/calendar-2.03.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="An Ocaml library to handle dates and time"
+HOMEPAGE="http://forge.ocamlcore.org/projects/calendar/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/915/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_test() {
+ emake tests
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README CHANGES
+ use doc && dohtml -r doc
+}
diff --git a/dev-ml/calendar/metadata.xml b/dev-ml/calendar/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/calendar/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camlbz2/Manifest b/dev-ml/camlbz2/Manifest
new file mode 100644
index 00000000000..dbfc62af378
--- /dev/null
+++ b/dev-ml/camlbz2/Manifest
@@ -0,0 +1 @@
+DIST camlbz2-0.6.0.tar.gz 57771 SHA256 8154b4e4699c48e14b4dd56cf839a0c10345e9860eb967066be040d432ae7388 SHA512 1052536bb08c9d9f9bdf4a063a5a01389445b55117ce423dd1732de00cd79db5e4befb4ce5c81c5db8a6d40b28a2ac4b897bb00598fdccf76ea92a2966592680 WHIRLPOOL fbd669e47b9401ddb02f15f26c1b519ebc9c0beb618878704638e41e406c815c708f631f59a1d643023d2bb834b137e60ed74f8fd6a60f0d046dcc5ac56a9945
diff --git a/dev-ml/camlbz2/camlbz2-0.6.0.ebuild b/dev-ml/camlbz2/camlbz2-0.6.0.ebuild
new file mode 100644
index 00000000000..9cef5ec0e07
--- /dev/null
+++ b/dev-ml/camlbz2/camlbz2-0.6.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="OCaml bindings for libbz (AKA, bzip2)"
+HOMEPAGE="http://camlbz2.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/72/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="app-arch/bzip2
+ >=dev-lang/ocaml-3.12:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ findlib_src_preinst
+ emake DESTDIR="${OCAMLFIND_DESTDIR}" install
+ dodoc ChangeLog README ROADMAP BUGS
+ use doc && dohtml doc/*
+}
diff --git a/dev-ml/camlbz2/metadata.xml b/dev-ml/camlbz2/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/camlbz2/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camldbm/Manifest b/dev-ml/camldbm/Manifest
new file mode 100644
index 00000000000..ed1f28b1ac0
--- /dev/null
+++ b/dev-ml/camldbm/Manifest
@@ -0,0 +1 @@
+DIST camldbm-1.0.tgz 14397 SHA256 19741fa7827c306ae43b18170b01f5547326ec7ea6c2f4bd80c93439b5ff538f SHA512 d0b752754650efb400f13f957e83fddccf1fc9ac9e1d11f453af94e9aa599546a316eb110685b3728b593c99cbf859cdc7bcf924c878cf8b6dead3dc413ccfbf WHIRLPOOL 44b1489614d55520569020e205f069263d58f5a2101cebe8c8f4f7bf40fa9db5d16afe64fe4fb729104b9774b1609cc342946fd07914b3d2059892211fe776ec
diff --git a/dev-ml/camldbm/camldbm-1.0.ebuild b/dev-ml/camldbm/camldbm-1.0.ebuild
new file mode 100644
index 00000000000..f6205c74a27
--- /dev/null
+++ b/dev-ml/camldbm/camldbm-1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit base
+
+DESCRIPTION="OCaml binding to the NDBM/GDBM Unix databases"
+HOMEPAGE="http://forge.ocamlcore.org/projects/camldbm/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/728/${P}.tgz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND="|| ( >=sys-libs/gdbm-1.9.1-r2[berkdb] <sys-libs/gdbm-1.9.1-r2 )
+ >=dev-lang/ocaml-3.12:=[ocamlopt]
+ !<dev-lang/ocaml-4[gdbm]"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/hasgotfix.patch" "${FILESDIR}/include_fix.patch" )
+
+src_install() {
+ dodir "$(ocamlc -where)/stublibs" # required and makefile does not create it
+ emake LIBDIR="${D}/$(ocamlc -where)" install
+ dodoc README Changelog
+}
diff --git a/dev-ml/camldbm/files/hasgotfix.patch b/dev-ml/camldbm/files/hasgotfix.patch
new file mode 100644
index 00000000000..840ffcbe7f0
--- /dev/null
+++ b/dev-ml/camldbm/files/hasgotfix.patch
@@ -0,0 +1,15 @@
+https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1202&group_id=278&atid=1189
+
+Index: camldbm-1.0/configure
+===================================================================
+--- camldbm-1.0.orig/configure
++++ camldbm-1.0/configure
+@@ -35,7 +35,7 @@ hasgot() {
+ ${CC:-cc} -I$1 -o hasgot.exe hasgot.c $3 $4
+ res=$?
+ rm -f hasgot.c hasgot.exe
+- return $?
++ return $res
+ }
+
+ dbm_include="not found"
diff --git a/dev-ml/camldbm/files/include_fix.patch b/dev-ml/camldbm/files/include_fix.patch
new file mode 100644
index 00000000000..16fb6bd1e96
--- /dev/null
+++ b/dev-ml/camldbm/files/include_fix.patch
@@ -0,0 +1,15 @@
+https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1201&group_id=278&atid=1189
+
+Index: camldbm-1.0/Makefile
+===================================================================
+--- camldbm-1.0.orig/Makefile
++++ camldbm-1.0/Makefile
+@@ -51,7 +51,7 @@ libcamldbm.$(A): cldbm.$(O)
+ $(OCAMLOPT) -c $(COMPFLAGS) $<
+
+ .c.$(O):
+- $(OCAMLC) -c -ccopt "$(DBM_INCLUDE)" -ccopt "$(DBM_DEFINES)" $<
++ $(OCAMLC) -c -ccopt "$(DBM_INCLUDES)" -ccopt "$(DBM_DEFINES)" $<
+
+ depend:
+ $(OCAMLDEP) *.ml *.mli > .depend
diff --git a/dev-ml/camldbm/metadata.xml b/dev-ml/camldbm/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/camldbm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camlidl/Manifest b/dev-ml/camlidl/Manifest
new file mode 100644
index 00000000000..72ae702dba9
--- /dev/null
+++ b/dev-ml/camlidl/Manifest
@@ -0,0 +1 @@
+DIST camlidl-1.05.tar.gz 100640 SHA256 857ed5bd3b2f99c62813070e1a5b4b6375e837c6815f4ad956baeb6f8c660311 SHA512 e8857aca818a06f8c861e5f55dddd7e8e3ab1efae51647534460b4f092166709d86c6de1215c792a0489d668d72064ccfb7635e9a6d3854cd5a62f74541a9d18 WHIRLPOOL ca2ef6dea1647640a7bfae5da6b76ee864e5f29190317c33e768a946fa0fc1e9ce513f83158b7d11d4b3103b2f32fb5873775c55a7e9e24b969eece639ee0db7
diff --git a/dev-ml/camlidl/camlidl-1.05-r1.ebuild b/dev-ml/camlidl/camlidl-1.05-r1.ebuild
new file mode 100644
index 00000000000..40dc28bb312
--- /dev/null
+++ b/dev-ml/camlidl/camlidl-1.05-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml"
+HOMEPAGE="http://caml.inria.fr/camlidl/"
+SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz"
+LICENSE="QPL-1.0 LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/tests.patch"
+ epatch "${FILESDIR}/includes.patch"
+}
+
+src_compile() {
+ # Use the UNIX makefile
+ libdir=`ocamlc -where`
+ sed -i -e "s|OCAMLLIB=.*|OCAMLLIB=${libdir}|" config/Makefile.unix
+ sed -i -e "s|BINDIR=.*|BINDIR=${EPREFIX}/usr/bin|" config/Makefile.unix
+ ln -s Makefile.unix config/Makefile
+
+ # Make
+ emake -j1
+}
+
+src_test() {
+ einfo "Running tests..."
+ cd tests
+ emake CCPP="$(tc-getCXX)"
+}
+
+src_install() {
+ libdir=`ocamlc -where`
+ dodir ${libdir#${EPREFIX}}/caml
+ dodir /usr/bin
+ # Install
+ emake BINDIR="${ED}/usr/bin" OCAMLLIB="${D}${libdir}" install
+
+ # Add package header
+ sed -e "s/@VERSION/${P}/g" "${FILESDIR}/META.camlidl" > "${D}${libdir}/META.camlidl" || die
+
+ # Documentation
+ dodoc README Changes
+}
diff --git a/dev-ml/camlidl/files/META.camlidl b/dev-ml/camlidl/files/META.camlidl
new file mode 100644
index 00000000000..b0aeaf23141
--- /dev/null
+++ b/dev-ml/camlidl/files/META.camlidl
@@ -0,0 +1,5 @@
+description = "Stub generator"
+version = "@VERSION"
+directory = "^"
+archive(byte) = "com.cma"
+archive(native) = "com.cmxa"
diff --git a/dev-ml/camlidl/files/includes.patch b/dev-ml/camlidl/files/includes.patch
new file mode 100644
index 00000000000..060aceefd0a
--- /dev/null
+++ b/dev-ml/camlidl/files/includes.patch
@@ -0,0 +1,12 @@
+Index: camlidl-1.05/runtime/comerror.c
+===================================================================
+--- camlidl-1.05.orig/runtime/comerror.c
++++ camlidl-1.05/runtime/comerror.c
+@@ -22,6 +22,7 @@
+ #include <caml/callback.h>
+ #include <caml/fail.h>
+ #include <caml/alloc.h>
++#include <caml/printexc.h>
+ #include "camlidlruntime.h"
+ #include "comstuff.h"
+
diff --git a/dev-ml/camlidl/files/tests.patch b/dev-ml/camlidl/files/tests.patch
new file mode 100644
index 00000000000..f7272424be8
--- /dev/null
+++ b/dev-ml/camlidl/files/tests.patch
@@ -0,0 +1,36 @@
+Index: camlidl-1.05/tests/unix.idl
+===================================================================
+--- camlidl-1.05.orig/tests/unix.idl
++++ camlidl-1.05/tests/unix.idl
+@@ -15,16 +15,16 @@ quote (C, "
+
+ union process_status { int code; };
+
+- enum { WEXITED, WSIGNALED, WSTOPPED };
++ enum { WEXITED2, WSIGNALED, WSTOPPED2 };
+
+ static void decode_status(int status, int * kind, union process_status * p)
+ {
+ if (WIFEXITED(status)) {
+- *kind = WEXITED; p->code = WEXITSTATUS(status);
++ *kind = WEXITED2; p->code = WEXITSTATUS(status);
+ } else if (WIFSIGNALED(status)) {
+ *kind = WSIGNALED; p->code = WTERMSIG(status);
+ } else {
+- *kind = WSTOPPED; p->code = WSTOPSIG(status);
++ *kind = WSTOPPED2; p->code = WSTOPSIG(status);
+ }
+ }
+
+@@ -59,9 +59,9 @@ int execve([in,string] char * path,
+ int fork(void);
+
+ union process_status {
+- case WEXITED: int code;
++ case WEXITED2: int code;
+ case WSIGNALED: int code;
+- case WSTOPPED: int code;
++ case WSTOPPED2: int code;
+ };
+
+ int wait([out] int * kind,
diff --git a/dev-ml/camlidl/metadata.xml b/dev-ml/camlidl/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/camlidl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camlimages/Manifest b/dev-ml/camlimages/Manifest
new file mode 100644
index 00000000000..0e91b435a09
--- /dev/null
+++ b/dev-ml/camlimages/Manifest
@@ -0,0 +1,4 @@
+DIST camlimages-4.0.1.tar.bz2 2010729 SHA256 b6a5e79abcfba1316a516f2e0290e6f06c90fa1ed94d8dcd5533a2e3d51c0c89 SHA512 1d80e6b1ab7f48e4219b7bcf6287b8403b6ad56f88d39fb8d9403b5e6f8c4b346c98112874094824ed001c71605e73fd0f4ca044669a07bcf6965619c5ff4811 WHIRLPOOL 22107c7d96995e0e2d68688c5eaa502db21e493a59a9361a59f413fa27349a3f82186d21ea4e17df12bb428d7316c5c4ccaedf0bb03d192671e187b1e5ef6410
+DIST camlimages-4.1.1.tar.bz2 1098450 SHA256 22c4485f69ddda6fa94fcb62c1f996756c93ceb59d6d61962d41df59fa27e346 SHA512 79dc5680ef632968d39513cac161f0e5daf4faecec12f100d56755051d257b1c0e4e45990d4215c4b95596b5d94cebc93b6d828953450b15a4e48993013637b2 WHIRLPOOL f18c3b7046c39c7ae05c91845cd4bd7f8cc52043180be6e21d9f19cfd055aba630cc7f9fc839d2caaba47946269008e952ee31e27aee5e0f184366ab2a183f7c
+DIST camlimages-4.1.2.tar.bz2 1099399 SHA256 71de393656d60555ce3fb0ca7da13a6e0a74fdebad541a7790395e3b1d6cedde SHA512 8c41eef07418719643fc69d62f2d02b248731cb64efd81bc02cc61363da71ad11cf85eb9010674a10d17f9e90d169ca98e5c61d95ae835d0476cf9cfc492f453 WHIRLPOOL d6b3908b6d9c18462b69d7806113e423a5835812148e6e835329c3ab378a351c7f58423e63c942771e37bb30bdf4d61c089ab2d0212936150f0b1831b961d966
+DIST camlimages-4.2.1.tar.bz2 1098703 SHA256 3d9b9d6a41f4b80e36574e8046acbe0514c1fcf2c5ffa11d375891485be1f266 SHA512 611a5f1eb383efed9b3ffd4801b28386f8317abe7bb25ff45a61a7e7ba911b6632852c8d3082b830d9e780fc70c03cb480c7a9f1440aa1259c60036813d07792 WHIRLPOOL eecf3a4ff1adfc458c2a48d5091ff4432fdd137e127a496cf288e13a071dbc0421045242a3fc43b8efe0d3041e8cc490d8e941290dd3f52e1888762eb69cd585
diff --git a/dev-ml/camlimages/camlimages-4.0.1.ebuild b/dev-ml/camlimages/camlimages-4.0.1.ebuild
new file mode 100644
index 00000000000..318539c0c14
--- /dev/null
+++ b/dev-ml/camlimages/camlimages-4.0.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils vcs-snapshot findlib multilib
+
+DESCRIPTION="An image manipulation library for ocaml"
+HOMEPAGE="http://gallium.inria.fr/camlimages/"
+SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/v4.0.1.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ppc x86"
+IUSE="doc gif gtk jpeg png postscript tiff truetype X xpm zlib"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
+ gif? ( media-libs/giflib )
+ gtk? ( dev-ml/lablgtk )
+ jpeg? ( virtual/jpeg )
+ tiff? ( media-libs/tiff )
+ png? ( >=media-libs/libpng-1.4:0 )
+ postscript? ( app-text/ghostscript-gpl )
+ truetype? ( >=media-libs/freetype-2 )
+ xpm? ( x11-libs/libXpm )
+ X? ( x11-apps/rgb )
+ zlib? ( sys-libs/zlib )
+ "
+DEPEND="${DEPEND}
+ doc? ( dev-python/sphinx[latex] )
+ dev-util/omake
+ dev-ml/findlib"
+
+REQUIRED_USE="png? ( zlib )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-libpng15.patch"
+}
+
+camlimages_disable_have() {
+ if ! use $1 ; then
+ sed -i -e "s/^[[:space:]]*HAVE_$2.*\$/ HAVE_$2 = false/" OMakefile || die
+ sed -i -e "s/^[[:space:]]*SUPPORT_$2.*\$/\0\n SUPPORT_$2 = false/" OMakefile || die
+ fi
+}
+
+src_configure() {
+ camlimages_disable_have gif GIF
+ camlimages_disable_have zlib Z
+ camlimages_disable_have png PNG
+ camlimages_disable_have jpeg JPEG
+ camlimages_disable_have tiff TIFF
+ camlimages_disable_have xpm XPM
+ camlimages_disable_have postscript PS
+ camlimages_disable_have gtk LABLGTK2
+ camlimages_disable_have X GRAPHICS
+ camlimages_disable_have X RGB_TXT
+ camlimages_disable_have truetype FREETYPE
+}
+
+src_compile() {
+ omake --force-dotomake || die
+ if use doc ; then
+ sphinx-build doc/sphinx sphinxdoc || die
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ omake --force-dotomake DESTDIR="${D}" install || die
+ dodoc README
+ use doc && dohtml -r sphinxdoc/*
+}
diff --git a/dev-ml/camlimages/camlimages-4.1.1.ebuild b/dev-ml/camlimages/camlimages-4.1.1.ebuild
new file mode 100644
index 00000000000..664dd782e30
--- /dev/null
+++ b/dev-ml/camlimages/camlimages-4.1.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils vcs-snapshot findlib multilib
+
+DESCRIPTION="An image manipulation library for ocaml"
+HOMEPAGE="http://gallium.inria.fr/camlimages/"
+SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
+ exif? ( media-libs/libexif )
+ gif? ( media-libs/giflib )
+ gtk? ( dev-ml/lablgtk )
+ jpeg? ( virtual/jpeg )
+ tiff? ( media-libs/tiff )
+ png? ( >=media-libs/libpng-1.4:0 )
+ postscript? ( app-text/ghostscript-gpl )
+ truetype? ( >=media-libs/freetype-2 )
+ xpm? ( x11-libs/libXpm )
+ X? ( x11-apps/rgb )
+ sys-libs/zlib
+ "
+DEPEND="${DEPEND}
+ doc? ( dev-python/sphinx[latex] )
+ dev-util/omake
+ virtual/pkgconfig
+ dev-ml/findlib"
+
+camlimages_arg_want() {
+ echo "ARG_WANT_${2}=$(usex $1 1 0)"
+}
+
+src_compile() {
+ omake \
+ $(camlimages_arg_want exif EXIF ) \
+ $(camlimages_arg_want gif GIF ) \
+ $(camlimages_arg_want png PNG ) \
+ $(camlimages_arg_want jpeg JPEG ) \
+ $(camlimages_arg_want tiff TIFF ) \
+ $(camlimages_arg_want xpm XPM ) \
+ $(camlimages_arg_want postscript GS ) \
+ $(camlimages_arg_want gtk LABLGTK2) \
+ $(camlimages_arg_want X GRAPHICS) \
+ $(camlimages_arg_want truetype FREETYPE) \
+ --force-dotomake || die
+
+ if use doc ; then
+ sphinx-build doc/sphinx sphinxdoc || die
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ omake --force-dotomake DESTDIR="${D}" install || die
+ dodoc README.rst
+ use doc && dohtml -r sphinxdoc/*
+}
diff --git a/dev-ml/camlimages/camlimages-4.1.2.ebuild b/dev-ml/camlimages/camlimages-4.1.2.ebuild
new file mode 100644
index 00000000000..a365d01b804
--- /dev/null
+++ b/dev-ml/camlimages/camlimages-4.1.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils vcs-snapshot findlib multilib
+
+DESCRIPTION="An image manipulation library for ocaml"
+HOMEPAGE="http://gallium.inria.fr/camlimages/"
+SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
+ exif? ( media-libs/libexif )
+ gif? ( media-libs/giflib )
+ gtk? ( dev-ml/lablgtk )
+ jpeg? ( virtual/jpeg )
+ tiff? ( media-libs/tiff )
+ png? ( >=media-libs/libpng-1.4:0 )
+ postscript? ( app-text/ghostscript-gpl )
+ truetype? ( >=media-libs/freetype-2 )
+ xpm? ( x11-libs/libXpm )
+ X? ( x11-apps/rgb )
+ sys-libs/zlib
+ "
+DEPEND="${DEPEND}
+ doc? ( dev-python/sphinx[latex] )
+ dev-util/omake
+ virtual/pkgconfig
+ dev-ml/findlib"
+
+camlimages_arg_want() {
+ echo "ARG_WANT_${2}=$(usex $1 1 0)"
+}
+
+src_compile() {
+ omake \
+ $(camlimages_arg_want exif EXIF ) \
+ $(camlimages_arg_want gif GIF ) \
+ $(camlimages_arg_want png PNG ) \
+ $(camlimages_arg_want jpeg JPEG ) \
+ $(camlimages_arg_want tiff TIFF ) \
+ $(camlimages_arg_want xpm XPM ) \
+ $(camlimages_arg_want postscript GS ) \
+ $(camlimages_arg_want gtk LABLGTK2) \
+ $(camlimages_arg_want X GRAPHICS) \
+ $(camlimages_arg_want truetype FREETYPE) \
+ PATH_GS=/bin/true \
+ --force-dotomake || die
+
+ if use doc ; then
+ sphinx-build doc/sphinx sphinxdoc || die
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ omake --force-dotomake DESTDIR="${D}" install || die
+ dodoc README.rst
+ use doc && dohtml -r sphinxdoc/*
+}
diff --git a/dev-ml/camlimages/camlimages-4.2.1.ebuild b/dev-ml/camlimages/camlimages-4.2.1.ebuild
new file mode 100644
index 00000000000..38c392de3e0
--- /dev/null
+++ b/dev-ml/camlimages/camlimages-4.2.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils vcs-snapshot findlib multilib
+
+DESCRIPTION="An image manipulation library for ocaml"
+HOMEPAGE="http://gallium.inria.fr/camlimages/"
+SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
+ exif? ( media-libs/libexif )
+ gif? ( media-libs/giflib )
+ gtk? ( dev-ml/lablgtk )
+ jpeg? ( virtual/jpeg )
+ tiff? ( media-libs/tiff )
+ png? ( >=media-libs/libpng-1.4:0 )
+ postscript? ( app-text/ghostscript-gpl )
+ truetype? ( >=media-libs/freetype-2 )
+ xpm? ( x11-libs/libXpm )
+ X? ( x11-apps/rgb )
+ sys-libs/zlib
+ "
+DEPEND="${DEPEND}
+ doc? ( dev-python/sphinx[latex] )
+ dev-util/omake
+ virtual/pkgconfig
+ dev-ml/findlib"
+
+camlimages_arg_want() {
+ echo "ARG_WANT_${2}=$(usex $1 1 0)"
+}
+
+src_compile() {
+ omake \
+ $(camlimages_arg_want exif EXIF ) \
+ $(camlimages_arg_want gif GIF ) \
+ $(camlimages_arg_want png PNG ) \
+ $(camlimages_arg_want jpeg JPEG ) \
+ $(camlimages_arg_want tiff TIFF ) \
+ $(camlimages_arg_want xpm XPM ) \
+ $(camlimages_arg_want postscript GS ) \
+ $(camlimages_arg_want gtk LABLGTK2) \
+ $(camlimages_arg_want X GRAPHICS) \
+ $(camlimages_arg_want truetype FREETYPE) \
+ PATH_GS=/bin/true \
+ --force-dotomake || die
+
+ if use doc ; then
+ sphinx-build doc/sphinx sphinxdoc || die
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ omake --force-dotomake DESTDIR="${D}" install || die
+ dodoc README.rst
+ use doc && dohtml -r sphinxdoc/*
+}
diff --git a/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch b/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch
new file mode 100644
index 00000000000..460b3c11edf
--- /dev/null
+++ b/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch
@@ -0,0 +1,67 @@
+# HG changeset patch
+# User Jun Furuse <jun.furuse@gmail.com>
+# Date 1329456902 -28800
+# Node ID 4ecc49e79369d413af732c4feeab7128e2f6f11a
+# Parent 9b5cbcd07ae5a88561fbaa4eec3938af5e8b7574
+png_ptr->jmpbuf => png_jmpbuf(png_ptr)
+
+diff -r 9b5cbcd07ae5 -r 4ecc49e79369 src/pngread.c
+--- a/src/pngread.c Tue Jan 31 22:40:50 2012 +0900
++++ b/src/pngread.c Fri Feb 17 13:35:02 2012 +0800
+@@ -69,7 +69,7 @@
+ }
+
+ /* error handling */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
+ fclose(fp);
+@@ -134,7 +134,7 @@
+ png_set_rows(png_ptr, info_ptr, row_pointers);
+
+ /* Later, we can return something */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
+ fclose(fp);
+@@ -243,7 +243,7 @@
+ }
+
+ /* error handling */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
+ fclose(fp);
+@@ -302,7 +302,7 @@
+ png_set_rows(png_ptr, info_ptr, row_pointers);
+
+ /* Later, we can return something */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
+ fclose(fp);
+diff -r 9b5cbcd07ae5 -r 4ecc49e79369 src/pngwrite.c
+--- a/src/pngwrite.c Tue Jan 31 22:40:50 2012 +0900
++++ b/src/pngwrite.c Fri Feb 17 13:35:02 2012 +0800
+@@ -62,7 +62,7 @@
+ }
+
+ /* error handling */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(fp);
+@@ -171,7 +171,7 @@
+ }
+
+ /* error handling */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* Free all of the memory associated with the png_ptr and info_ptr */
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(fp);
diff --git a/dev-ml/camlimages/metadata.xml b/dev-ml/camlimages/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/camlimages/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest
new file mode 100644
index 00000000000..487f3270ce5
--- /dev/null
+++ b/dev-ml/camlp4/Manifest
@@ -0,0 +1 @@
+DIST camlp4-4.02.1_p3.tar.gz 646389 SHA256 c28058b20016dac51d492b1a98e6453d2c7097100542c99a0593cc240a3eeada SHA512 59d196be0bb7410ffd48a3d2debff4502ca58e7b032027b27b9d126381c02336f177a47585a7d7a3142049930c21dbe075068852e6369fe7e8a58e3339d96041 WHIRLPOOL bedcbaa86a1282bed6d51a64b1877575e727cbf2485abf38bcbed49b18cbad9e8548e0fb413daf216f3d78fde2710c95de49a5055cbb3548eb284515148a3e7d
diff --git a/dev-ml/camlp4/camlp4-4.02.1_p3.ebuild b/dev-ml/camlp4/camlp4-4.02.1_p3.ebuild
new file mode 100644
index 00000000000..f48edb7141c
--- /dev/null
+++ b/dev-ml/camlp4/camlp4-4.02.1_p3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PV=${PV/_p/+}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="System for writing extensible parsers for programming languages"
+HOMEPAGE="https://github.com/ocaml/camlp4"
+SRC_URI="https://github.com/ocaml/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
+IUSE="+ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
+RDEPEND="${DEPEND}
+ !<dev-lang/ocaml-4.02
+ !<dev-ml/findlib-1.5.5-r1"
+
+S=${WORKDIR}/${P/_p/-}
+
+src_configure() {
+ ./configure \
+ --bindir="${EPREFIX}/usr/bin" \
+ --libdir="$(ocamlc -where)" \
+ --pkgdir="$(ocamlc -where)" \
+ || die
+}
+
+src_compile() {
+ emake byte
+ use ocamlopt && emake native
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-META
+ dodoc CHANGES.md README.md
+}
diff --git a/dev-ml/camlp4/metadata.xml b/dev-ml/camlp4/metadata.xml
new file mode 100644
index 00000000000..61a20d310a0
--- /dev/null
+++ b/dev-ml/camlp4/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocaml/camlp4</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest
new file mode 100644
index 00000000000..c78bd262a92
--- /dev/null
+++ b/dev-ml/camlp5/Manifest
@@ -0,0 +1,3 @@
+DIST camlp5-6.12.tgz 716173 SHA256 b716c8b248289205bc76823000bc0b0988517cfcfd9c2eb1a3c43cc2cd7d5c02 SHA512 33cf0738b0f8f1daad0f40158654c32a7a4b1559671c6f95193a9c71bb0fdb7f8328a3d012c5fdba83fe940882588a6e12c242a7585dd193974d4f7dedbdbc12 WHIRLPOOL 76d1d2c3eaf8781e594a66e50b2b2d2858a11310b7f8ed5f43cfef2d6598acb0ae573a4ab16154d8aee1d51043cc0e7a24fd9c0fb2d92651000a5100d0a9a50b
+DIST camlp5-6.13.tgz 719912 SHA256 d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9 SHA512 184280c0de77c72125c82b4ad93cba0af713374838248a3f0250b775a75f1a0a34d3c48a037fb91601d70a637cdf6b005222f866a700bb024c4a0caa8dbc41b7 WHIRLPOOL feef006286a0011157dc5076fb7397a2de651e831ed26a90ed80f1bc3b36f8eb35d2c7fd3eff4a37501a729314e921b7c7aaa7715df8bfba5408976ff28bd127
+DIST camlp5-6.14.tgz 748674 SHA256 09f9ed12893d2ec39c88106af2306865c966096bedce0250f2fe52b67d2480e2 SHA512 7dd57b8725953099726fc2e5f6dda01ed74485a4bbf41cb30ccd2163ee38bc6dff36fd83069c58d7990522527d266c9e180a8e333b36a42bc216315dc88a25e9 WHIRLPOOL 305bb842e449775352cbbf3c89a301a188419c10462f0959b00e181596218b5251dac50856f152ad471fd680e557e6595978c395e9c2864c38ddacd7287c4e3b
diff --git a/dev-ml/camlp5/camlp5-6.12.ebuild b/dev-ml/camlp5/camlp5-6.12.ebuild
new file mode 100644
index 00000000000..30e029a6d4e
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-6.12.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib findlib eutils
+
+MY_P=${P%_p*}
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="http://camlp5.gforge.inria.fr/"
+SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+PATCHLEVEL=${PV#*_p}
+PATCHLIST=""
+
+if [ "${PATCHLEVEL}" != "${PV}" ] ; then
+ for (( i=1; i<=PATCHLEVEL; i++ )) ; do
+ SRC_URI="${SRC_URI}
+ http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
+ PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
+ done
+fi
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ for i in ${PATCHLIST} ; do
+ epatch "${DISTDIR}/${i}"
+ done
+}
+
+src_configure() {
+ ./configure \
+ --strict \
+ -prefix /usr \
+ -bindir /usr/bin \
+ -libdir /usr/$(get_libdir)/ocaml \
+ -mandir /usr/share/man || die "configure failed"
+}
+
+src_compile(){
+ emake out
+ if use ocamlopt; then
+ emake opt
+ emake opt.opt
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ # findlib support
+ insinto "$(ocamlfind printconf destdir)/${PN}"
+ doins etc/META
+
+ use doc && dohtml -r doc/*
+
+ dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
+}
diff --git a/dev-ml/camlp5/camlp5-6.13.ebuild b/dev-ml/camlp5/camlp5-6.13.ebuild
new file mode 100644
index 00000000000..4fcf3b9f748
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-6.13.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib findlib eutils
+
+MY_P=${P%_p*}
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="http://camlp5.gforge.inria.fr/"
+SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+PATCHLEVEL=${PV#*_p}
+PATCHLIST=""
+
+if [ "${PATCHLEVEL}" != "${PV}" ] ; then
+ for (( i=1; i<=PATCHLEVEL; i++ )) ; do
+ SRC_URI="${SRC_URI}
+ http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
+ PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
+ done
+fi
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ for i in ${PATCHLIST} ; do
+ epatch "${DISTDIR}/${i}"
+ done
+}
+
+src_configure() {
+ ./configure \
+ --strict \
+ -prefix /usr \
+ -bindir /usr/bin \
+ -libdir /usr/$(get_libdir)/ocaml \
+ -mandir /usr/share/man || die "configure failed"
+}
+
+src_compile(){
+ emake out
+ if use ocamlopt; then
+ emake opt
+ emake opt.opt
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ # findlib support
+ insinto "$(ocamlfind printconf destdir)/${PN}"
+ doins etc/META
+
+ use doc && dohtml -r doc/*
+
+ dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
+}
diff --git a/dev-ml/camlp5/camlp5-6.14.ebuild b/dev-ml/camlp5/camlp5-6.14.ebuild
new file mode 100644
index 00000000000..4fcf3b9f748
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-6.14.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib findlib eutils
+
+MY_P=${P%_p*}
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="http://camlp5.gforge.inria.fr/"
+SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+PATCHLEVEL=${PV#*_p}
+PATCHLIST=""
+
+if [ "${PATCHLEVEL}" != "${PV}" ] ; then
+ for (( i=1; i<=PATCHLEVEL; i++ )) ; do
+ SRC_URI="${SRC_URI}
+ http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
+ PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
+ done
+fi
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ for i in ${PATCHLIST} ; do
+ epatch "${DISTDIR}/${i}"
+ done
+}
+
+src_configure() {
+ ./configure \
+ --strict \
+ -prefix /usr \
+ -bindir /usr/bin \
+ -libdir /usr/$(get_libdir)/ocaml \
+ -mandir /usr/share/man || die "configure failed"
+}
+
+src_compile(){
+ emake out
+ if use ocamlopt; then
+ emake opt
+ emake opt.opt
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ # findlib support
+ insinto "$(ocamlfind printconf destdir)/${PN}"
+ doins etc/META
+
+ use doc && dohtml -r doc/*
+
+ dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
+}
diff --git a/dev-ml/camlp5/metadata.xml b/dev-ml/camlp5/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/camlp5/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camlpdf/Manifest b/dev-ml/camlpdf/Manifest
new file mode 100644
index 00000000000..e6a501e607e
--- /dev/null
+++ b/dev-ml/camlpdf/Manifest
@@ -0,0 +1 @@
+DIST camlpdf-2.1.1.tar.gz 563633 SHA256 970b63bbe0d78c415813f48b103066286e95fe04ad5fb30cc968472b3c3b00b1 SHA512 db6f9f61c43113e1f4d8741d88766bacc489a45b8e7164e4619f8bb88c527bc7cbeebdaaa673a77ab16c60dc3c90d21a69844e9fed92c222fc8fe0424f328cf2 WHIRLPOOL af0c8a80f03f789890f1ed0358a028c6d7dd754a564dce3bc0cf642e0ea9c620ce9d1d514e8d4c27fb4fa030551434aa4f01bc29eccdad02ca5f5dd7c4ba2c61
diff --git a/dev-ml/camlpdf/camlpdf-2.1.1.ebuild b/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
new file mode 100644
index 00000000000..83226661473
--- /dev/null
+++ b/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="OCaml library for reading, writing, and modifying PDF files"
+HOMEPAGE="https://github.com/johnwhitington/camlpdf/"
+SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# technically LGPL-2.1+ with linking exception
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-lang/ocaml:="
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ # parallel make bugs
+ emake -j1
+}
+
+src_install() {
+ findlib_src_install
+ dodoc Changes README.md
+
+ if use doc ; then
+ dodoc introduction_to_camlpdf.pdf
+ dohtml doc/camlpdf/html/*
+ fi
+
+ use examples && dodoc -r examples
+}
diff --git a/dev-ml/camlpdf/metadata.xml b/dev-ml/camlpdf/metadata.xml
new file mode 100644
index 00000000000..296595d7ed5
--- /dev/null
+++ b/dev-ml/camlpdf/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">johnwhitington/camlpdf</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/camlzip/Manifest b/dev-ml/camlzip/Manifest
new file mode 100644
index 00000000000..bb47bb4bbd0
--- /dev/null
+++ b/dev-ml/camlzip/Manifest
@@ -0,0 +1 @@
+DIST camlzip-1.05.tar.gz 25817 SHA256 930b70c736ab5a7ed1b05220102310a0a2241564786657abe418e834a538d06b SHA512 5128243fc7528e5ec6cbb7d9b121e8cb0b6d486a95a82161cd74cafe05454602c9952ed6fee3d38a53614e5ecdc20ef88437681107c5952bf85b8f8c78bf042d WHIRLPOOL 26d2bf8d08a425b2297a913ec140fdfff78a31eb9a09e3641b38face44994c2f322354fddd9b96c003df74479e3d40dd12b5d9243160eeadd466b66e896b1acd
diff --git a/dev-ml/camlzip/camlzip-1.05.ebuild b/dev-ml/camlzip/camlzip-1.05.ebuild
new file mode 100644
index 00000000000..73d097ab040
--- /dev/null
+++ b/dev-ml/camlzip/camlzip-1.05.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib eutils
+
+IUSE="+ocamlopt"
+
+DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
+HOMEPAGE="http://forge.ocamlcore.org/projects/camlzip/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1037/${P}.tar.gz"
+
+SLOT="1/${PV}"
+LICENSE="LGPL-2.1"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ >=sys-libs/zlib-1.1.3"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake all
+ if use ocamlopt; then
+ emake allopt
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ emake DESTDIR="${D}" install-findlib
+
+ dodoc README Changes
+}
diff --git a/dev-ml/camlzip/metadata.xml b/dev-ml/camlzip/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/camlzip/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/camomile/Manifest b/dev-ml/camomile/Manifest
new file mode 100644
index 00000000000..10f7f1ebec1
--- /dev/null
+++ b/dev-ml/camomile/Manifest
@@ -0,0 +1,2 @@
+DIST camomile-0.8.4.tar.bz2 2649800 SHA256 ef521f96fe984e6b0118041ed68a7a165beda54d8541c248ed402b7ef693de50 SHA512 f8d9b5288636eb3123b539a2c09bcd2f674acf10b16b83abea5d9e7f7f34a7359e36572f4ab3bc1ebeb42562e30f4fa9a1986e50060175186c0c2739e64130d1 WHIRLPOOL d2eb6b3c413424cb0c7e53cffeb01431f805f9124db6822e3b0fd8101cabee0ecec4caf2436d5151cd658bf53fe971842a3f5e3e901cc74b9ae35353e4be96a9
+DIST camomile-0.8.5.tar.bz2 2607084 SHA256 85806b051cf059b93676a10a3f66051f7f322cad6e3248172c3e5275f79d7100 SHA512 ef4da32f955e69e0b2958b4b2bf12ae94e210d8aa7cee5a9030607b79ac43a884758549f3164c223fb07d987a4a50b15f0bc5083ff67120270409f7fb9928014 WHIRLPOOL 72bed65fb030548430a352b76a63b1171b964ad78676a6ce0bb2a8d3555ea097e0002321a3c2d13ec933ca29755f4780c77f28e485053d9ddbd6908e8c4cf6b5
diff --git a/dev-ml/camomile/camomile-0.8.4.ebuild b/dev-ml/camomile/camomile-0.8.4.ebuild
new file mode 100644
index 00000000000..6ca2a14610a
--- /dev/null
+++ b/dev-ml/camomile/camomile-0.8.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib eutils
+
+DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml"
+HOMEPAGE="http://github.com/yoriyuki/Camomile/wiki"
+SRC_URI="http://github.com/downloads/yoriyuki/Camomile/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ppc x86"
+IUSE="debug +ocamlopt"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_compile() {
+ emake -j1 byte unidata unimaps charmap_data locale_data
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ dodir /usr/bin
+ findlib_src_install DATADIR="${D}/usr/share" BINDIR="${D}/usr/bin"
+}
diff --git a/dev-ml/camomile/camomile-0.8.5.ebuild b/dev-ml/camomile/camomile-0.8.5.ebuild
new file mode 100644
index 00000000000..7c160ac3d60
--- /dev/null
+++ b/dev-ml/camomile/camomile-0.8.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib eutils
+
+DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml"
+HOMEPAGE="http://github.com/yoriyuki/Camomile/wiki"
+SRC_URI="https://github.com/yoriyuki/Camomile/releases/download/rel-${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug +ocamlopt"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_compile() {
+ emake -j1 byte unidata unimaps charmap_data locale_data
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ dodir /usr/bin
+ findlib_src_install DATADIR="${D}/usr/share" BINDIR="${D}/usr/bin"
+}
diff --git a/dev-ml/camomile/metadata.xml b/dev-ml/camomile/metadata.xml
new file mode 100644
index 00000000000..c2fd0b301e0
--- /dev/null
+++ b/dev-ml/camomile/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">yoriyuki/Camomile</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/cmdliner/Manifest b/dev-ml/cmdliner/Manifest
new file mode 100644
index 00000000000..1dc6fe4b6bd
--- /dev/null
+++ b/dev-ml/cmdliner/Manifest
@@ -0,0 +1 @@
+DIST cmdliner-0.9.7.tbz 50343 SHA256 9c19893cffb5d3c3469ee0cce85e3eeeba17d309b33b9ace31aba06f68f0bf7a SHA512 ea1ee186f6072dc836e23a7fcc0756d016c61d4d34ef2416842d1e6e73707b2bbd6aaccd8f57472560dbeab75d3d26159ad8276813882726a11e4530dc6f45e6 WHIRLPOOL 79acdf4807cc5befad01fa1f22a214bc2c6a66dbba4b2b2c041ba72c0b2982d7ca61c632766bfe498987f61d6636a818fae1c96df1bf02e87073c9247b6babf0
diff --git a/dev-ml/cmdliner/cmdliner-0.9.7.ebuild b/dev-ml/cmdliner/cmdliner-0.9.7.ebuild
new file mode 100644
index 00000000000..87faba39008
--- /dev/null
+++ b/dev-ml/cmdliner/cmdliner-0.9.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Declarative definition of command line interfaces for OCaml"
+HOMEPAGE="http://erratique.ch/software/cmdliner"
+SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ ocaml pkg/build.ml \
+ native=$(usex ocamlopt true false) \
+ native-dynlink=$(usex ocamlopt true false) \
+ || die
+}
+
+src_install() {
+ # Can't use opam-installer here as it is an opam dep...
+ findlib_src_preinst
+ local nativelibs=""
+ use ocamlopt && nativelibs="$(echo _build/src/cmdliner.cm{x,xa,xs} _build/src/cmdliner.a)"
+ ocamlfind install cmdliner _build/pkg/META \
+ _build/src/cmdliner.mli _build/src/cmdliner.cm{a,i} ${nativelibs} || die
+ dodoc README.md TODO.md CHANGES.md
+ use doc && dohtml -r doc/
+}
diff --git a/dev-ml/cmdliner/metadata.xml b/dev-ml/cmdliner/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/cmdliner/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/comparelib/Manifest b/dev-ml/comparelib/Manifest
new file mode 100644
index 00000000000..a8177219143
--- /dev/null
+++ b/dev-ml/comparelib/Manifest
@@ -0,0 +1,2 @@
+DIST comparelib-109.27.00.tar.gz 53593 SHA256 6d7015be475a08e3e4105f10697c0e3139c6a9b62c9c9dbf5039947c522a437f SHA512 b2f612febf94f596d8ba65fcb1b582f4505fac4bc0a3e0481f446bcbb72036410bd05628367a32b7ba4655cb052cff17cf1b8499f7e562566858216c7786a873 WHIRLPOOL 85281665252471d7c5e89a62ccec1c15c8aaa41778bcdeb81c6b4b2887cf749f9fef10b058c866a7b5b7bf6c9e8390cccdd43e52947a73d1c3a89bdf5b0c225a
+DIST comparelib-109.60.00.tar.gz 56707 SHA256 1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e SHA512 0a20267b06ddb840f31b3aec7b4cc0a77aa5a5e7f454c1d163944e4b233233b5cc1d266aae52eaffbc0721e8d83f2ec345444032af1dc2e0b75bb78ae06e33cb WHIRLPOOL 092abc147a3531d543a9fb68526c4a9839b4ca4f12674962b15a6da01caa69d5ae4e111b29ad9b06b1a2f703a017b04b71016b421ad2334447ed0f47d47d0332
diff --git a/dev-ml/comparelib/comparelib-109.27.00.ebuild b/dev-ml/comparelib/comparelib-109.27.00.ebuild
new file mode 100644
index 00000000000..9f343f40e23
--- /dev/null
+++ b/dev-ml/comparelib/comparelib-109.27.00.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Camlp4 syntax extension that derives comparison functions from type representations"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109.20.00:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
diff --git a/dev-ml/comparelib/comparelib-109.60.00.ebuild b/dev-ml/comparelib/comparelib-109.60.00.ebuild
new file mode 100644
index 00000000000..cc93cededdd
--- /dev/null
+++ b/dev-ml/comparelib/comparelib-109.60.00.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Camlp4 syntax extension that derives comparison functions from type representations"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109.20.00:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
diff --git a/dev-ml/comparelib/metadata.xml b/dev-ml/comparelib/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/comparelib/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/core/Manifest b/dev-ml/core/Manifest
new file mode 100644
index 00000000000..1a8ec359c13
--- /dev/null
+++ b/dev-ml/core/Manifest
@@ -0,0 +1,5 @@
+DIST core-112.17.00.tar.gz 755485 SHA256 61879c6401a1fd3ebda308584d7e8650fd8f9d745677cba5eb5a5fc16dd9c4a4 SHA512 6964c0310efec64cdfc17c5d77f562dda0280b4fba8eff9c9b8b1697d011f981263fec3748f0a3820b0b8e13690440eff08e52084e090f35593dd37761479258 WHIRLPOOL af290471b327f3434ac4b0e2fd9fae23eae0af984bc179993cacb8af46e0b51cf8fefaa00a1257df2055e37763eb9815a35ad4ea037579283f2fda1ce7c58ca1
+DIST core-112.24.01.tar.gz 742585 SHA256 be5d53ebd4fd04ef23ebf9b3b2840c7aeced6bc4cc6cd3f5e89f71c9949000f4 SHA512 7672783da5aedfedf11d369ea58f7d32eecca0e99f17257bf2acf23d3f7517b3c86b53a3fa230c212fff211a489a98c47d248ed9ac4997784d2534848f8e2ce6 WHIRLPOOL 8f127eaf9891fb8ea60b49b3224e96b3afdfb8d80fb6ed929139bbb3b46f1e7af2d9b42b690cbb6fcf4648f41b149c3c431336ff7e15553c71616c766d93fbe0
+DIST core-112.24.tar.gz 742439 SHA256 4e272f9f74e93dedf1a752a445b081fc971185d5322d365f151798c68595d13a SHA512 637400740a1152e4ba5986c820da4b128a5930a0b3d13158b1016fd32f9babec93f633af029e55ad258370833d6697437a59ec1c9fabd90ab1269a38f8197345 WHIRLPOOL 33cd226623c9df729abd614984ea819048c96396e757536cde8b8f4a190768f3f074790f6c5230d5df05a5e33f21b3b0c8e8a4c6a85acd8645716875c2d2138d
+DIST core-112.35.00.tar.gz 755795 SHA256 d321c52b0e1e8e05e52a765590585d573b3bf8bd40c1a2eb423184a0954fa00b SHA512 4ea1d324ddebcb5a5faf6c5c82bd4d712e11b368b6c547f37b9d35201d35f20f38745a7e0676503abf8dbe38e9be34597795a0b92421d8dea268b09e421d0891 WHIRLPOOL 5f81044d44b9963d92751d3cfdce8e36c7269d291f3cc507afe3518e29cfbd7a476ee26b96ceeddc54b412bdd30a85f4d044faaa24563ff65f22e25cdd9e183f
+DIST core-112.35.01.tar.gz 755869 SHA256 a0d16dc660671d38226af704748f182bb87c0be9282e24766c42a8b18082d2a6 SHA512 d0a1f5fb5eb40f75d6f87fcfb184835f365095cf998fdeef98a6f8d3335dd0afff8cee5600e295b35e2e08ac178033acc11784b1c73d476a7ebbd497b0bde84e WHIRLPOOL 4022bbf5fb3f888ad7b09de792312884d9e0bc23691bbde69d52f96bf3569713be7cf8e5ece4d18600964efe36b9e437be65bed17b7e471b7e948d02f27f5da1
diff --git a/dev-ml/core/core-112.17.00.ebuild b/dev-ml/core/core-112.17.00.ebuild
new file mode 100644
index 00000000000..6751bab4131
--- /dev/null
+++ b/dev-ml/core/core-112.17.00.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit eutils oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core_kernel-109.35.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ dev-ml/custom_printf:=
+ dev-ml/pa_bench:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core/core-112.24.00.ebuild b/dev-ml/core/core-112.24.00.ebuild
new file mode 100644
index 00000000000..17fa7b014be
--- /dev/null
+++ b/dev-ml/core/core-112.24.00.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit eutils oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core_kernel-109.35.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ dev-ml/custom_printf:=
+ dev-ml/pa_bench:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core/core-112.24.01.ebuild b/dev-ml/core/core-112.24.01.ebuild
new file mode 100644
index 00000000000..6751bab4131
--- /dev/null
+++ b/dev-ml/core/core-112.24.01.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit eutils oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core_kernel-109.35.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ dev-ml/custom_printf:=
+ dev-ml/pa_bench:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core/core-112.35.00.ebuild b/dev-ml/core/core-112.35.00.ebuild
new file mode 100644
index 00000000000..9cc79dd0821
--- /dev/null
+++ b/dev-ml/core/core-112.35.00.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit eutils oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core_kernel-109.35.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ dev-ml/custom_printf:=
+ dev-ml/pa_bench:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/camlp4:=
+ dev-ml/pa_structural_sexp:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core/core-112.35.01.ebuild b/dev-ml/core/core-112.35.01.ebuild
new file mode 100644
index 00000000000..9cc79dd0821
--- /dev/null
+++ b/dev-ml/core/core-112.35.01.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit eutils oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core_kernel-109.35.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ dev-ml/custom_printf:=
+ dev-ml/pa_bench:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/camlp4:=
+ dev-ml/pa_structural_sexp:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.2 )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core/metadata.xml b/dev-ml/core/metadata.xml
new file mode 100644
index 00000000000..3a9dfe0e889
--- /dev/null
+++ b/dev-ml/core/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <longdescription lang="en">
+ Core is Jane Street Capital's Ocaml standard library overlay. It
+ provides tail recursive versions of non tail recursive functions in
+ the standard library, changes the signature of many of the standard
+ modules, and adds new functionality.
+
+ Core_extended adds new functionality, but is only code reviewed on an
+ ad-hoc basis.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-ml/core_bench/Manifest b/dev-ml/core_bench/Manifest
new file mode 100644
index 00000000000..d76372ad619
--- /dev/null
+++ b/dev-ml/core_bench/Manifest
@@ -0,0 +1,2 @@
+DIST core_bench-112.17.00.tar.gz 78211 SHA256 d1f4789203964199d7b0623962e2dc44d1c582457b51f53145944fa31e468906 SHA512 fec5cb3e48a2067e5d395809bfa49ee1ecb923641092d0da040642f3ff364864ea307b23b407f5f5288b8fdc0fc5f406d4228403376d669af021a01410bf1ada WHIRLPOOL 03987a4833f5b85b34cc53ca5e2ca744988ca6c2a1ee7553c641227cfc5f683f3b0a7b84e8a40f18c286aa8c167981945235e0bd06969de914f4be3dfad7cb8b
+DIST core_bench-112.35.00.tar.gz 78192 SHA256 c2e925078412e9859458c539324d137f0aede17bf1b485961a4019609b733535 SHA512 b0ce326c6d5a5e8e44cb05b147e07cf02efbc60a18f1f6e740d1bd58e01dd373f868c42599e7818d5c3c54899b6d429b1155d79f8009833a01f173fe69c7aafc WHIRLPOOL a45e28e72d515c7240c25431471dc78cab69c6059ed6253823c85a90b03a91e62b3ef5f4cf30631a35b791d9bc3ca73307d5a60f0bbae0c2bfa464af2875fcbd
diff --git a/dev-ml/core_bench/core_bench-112.17.00.ebuild b/dev-ml/core_bench/core_bench-112.17.00.ebuild
new file mode 100644
index 00000000000..4035695ebd0
--- /dev/null
+++ b/dev-ml/core_bench/core_bench-112.17.00.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Micro-benchmarking library for OCaml"
+HOMEPAGE="https://ocaml.janestreet.com/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-ml/sexplib:=
+ dev-ml/textutils:=
+ dev-ml/pa_ounit:=
+ dev-ml/core:=
+ dev-ml/fieldslib:=
+ dev-ml/comparelib:=
+ dev-ml/camlp4:=
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
diff --git a/dev-ml/core_bench/core_bench-112.35.00.ebuild b/dev-ml/core_bench/core_bench-112.35.00.ebuild
new file mode 100644
index 00000000000..4035695ebd0
--- /dev/null
+++ b/dev-ml/core_bench/core_bench-112.35.00.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Micro-benchmarking library for OCaml"
+HOMEPAGE="https://ocaml.janestreet.com/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-ml/sexplib:=
+ dev-ml/textutils:=
+ dev-ml/pa_ounit:=
+ dev-ml/core:=
+ dev-ml/fieldslib:=
+ dev-ml/comparelib:=
+ dev-ml/camlp4:=
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
diff --git a/dev-ml/core_bench/metadata.xml b/dev-ml/core_bench/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/core_bench/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/core_extended/Manifest b/dev-ml/core_extended/Manifest
new file mode 100644
index 00000000000..6157d3fe759
--- /dev/null
+++ b/dev-ml/core_extended/Manifest
@@ -0,0 +1,3 @@
+DIST core_extended-112.17.00.tar.gz 285815 SHA256 a60d2f2654a7d5b70b92059800addf1d593d2ac4bfea823143ff507a9615dde6 SHA512 8636ed21bf5377cc0e0aa036f988a34c3094a091ab6361e2d5d74ca0f75187bdcc19499b8323ee30969df950a2de1df4172e9f1e2bb2d6846c7d15fbcb830f5f WHIRLPOOL 16890fd8ff34fa60ba2888b72b0d6cdd7179347a959efa3483185bc77917a41048b5eeceb28373e876603166eec7e033755e3f7fb4e1c1b409967efc78ed9277
+DIST core_extended-112.24.tar.gz 284025 SHA256 f87b0661b6c2cfb545ec61d1cb2ab1b9c4967b6ac14e651de41d3a6fb7f0f1e3 SHA512 0ed8cbbaf3dfc9045cf1c8e39f81cbc7a18532fa7da01409330df13c7cee24c2b595ed7f08f398dbf68975b8bcb27db28fc16e39981fc1908b26be5926a12ef1 WHIRLPOOL 46c984e482b7f6ca7ce2084549be8562fab6e2a8143cbf7e12c9c5b2a9a821a20ebb0002b879b3bf93812409ac9e30d817055b54c4052c0b5973e437fce52358
+DIST core_extended-112.35.00.tar.gz 315031 SHA256 a14a23fab5674952518eeb9d42f69a02b97fc396e74cb2e2fe519cdad5cd9d7e SHA512 265b18fde3bd322113e75d4d733ad1ef3bb0123f6e53d057dd6075f75802914376f79e36bdd78579e2884a579154d7d142fe743de7870b86cf4e830e5189adc2 WHIRLPOOL 7f71d1e82e22aded600dfad0489ba9a6bedc609604840df9f48beabd80db04d61b6e246398c87ab6fc565a17be6e7ea488a88dba140d582cd8696a400d2b482c
diff --git a/dev-ml/core_extended/core_extended-112.17.00.ebuild b/dev-ml/core_extended/core_extended-112.17.00.ebuild
new file mode 100644
index 00000000000..0c49c212fbc
--- /dev/null
+++ b/dev-ml/core_extended/core_extended-112.17.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/custom_printf-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/textutils-109.35.00:=
+ dev-ml/pa_test:=
+ dev-ml/re2:=
+ dev-ml/pa_bench:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.0 )"
diff --git a/dev-ml/core_extended/core_extended-112.24.00.ebuild b/dev-ml/core_extended/core_extended-112.24.00.ebuild
new file mode 100644
index 00000000000..77082ef1f68
--- /dev/null
+++ b/dev-ml/core_extended/core_extended-112.24.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/custom_printf-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/textutils-109.35.00:=
+ dev-ml/pa_test:=
+ dev-ml/re2:=
+ dev-ml/pa_bench:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.0 )"
diff --git a/dev-ml/core_extended/core_extended-112.35.00.ebuild b/dev-ml/core_extended/core_extended-112.35.00.ebuild
new file mode 100644
index 00000000000..0c49c212fbc
--- /dev/null
+++ b/dev-ml/core_extended/core_extended-112.35.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Jane Street's alternative to the standard library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/core-${PV}:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/bin-prot-109.15.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/custom_printf-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/textutils-109.35.00:=
+ dev-ml/pa_test:=
+ dev-ml/re2:=
+ dev-ml/pa_bench:=
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-1.1.0 )"
diff --git a/dev-ml/core_extended/metadata.xml b/dev-ml/core_extended/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/core_extended/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/core_kernel/Manifest b/dev-ml/core_kernel/Manifest
new file mode 100644
index 00000000000..df81f63fd69
--- /dev/null
+++ b/dev-ml/core_kernel/Manifest
@@ -0,0 +1,4 @@
+DIST core_kernel-112.06.02.tar.gz 452217 SHA256 edb53c71dac1744e4d79c98bb4defc9703b22bc6ed3db6f5efc527ec91febac8 SHA512 36bddbebe943fea14f7e40c55939ee2004aa1b8d28efdea89c29808af5940553c2ea252e21a9c2a6bbb5c7210e24c3d320f67737ac988e6844d1cc4a4d6eeb87 WHIRLPOOL b75d7d165c43af0a8024275583b0dc9d40ce43528f36b9a3896fad5df131afa31b066d6cd78416f84468af60950c2cd7f0713c57a7b11afc6fc559376e5f5545
+DIST core_kernel-112.17.00.tar.gz 458291 SHA256 18aa416e917e84c368f25ecb2e5e11c92e411310476db5ea67fd3352d5ef469c SHA512 6f586dec373d57ff9bc04be1fbaf265c4740a12dffd99ca3909a23056874f402e19ec61f30879f247c44715ccdbbfb1cc8d496256fd512ba78909b956a2ee1a7 WHIRLPOOL 940522269f21380fbd8b3c14151427ce82301f74df16f5499584d85d31dc96e9f6f7f3563a2471c598d0aa601e8678b3a33cdcc524c18c776b0571990162dffb
+DIST core_kernel-112.24.tar.gz 498860 SHA256 93e1f21e35ade98a2bfbe45ba76eef4a8ad3fed97cdc0769f96e0fcc86d6a761 SHA512 2cc54e580dbcdfba76cdaca76531b1d161d85c686b7cae296cb0ef424f8b01da3af19e0b54ea29954dd2fd96ee797360a40a213a11869b11f28891271756cbd3 WHIRLPOOL 964db4c0760835083a1204655be3b7982813b0e2aa59b02a4142e65bc6568737d1b57d2a8cacb0ab33376e3464630cba8b55dcda08ba680142b16961d668fbec
+DIST core_kernel-112.35.00.tar.gz 513245 SHA256 792303cb06fa580c2c0fa25589e19be8f08714850db86d0077b1712bfe0ef662 SHA512 abdc16bb9eea9af7e322e190a0d229f95bb99fdc6f721f485663e59ba16f15cab5a2d2507721e53e71351051268b3f3fe487fc9e1579564020a81d79a1aeb175 WHIRLPOOL 2e7bc43fe1087380f0ae0b5efbce620ecd4e6160d124db14767be65183904b63fb19a9cf13c144e6745a11f1e8694ee1fc9084bcefd7cc36838de118681b8d35
diff --git a/dev-ml/core_kernel/core_kernel-112.06.02.ebuild b/dev-ml/core_kernel/core_kernel-112.06.02.ebuild
new file mode 100644
index 00000000000..8077e43f2a2
--- /dev/null
+++ b/dev-ml/core_kernel/core_kernel-112.06.02.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="System-independent part of Core"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-ml/bin-prot-112.06.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ dev-ml/custom_printf:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/pa_bench:=
+ >=dev-ml/typerep-111.17:=
+ dev-ml/camlp4:=
+ !dev-ml/zero
+ "
+DEPEND="${RDEPEND}
+ test? (
+ dev-ml/pa_ounit
+ >=dev-ml/core-109.60.00
+ )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core_kernel/core_kernel-112.17.00.ebuild b/dev-ml/core_kernel/core_kernel-112.17.00.ebuild
new file mode 100644
index 00000000000..3bf476ce478
--- /dev/null
+++ b/dev-ml/core_kernel/core_kernel-112.17.00.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="System-independent part of Core"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/bin-prot-112.17.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/pa_bench:=
+ >=dev-ml/typerep-111.17:=
+ dev-ml/camlp4:=
+ !dev-ml/zero
+ "
+DEPEND="${RDEPEND}
+ test? (
+ dev-ml/pa_ounit
+ >=dev-ml/core-109.60.00
+ )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core_kernel/core_kernel-112.24.00.ebuild b/dev-ml/core_kernel/core_kernel-112.24.00.ebuild
new file mode 100644
index 00000000000..3f95c6a055e
--- /dev/null
+++ b/dev-ml/core_kernel/core_kernel-112.24.00.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="System-independent part of Core"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/bin-prot-112.17.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/pa_bench:=
+ >=dev-ml/typerep-111.17:=
+ dev-ml/camlp4:=
+ !dev-ml/zero
+ "
+DEPEND="${RDEPEND}
+ test? (
+ dev-ml/pa_ounit
+ >=dev-ml/core-109.60.00
+ )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core_kernel/core_kernel-112.35.00.ebuild b/dev-ml/core_kernel/core_kernel-112.35.00.ebuild
new file mode 100644
index 00000000000..3bf476ce478
--- /dev/null
+++ b/dev-ml/core_kernel/core_kernel-112.35.00.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="System-independent part of Core"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/bin-prot-112.17.00:=
+ >=dev-ml/comparelib-109.27.00:=
+ >=dev-ml/fieldslib-109.20.00:=
+ >=dev-ml/herelib-109.35.00:=
+ >=dev-ml/pa_ounit-109.27.00:=
+ >=dev-ml/pipebang-109.15.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ >=dev-ml/variantslib-109.15.00:=
+ dev-ml/pa_test:=
+ dev-ml/enumerate:=
+ dev-ml/pa_bench:=
+ >=dev-ml/typerep-111.17:=
+ dev-ml/camlp4:=
+ !dev-ml/zero
+ "
+DEPEND="${RDEPEND}
+ test? (
+ dev-ml/pa_ounit
+ >=dev-ml/core-109.60.00
+ )"
+DOCS=( "README.md" )
diff --git a/dev-ml/core_kernel/metadata.xml b/dev-ml/core_kernel/metadata.xml
new file mode 100644
index 00000000000..f9f1f8a6339
--- /dev/null
+++ b/dev-ml/core_kernel/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <longdescription lang="en">
+ Core_kernel is the system-independent part of Core. It is aimed for
+ cases when the full Core is not available, such as in Javascript. It
+ provides an overlay on the usual namespace, so the best way to use
+ Core is to start your file with:
+
+ open Core_kernel.Std
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-ml/core_profiler/Manifest b/dev-ml/core_profiler/Manifest
new file mode 100644
index 00000000000..52d5a602e2b
--- /dev/null
+++ b/dev-ml/core_profiler/Manifest
@@ -0,0 +1 @@
+DIST core_profiler-112.35.00.tar.gz 102445 SHA256 f5aea31c1026a6175ecfa5f1681f8da4eb5be037942331feed7a59e9de66accb SHA512 3b04853e9edfa57b147e4d9e264d369fc53c657f04e9ec63778f7eff04493ce19998bb9e35c9330c9202eaf7c16907334e6cc29f536bb5ce424b7d20ad8a0157 WHIRLPOOL 595418b50dca93b51eb85e82ddfa19d26554162276a1f64e4b57276b9121398f940c4885d1f8257bac995eaec2d685226a13fe2db6735404fc2187466bc2dfaa
diff --git a/dev-ml/core_profiler/core_profiler-112.35.00.ebuild b/dev-ml/core_profiler/core_profiler-112.35.00.ebuild
new file mode 100644
index 00000000000..52103737749
--- /dev/null
+++ b/dev-ml/core_profiler/core_profiler-112.35.00.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit eutils oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="Jane Street's profiling library"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-ml/core:=
+ dev-ml/core_extended:=
+ dev-ml/core_bench:=
+ dev-ml/textutils:=
+ dev-ml/pa_test:=
+ dev-ml/pa_bench:=
+ dev-ml/pa_ounit:=
+ dev-ml/re2:=
+"
+DEPEND="${RDEPEND}"
+DOCS=( "README.md" )
diff --git a/dev-ml/core_profiler/metadata.xml b/dev-ml/core_profiler/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/core_profiler/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/cppo/Manifest b/dev-ml/cppo/Manifest
new file mode 100644
index 00000000000..f2afadad1eb
--- /dev/null
+++ b/dev-ml/cppo/Manifest
@@ -0,0 +1,3 @@
+DIST cppo-0.9.3.tar.gz 20393 SHA256 40a0acba9bd3b0bd8890ae2a87f479090bc4de7fa83b8ead028d08a34937923c SHA512 17726128d3c2cbd07fc70b8200f4a0a3ffed349c5d655bea9791302e88b0731cd93cdabd492e88db170fd1f6c4ed4760a65567c0265a7d1b745885be346c18b8 WHIRLPOOL ec865dff33d6278273dccb348d60d4aa783ae4348a164f08f578aef68200cbb7701fac03a39d8992a48869cf674390d0fa020c3910f62b93c4b13f96bb8c84df
+DIST cppo-1.0.1.tar.gz 21655 SHA256 bf08976e8d3bb1614094fec8e4066c6df178e2aa6f96b883fa571aaad3c6e1e4 SHA512 50f84d30c69c245db960ea11d1cc9f2b15d5333ae9f848387c212cc9a0f8e4383cc1bca10c351b460a0ef0849bed62c6a916869a036a985e267c167216c1ddb5 WHIRLPOOL c5f35ad25a4e4cfd11721ae41df5928fb65c2f20af0660a5729d6e59361bb18c819b624dd506d2fc81b165023c6b6711e695ef24b365c34f55af3173c556af81
+DIST cppo-1.1.2.tar.gz 24908 SHA256 975e0cb5e2751a604715eb042a059ef4965aff0318cf4c0553f215ed0964dfdd SHA512 dac094d21db26b867aa0db7461ca442a62ec6d9fd90a9da84ed66cca1764e227ebc86af222e3ba5120e431cf1aa1a7e5ae037cd2ecf6471c354a6181aa723086 WHIRLPOOL 6aac4b9067238fa1f4bccc9af612b47ab9dcddac0ed5855783a0bd52c44e829b74ffe048ab49dc7a3dfc7b59e1eb03f603dd0727cadbc1a9ca665990fcec17ee
diff --git a/dev-ml/cppo/cppo-0.9.3.ebuild b/dev-ml/cppo/cppo-0.9.3.ebuild
new file mode 100644
index 00000000000..ab205a97c75
--- /dev/null
+++ b/dev-ml/cppo/cppo-0.9.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="An equivalent of the C preprocessor for OCaml programs"
+HOMEPAGE="http://mjambon.com/cppo.html"
+SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-3.12:="
+DEPEND="${RDEPEND}"
+
+src_install() {
+ mkdir -p "${ED}"/usr/bin
+ emake PREFIX="${ED}"/usr install
+ dodoc README Changes
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/cppo/cppo-1.0.1.ebuild b/dev-ml/cppo/cppo-1.0.1.ebuild
new file mode 100644
index 00000000000..3d525ab5b35
--- /dev/null
+++ b/dev-ml/cppo/cppo-1.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib
+
+DESCRIPTION="An equivalent of the C preprocessor for OCaml programs"
+HOMEPAGE="http://mjambon.com/cppo.html"
+SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-3.12:="
+DEPEND="${RDEPEND}"
+
+src_install() {
+ findlib_src_preinst
+ mkdir -p "${ED}"/usr/bin
+ emake PREFIX="${ED}"/usr install
+ dodoc README.md Changes
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/cppo/cppo-1.1.2.ebuild b/dev-ml/cppo/cppo-1.1.2.ebuild
new file mode 100644
index 00000000000..3d525ab5b35
--- /dev/null
+++ b/dev-ml/cppo/cppo-1.1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib
+
+DESCRIPTION="An equivalent of the C preprocessor for OCaml programs"
+HOMEPAGE="http://mjambon.com/cppo.html"
+SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-3.12:="
+DEPEND="${RDEPEND}"
+
+src_install() {
+ findlib_src_preinst
+ mkdir -p "${ED}"/usr/bin
+ emake PREFIX="${ED}"/usr install
+ dodoc README.md Changes
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/cppo/metadata.xml b/dev-ml/cppo/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/cppo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/cryptokit/Manifest b/dev-ml/cryptokit/Manifest
new file mode 100644
index 00000000000..e4a68a40eff
--- /dev/null
+++ b/dev-ml/cryptokit/Manifest
@@ -0,0 +1,3 @@
+DIST cryptokit-1.10.tar.gz 152525 SHA256 db6639646e1d35cdd9d8c3779a260d073f8c5385e1d3647f7e9ac9537b144ecc SHA512 22564e0151c492963d75fb81780b3a884a0bf613ad09380d9b5365740fd9c4bbdaa1c21fed50a1a4934dce920d90f5c86dc014f90e52677544789311f7bded4f WHIRLPOOL 6fe80bf742a68784aac4d9fcdf389b5e9ddd7acf606b7f2c40328756ea56bc631b3af6bcaaaec526528a12a897c69ebc6b4d7228e2ee55b06dbbf95fd731f0e3
+DIST cryptokit-1.7.tar.gz 140400 SHA256 56a8c0339c47ca3cf43c8881d5b519d3bff68bc8a53267e9c5c9cbc9239600ca SHA512 39a86b9b97be097120308ef55c2e69b8436a85102cc2eff25f6f3c81abce24511a80295ba7790337fa46584baea24dd9517067039dc81417fe2d38ff8b5e62f1 WHIRLPOOL 21756c006d0c23927cfba2756c6206c6fac08ef22768b881c1750237f6f743040bdfbfa783bf2253e586328b9efc91154c3b8dc73e52fcb391dcd36fd360450e
+DIST cryptokit-1.9.tar.gz 143494 SHA256 d3177e79e425b119b80acc63a85114a12e4c617f16803a69c080f460c4f037f1 SHA512 67385562d5f42a65dc13b7bbf4164610a47c1f2b20d3e737c62046d716fdc38a19727e7ea04f633562d8c82c83fb1b64472f06c3032ea45e5b7c411b2f177d74 WHIRLPOOL 3680ba403a5f380a2bc5e0f68fc50ff64f2b5927f3c32cb04970f11493abecc0389c1070cccea106a91da1949b993fcd4e43bbd681c6efdb6638b4bd71efbead
diff --git a/dev-ml/cryptokit/cryptokit-1.10.ebuild b/dev-ml/cryptokit/cryptokit-1.10.ebuild
new file mode 100644
index 00000000000..a193775a7a9
--- /dev/null
+++ b/dev-ml/cryptokit/cryptokit-1.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Cryptographic primitives library for Objective Caml"
+HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1493/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="zlib"
+
+DEPEND="zlib? ( >=sys-libs/zlib-1.1 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "Changes" "README.txt" "AUTHORS.txt" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable zlib)" \
+ oasis_src_configure
+}
+
+pkg_postinst() {
+ elog ""
+ elog "This library uses the /dev/random device to generate "
+ elog "random data and RSA keys. The device should either be"
+ elog "built into the kernel or provided as a module. An"
+ elog "alternative is to use the Entropy Gathering Daemon"
+ elog "(http://egd.sourceforge.net). Please note that the"
+ elog "remainder of the library will still work even in the"
+ elog "absence of a one of these sources of randomness."
+ elog ""
+}
+
+src_test() {
+ echo ""
+ einfo "You must have either /dev/random or the Entropy Gathering"
+ einfo "Daemon (EGD) for this test to succeed!"
+ echo ""
+
+ oasis_src_test
+}
diff --git a/dev-ml/cryptokit/cryptokit-1.7.ebuild b/dev-ml/cryptokit/cryptokit-1.7.ebuild
new file mode 100644
index 00000000000..ef00ee2a457
--- /dev/null
+++ b/dev-ml/cryptokit/cryptokit-1.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Cryptographic primitives library for Objective Caml"
+HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1166/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="zlib"
+
+DEPEND="zlib? ( >=sys-libs/zlib-1.1 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "Changes" "README.txt" "AUTHORS.txt" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable zlib)" \
+ oasis_src_configure
+}
+
+pkg_postinst() {
+ elog ""
+ elog "This library uses the /dev/random device to generate "
+ elog "random data and RSA keys. The device should either be"
+ elog "built into the kernel or provided as a module. An"
+ elog "alternative is to use the Entropy Gathering Daemon"
+ elog "(http://egd.sourceforge.net). Please note that the"
+ elog "remainder of the library will still work even in the"
+ elog "absence of a one of these sources of randomness."
+ elog ""
+}
+
+src_test() {
+ echo ""
+ einfo "You must have either /dev/random or the Entropy Gathering"
+ einfo "Daemon (EGD) for this test to succeed!"
+ echo ""
+
+ oasis_src_test
+}
diff --git a/dev-ml/cryptokit/cryptokit-1.9.ebuild b/dev-ml/cryptokit/cryptokit-1.9.ebuild
new file mode 100644
index 00000000000..699b068cc8e
--- /dev/null
+++ b/dev-ml/cryptokit/cryptokit-1.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Cryptographic primitives library for Objective Caml"
+HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1229/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="zlib"
+
+DEPEND="zlib? ( >=sys-libs/zlib-1.1 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "Changes" "README.txt" "AUTHORS.txt" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable zlib)" \
+ oasis_src_configure
+}
+
+pkg_postinst() {
+ elog ""
+ elog "This library uses the /dev/random device to generate "
+ elog "random data and RSA keys. The device should either be"
+ elog "built into the kernel or provided as a module. An"
+ elog "alternative is to use the Entropy Gathering Daemon"
+ elog "(http://egd.sourceforge.net). Please note that the"
+ elog "remainder of the library will still work even in the"
+ elog "absence of a one of these sources of randomness."
+ elog ""
+}
+
+src_test() {
+ echo ""
+ einfo "You must have either /dev/random or the Entropy Gathering"
+ einfo "Daemon (EGD) for this test to succeed!"
+ echo ""
+
+ oasis_src_test
+}
diff --git a/dev-ml/cryptokit/metadata.xml b/dev-ml/cryptokit/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/cryptokit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/csv/Manifest b/dev-ml/csv/Manifest
new file mode 100644
index 00000000000..fdd6ac22db0
--- /dev/null
+++ b/dev-ml/csv/Manifest
@@ -0,0 +1,3 @@
+DIST csv-1.3.0.tar.gz 72014 SHA256 b381d07fa63e041b5619f12521efbf9b4ce522c839542ff288f6be5cf7ff4421 SHA512 57fcc356571cd08f30ad4add9e9cebe6a8716f86af9c9387b108250f02b3cffdeda2fabb346dea3c349079653207131f5b462f6a07dd99170b42268f3f17cd8d WHIRLPOOL 2abb194a7fd10fded2125c22f035d855e179e15f5e82a897bad6e5f07f0cf33ccae318822d2310ac1dd60ad2e80c7ea37157d847e130d9075dd1e1e3c1451f78
+DIST csv-1.3.3.tar.gz 75978 SHA256 0236cf88e49d75a365c9505209a3af21c93f93d0c51eae81bf9dcc6307df1aa7 SHA512 909500556d72641548b93154704c0cb9b85f269785d9624898a1baad71c02c4f846ea492ec1b9a0a353cb17da5fd9ae1ea66e8d597c4fb695afab143e46126f5 WHIRLPOOL c0b8109cdf90f047a457eb79e93fe68b1f1dec28e908d11657c0ef7538dbd0dfffb0afc856bf7326a89df51e02baa6ce0288f07d95ac0502b4a5659d38e9e269
+DIST csv-1.4.tar.gz 81711 SHA256 5fed7ed6ebadd963993149b807114d8e903db2de09cd51ae2ba754b457b12476 SHA512 b13a5d11c552a5e5bfe61d3e26a889fca6ec341430c270cc677341d09caf09f4b5975e07b2cc9568c11dff782826593793e78602f646677467990cce8d4d66e9 WHIRLPOOL f72bf8f983e0eb65b3665f6363649126580d3d669f53dc40a71ec42eb91fa0169f813fffe66588c93dab3f7aab329eb20325a601c4a7b8c12d7036c97f68e1f4
diff --git a/dev-ml/csv/csv-1.3.0.ebuild b/dev-ml/csv/csv-1.3.0.ebuild
new file mode 100644
index 00000000000..e1b1ca11c40
--- /dev/null
+++ b/dev-ml/csv/csv-1.3.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="A pure OCaml library to read and write CSV files"
+HOMEPAGE="http://forge.ocamlcore.org/projects/csv/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1172/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "AUTHORS.txt" )
diff --git a/dev-ml/csv/csv-1.3.3.ebuild b/dev-ml/csv/csv-1.3.3.ebuild
new file mode 100644
index 00000000000..51251bf125b
--- /dev/null
+++ b/dev-ml/csv/csv-1.3.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="A pure OCaml library to read and write CSV files"
+HOMEPAGE="http://forge.ocamlcore.org/projects/csv/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1376/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "AUTHORS.txt" )
diff --git a/dev-ml/csv/csv-1.4.ebuild b/dev-ml/csv/csv-1.4.ebuild
new file mode 100644
index 00000000000..b74ab2b04ed
--- /dev/null
+++ b/dev-ml/csv/csv-1.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="A pure OCaml library to read and write CSV files"
+HOMEPAGE="https://github.com/Chris00/ocaml-csv"
+SRC_URI="https://github.com/Chris00/ocaml-csv/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "AUTHORS.txt" )
diff --git a/dev-ml/csv/metadata.xml b/dev-ml/csv/metadata.xml
new file mode 100644
index 00000000000..758d5a49ade
--- /dev/null
+++ b/dev-ml/csv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">Chris00/ocaml-csv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/cudf/Manifest b/dev-ml/cudf/Manifest
new file mode 100644
index 00000000000..6f115b5440a
--- /dev/null
+++ b/dev-ml/cudf/Manifest
@@ -0,0 +1,2 @@
+DIST cudf-0.7.tar.gz 54821 SHA256 92c8a9ed730bbac73f3513abab41127d966c9b9202ab2aaffcd02358c030a701 SHA512 6adf17c076c0308416f6f8bccb361d03645909f535e6cd0ba34860706e5f26628d33ab4f208fb8def28de1499649279febafd895bdde498f35a77e06128e64fa WHIRLPOOL 798ca87c1cc48d00e62a1e6d627fe6d35839fb16d6b2b10ba42f3eea29e3a48e2f5b070b93647a53833a471b1a6a665e759ab3b7cc2bda238d2dec4a8eb0866e
+DIST cudf-0.8.tar.gz 55147 SHA256 06f8ce019c87893e27d545b5cf8dc38041657a4c4856c02be4e99e8175874229 SHA512 cea9e51094076089b1beb657f6b2ccc6ac5f49660e06743f8ec646b277beb4c830f90156ae240a6903de55d09caee78fb0dc75efd76ca65fd2b40ab8756301e3 WHIRLPOOL 2834b5a3d15bbbefc51cd5e54c1ee2155481cecbc91838fca94470b06750576c0719504e51e858145bdae657de739809007bb5b5958469d71010492f245651af
diff --git a/dev-ml/cudf/cudf-0.7.ebuild b/dev-ml/cudf/cudf-0.7.ebuild
new file mode 100644
index 00000000000..de13bb16894
--- /dev/null
+++ b/dev-ml/cudf/cudf-0.7.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Library to parse, pretty print, and evaluate CUDF documents"
+HOMEPAGE="http://www.mancoosi.org/cudf/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/33593/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/extlib:=
+ dev-libs/glib:2
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )
+ dev-ml/findlib
+ dev-lang/perl
+"
+
+src_prepare() {
+ sed -i \
+ -e 's|make|$(MAKE)|g' \
+ Makefile || die
+ sed -i \
+ -e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \
+ c-lib/Makefile || die
+ sed -i \
+ -e 's|-lcurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \
+ c-lib/Makefile.variants || die
+
+ tc-export CC PKG_CONFIG
+
+ sed -i \
+ -e "s|-lncurses|$( $(tc-getPKG_CONFIG) --libs ncurses)|g" \
+ c-lib/cudf.pc.in || die
+}
+
+src_compile() {
+ emake -j1 all
+ emake c-lib
+ if use ocamlopt ; then
+ emake -j1 opt
+ emake c-lib-opt
+ fi
+}
+
+src_test() {
+ emake test
+ emake c-lib-test
+}
+
+src_install() {
+ emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+ dodoc BUGS ChangeLog README TODO
+}
diff --git a/dev-ml/cudf/cudf-0.8.ebuild b/dev-ml/cudf/cudf-0.8.ebuild
new file mode 100644
index 00000000000..5b36bb3deea
--- /dev/null
+++ b/dev-ml/cudf/cudf-0.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Library to parse, pretty print, and evaluate CUDF documents"
+HOMEPAGE="http://www.mancoosi.org/cudf/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/34659/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/extlib:=
+ dev-libs/glib:2
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )
+ dev-ml/findlib
+ dev-lang/perl
+"
+
+src_prepare() {
+ sed -i \
+ -e 's|make|$(MAKE)|g' \
+ Makefile || die
+ sed -i \
+ -e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \
+ c-lib/Makefile || die
+ sed -i \
+ -e 's|-lcurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \
+ c-lib/Makefile.variants || die
+
+ tc-export CC PKG_CONFIG
+
+ sed -i \
+ -e "s|-lncurses|$( $(tc-getPKG_CONFIG) --libs ncurses)|g" \
+ c-lib/cudf.pc.in || die
+}
+
+src_compile() {
+ emake -j1 all
+ emake c-lib
+ if use ocamlopt ; then
+ emake -j1 opt
+ emake c-lib-opt
+ fi
+}
+
+src_test() {
+ emake test
+ emake c-lib-test
+}
+
+src_install() {
+ emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+ dodoc BUGS ChangeLog README TODO
+}
diff --git a/dev-ml/cudf/metadata.xml b/dev-ml/cudf/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/cudf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/custom_printf/Manifest b/dev-ml/custom_printf/Manifest
new file mode 100644
index 00000000000..91932b6e43d
--- /dev/null
+++ b/dev-ml/custom_printf/Manifest
@@ -0,0 +1,2 @@
+DIST custom_printf-112.17.00.tar.gz 55881 SHA256 e1ea8c8ab9f4e3fe1f38b42bde039be0da6be645ab889aeb8b04991c38132f0e SHA512 607592dc4869e8193eaaf3b6662fbf45e5515b887c6377c64a89a566ce56d9d30d6c4a75c2b9b3982bcd27ee520b8a19b2d039f32dd8ad0fd876770aa3a03fb7 WHIRLPOOL 39d05293c928cae3825484c81cc555ad6ee7c9f69da5417e1cc81a3eaabd8fe223fdbf0fcd508049bc15685591e5966848d4894fdffed981fa509a55e1d2e5ca
+DIST custom_printf-112.24.tar.gz 56205 SHA256 dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9 SHA512 6bb37c9d4f9abb520659bb0fbb3fb6ce8ed44fde602a868b822f4ef89e52c4009ced639fb7d21d8e1aa798474293fb7d3b487a85d57391a412cd2c0933e64993 WHIRLPOOL 41d831d23c10790196b7a02e11045ed2baa3c70279d9ea611751e7ba1e7a96a918bdd60702d73d5edabaa50dbce6f3852bb9c19044d8508d6e66401ab2f93db6
diff --git a/dev-ml/custom_printf/custom_printf-112.17.00.ebuild b/dev-ml/custom_printf/custom_printf-112.17.00.ebuild
new file mode 100644
index 00000000000..4ccf7f2c0b8
--- /dev/null
+++ b/dev-ml/custom_printf/custom_printf-112.17.00.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension for printf format strings"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/type-conv-109.20.00:=
+ dev-ml/sexplib:=
+ dev-ml/pa_ounit:=
+ dev-ml/camlp4:=
+"
+RDEPEND="${DEPEND}"
diff --git a/dev-ml/custom_printf/custom_printf-112.24.00.ebuild b/dev-ml/custom_printf/custom_printf-112.24.00.ebuild
new file mode 100644
index 00000000000..58061e74e7f
--- /dev/null
+++ b/dev-ml/custom_printf/custom_printf-112.24.00.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension for printf format strings"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P%.*}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/type-conv-109.20.00:=
+ dev-ml/sexplib:=
+ dev-ml/pa_ounit:=
+ dev-ml/camlp4:=
+"
+RDEPEND="${DEPEND}"
diff --git a/dev-ml/custom_printf/metadata.xml b/dev-ml/custom_printf/metadata.xml
new file mode 100644
index 00000000000..abf9563dd5c
--- /dev/null
+++ b/dev-ml/custom_printf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/deriving-ocsigen/Manifest b/dev-ml/deriving-ocsigen/Manifest
new file mode 100644
index 00000000000..d02364ba704
--- /dev/null
+++ b/dev-ml/deriving-ocsigen/Manifest
@@ -0,0 +1 @@
+DIST deriving-ocsigen-0.3c.tar.gz 61242 SHA256 eb6e7e647b6f2effcc65c9b32076fbc12e366e16035447a762a93e5e1cba94c7 SHA512 121225b2a143676ec7e49e2f8eb22b674280e74276192d2ffb9b3e063cb47029421bffab87f838ad74bcfa08af27a53a5d745f2dc2398eae3e0e9c02849c818a WHIRLPOOL a9686b3b064a1bdacae2415248c2b7a825738ab7889d6fd56ffa575694ddb151d928b07621aca1d1be9c4fb624647fb5c0be2debdeea5d3fdae879a555b9b980
diff --git a/dev-ml/deriving-ocsigen/deriving-ocsigen-0.3c.ebuild b/dev-ml/deriving-ocsigen/deriving-ocsigen-0.3c.ebuild
new file mode 100644
index 00000000000..28677f2be0d
--- /dev/null
+++ b/dev-ml/deriving-ocsigen/deriving-ocsigen-0.3c.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A deriving library for Ocsigen"
+HOMEPAGE="http://ocsigen.org"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt type-conv"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ type-conv? ( >=dev-ml/type-conv-108:= )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ find . -type f -exec sed -i 's/type-conv/type_conv/g' {} +
+}
+
+src_configure() {
+ use type-conv || echo "TYPECONV :=" >> Makefile.config
+}
+
+src_compile() {
+ if use ocamlopt; then
+ emake
+ else
+ emake byte
+ fi
+}
+
+src_test() {
+ emake tests
+}
+
+src_install() {
+ findlib_src_preinst
+ if use ocamlopt; then
+ emake install
+ else
+ emake install-byte
+ fi
+ dodoc CHANGES README
+}
diff --git a/dev-ml/deriving-ocsigen/metadata.xml b/dev-ml/deriving-ocsigen/metadata.xml
new file mode 100644
index 00000000000..009b874f943
--- /dev/null
+++ b/dev-ml/deriving-ocsigen/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+<use>
+ <flag name='type-conv'>Enable type-conv for the syntax extention.</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-ml/deriving/Manifest b/dev-ml/deriving/Manifest
new file mode 100644
index 00000000000..fa17edea5b1
--- /dev/null
+++ b/dev-ml/deriving/Manifest
@@ -0,0 +1,2 @@
+DIST deriving-0.6.2.tar.gz 62722 SHA256 467995a27ad84ef70289bf168507741c635aa1c839c450f20671f93e469a9968 SHA512 f5e14737af085e0f9d2b6a7981d9f63435750fb9cf32401eeaf7f700d0e222e1e5ec647d8a552f8c16ad136da19396d4aea8e739ecf179a6c8ba09b035497fc1 WHIRLPOOL c1f29cfc18e6676a9469b655f202ebab1b6b86c7d867ba3061ac9a07279885d07b5d3a19a3f2766dc8d2a5f9d021c24e82cf71cf08fdb0a84ddb135c475dace4
+DIST deriving-0.7.tar.gz 68471 SHA256 0a26763f8579a558fb3bbc8268bd009208165131b66afd5b5c03e0cff73f2e6c SHA512 c473106aeb36888ff80070ce3646f19a603cee15dcc8d702efdb3d6ac91dd409e94fa36940cb6289004238c130631efe680344324904815c2bf380f28a6c3b79 WHIRLPOOL 9c35cc69fe17f3a0178f8907a66cf610d6c234e11fa7041171a490858ab7542d632ea2e97da08a97d6cbdce0fd322433d577d513dd160b816efd839a0dce01d5
diff --git a/dev-ml/deriving/deriving-0.6.2.ebuild b/dev-ml/deriving/deriving-0.6.2.ebuild
new file mode 100644
index 00000000000..6935c1487d8
--- /dev/null
+++ b/dev-ml/deriving/deriving-0.6.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="A deriving library for Ocsigen"
+HOMEPAGE="http://github.com/ocsigen/deriving"
+SRC_URI="http://github.com/ocsigen/deriving/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/type-conv-108:=
+ dev-ml/optcomp:=
+"
+DEPEND="${RDEPEND}
+ dev-ml/oasis"
+
+DOCS=( CHANGES README.md )
+oasis_configure_opts=( --enable-tc )
diff --git a/dev-ml/deriving/deriving-0.7.ebuild b/dev-ml/deriving/deriving-0.7.ebuild
new file mode 100644
index 00000000000..7f8b26b12a6
--- /dev/null
+++ b/dev-ml/deriving/deriving-0.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="A deriving library for Ocsigen"
+HOMEPAGE="http://github.com/ocsigen/deriving"
+SRC_URI="http://github.com/ocsigen/deriving/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-ml/type-conv-108:=
+ dev-ml/optcomp:=
+ dev-ml/findlib:=
+ dev-ml/camlp4:=
+"
+DEPEND="${RDEPEND}
+ dev-ml/oasis"
+
+DOCS=( CHANGES README.md )
+oasis_configure_opts="--enable-tc"
+OASIS_SETUP_COMMAND="./setup.exe"
+
+src_configure() {
+ emake setup.exe
+ oasis_src_configure
+}
diff --git a/dev-ml/deriving/metadata.xml b/dev-ml/deriving/metadata.xml
new file mode 100644
index 00000000000..09825ef62a0
--- /dev/null
+++ b/dev-ml/deriving/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocsigen/deriving</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/dose3/Manifest b/dev-ml/dose3/Manifest
new file mode 100644
index 00000000000..6684e538efe
--- /dev/null
+++ b/dev-ml/dose3/Manifest
@@ -0,0 +1,3 @@
+DIST dose3-3.3-beta2.tar.gz 257564 SHA256 ec73f6ad8da999a90b4c20633c55dac78755018c0128592501f3931396d85abf SHA512 7540b2390f8ef49acdf4ac5c7598e25137b380f4d0b862d75a144a2e12d3f7e24633e8f0e3597f74cd48491f9fa7559dc1664692eb3a840eca26e0f077550db8 WHIRLPOOL 6ad1e502ac85c9e873703f5f11f8291fe24a2bd79f6c659ff7f22d001f37114e8568db915ef6e2b2dd245eaceb3eaa00797d47626577cf33df057762eb727af2
+DIST dose3-3.3.tar.gz 257658 SHA256 8dc4dae9b1a81bb3a42abb283df785ba3eb00ade29b13875821c69f03e00680e SHA512 0decf753f6f4a9fc73ac2cf8eb4b6b464f16cba2fa7f97d8e7c6f37cb63749ee171c3273019a9a9a42141fdb7843a730e5a5dfc0ebba68d4a8d50261165d71be WHIRLPOOL bd2f863a7ffa9fc34c1f4595950441d05984b9d26c3b54067ed24ca4e1e05795f7b1f1c213e8c20a089360c8a50c324f9472f22cb9cbfe4f59fe8e919f370de9
+DIST dose3-4.0-rc3.tar.gz 326340 SHA256 c464b3f17f376cc672e9fef4024ca874fadbe42e4e86e7e7e167f8fd1d8a1946 SHA512 c3dfb7d97d9ab4321af991beefc42cafda5d07ac94e2dc941470aa05442cbbb422aec2b07e9df2c60de721e1cc0725a73d44a069ad154897de94fe4312e91853 WHIRLPOOL 4ab2633162a72d079e66dddba081fcbfa5f817575451960ad6d64bfa5531249d55b014affe92323497d1c28a3c86666a4d7c8a5ca75a582f075f3f351ecf94c4
diff --git a/dev-ml/dose3/dose3-3.3.ebuild b/dev-ml/dose3/dose3-3.3.ebuild
new file mode 100644
index 00000000000..808c7afc8e2
--- /dev/null
+++ b/dev-ml/dose3/dose3-3.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="${P/_beta/-beta}"
+DESCRIPTION="Library and a collection of tools to perform la large spectrum of analysis on package repositories"
+HOMEPAGE="http://dose.gforge.inria.fr/public_html/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/34277/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt +parmap zip bzip2 xml curl rpm4 test"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/cudf:=
+ dev-ml/extlib:=
+ dev-ml/ocaml-re:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ parmap? ( dev-ml/parmap:= )
+ zip? ( dev-ml/camlzip:= )
+ bzip2? ( dev-ml/camlbz2:= )
+ >=dev-ml/ocamlgraph-1.8.5:=
+ xml? ( dev-ml/ocaml-expat:= dev-ml/xml-light:= )
+ curl? ( dev-ml/ocurl:= )
+ rpm4? ( app-arch/rpm )
+"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ test? ( dev-python/pyyaml[libyaml] )
+"
+# missing test data
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die
+}
+
+src_configure() {
+ econf \
+ $(use ocamlopt || echo "--with-bytecodeonly") \
+ $(use parmap && echo "--with-parmap") \
+ $(use zip && echo "--with-zip") \
+ $(use bzip2 && echo "--with-bz2") \
+ --with-ocamlgraph \
+ $(use xml && echo "--with-xml") \
+ $(use curl && echo "--with-curl") \
+ $(use rpm4 && echo "--with-rpm4")
+}
+
+src_compile() {
+ emake -j1
+}
diff --git a/dev-ml/dose3/dose3-3.3_beta2-r2.ebuild b/dev-ml/dose3/dose3-3.3_beta2-r2.ebuild
new file mode 100644
index 00000000000..ea4d61e18f4
--- /dev/null
+++ b/dev-ml/dose3/dose3-3.3_beta2-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="${P/_beta/-beta}"
+DESCRIPTION="Library and a collection of tools to perform la large spectrum of analysis on package repositories"
+HOMEPAGE="http://dose.gforge.inria.fr/public_html/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/34180/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt +parmap zip bzip2 xml curl rpm4"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/cudf:=
+ dev-ml/extlib:=
+ dev-ml/ocaml-re:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ parmap? ( dev-ml/parmap:= )
+ zip? ( dev-ml/camlzip:= )
+ bzip2? ( dev-ml/camlbz2:= )
+ >=dev-ml/ocamlgraph-1.8.5:=
+ xml? ( dev-ml/ocaml-expat:= dev-ml/xml-light:= )
+ curl? ( dev-ml/ocurl:= )
+ rpm4? ( app-arch/rpm )
+"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die
+}
+
+src_configure() {
+ econf \
+ $(use ocamlopt || echo "--with-bytecodeonly") \
+ $(use parmap && echo "--with-parmap") \
+ $(use zip && echo "--with-zip") \
+ $(use bzip2 && echo "--with-bz2") \
+ --with-ocamlgraph \
+ $(use xml && echo "--with-xml") \
+ $(use curl && echo "--with-curl") \
+ $(use rpm4 && echo "--with-rpm4")
+}
+
+src_compile() {
+ emake -j1
+}
diff --git a/dev-ml/dose3/dose3-4.0_rc3.ebuild b/dev-ml/dose3/dose3-4.0_rc3.ebuild
new file mode 100644
index 00000000000..414b97fe29e
--- /dev/null
+++ b/dev-ml/dose3/dose3-4.0_rc3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="${P/_beta/-beta}"
+MY_P="${MY_P/_rc/-rc}"
+DESCRIPTION="Library and a collection of tools to perform la large spectrum of analysis on package repositories"
+HOMEPAGE="http://dose.gforge.inria.fr/public_html/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/34909/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+#Breaks dev-ml/opam, its sole revdep
+#KEYWORDS="~amd64"
+IUSE="+ocamlopt +parmap zip bzip2 xml curl rpm4 test"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/cudf:=
+ dev-ml/extlib:=
+ dev-ml/ocaml-re:=
+ dev-ml/cppo:=
+ parmap? ( dev-ml/parmap:= )
+ zip? ( dev-ml/camlzip:= )
+ bzip2? ( dev-ml/camlbz2:= )
+ >=dev-ml/ocamlgraph-1.8.5:=
+ xml? ( dev-ml/ocaml-expat:= dev-ml/xml-light:= )
+ curl? ( dev-ml/ocurl:= )
+ rpm4? ( app-arch/rpm )
+"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ test? ( dev-python/pyyaml[libyaml] )
+"
+# missing test data
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die
+}
+
+src_configure() {
+ econf \
+ $(use ocamlopt || echo "--with-bytecodeonly") \
+ $(use parmap && echo "--with-parmap") \
+ $(use zip && echo "--with-zip") \
+ $(use bzip2 && echo "--with-bz2") \
+ --with-ocamlgraph \
+ $(use xml && echo "--with-xml") \
+ $(use curl && echo "--with-curl") \
+ $(use rpm4 && echo "--with-rpm4")
+}
+
+src_compile() {
+ emake -j1
+}
diff --git a/dev-ml/dose3/metadata.xml b/dev-ml/dose3/metadata.xml
new file mode 100644
index 00000000000..f3dd19f62c3
--- /dev/null
+++ b/dev-ml/dose3/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+ <use>
+ <flag name="parmap">Adds multi-core CPU support via <pkg>dev-ml/parmap</pkg>.</flag>
+ <flag name="zip">Adds support for handling zip files.</flag>
+ <flag name="rpm4">Adds support for handling rpm4 files.</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-ml/easy-format/Manifest b/dev-ml/easy-format/Manifest
new file mode 100644
index 00000000000..67578a6d17b
--- /dev/null
+++ b/dev-ml/easy-format/Manifest
@@ -0,0 +1 @@
+DIST easy-format-1.0.2.tar.gz 13679 SHA256 f1e763a3b5962b87698786f5e1e17e46311106dc76fd2e2ef822cd8df37d941f SHA512 bb12c13b33a725f4a15616672f7a268398b50e6f054575203f1d26c49aa04978564233fa9fb88eec8b701d7fecbbaeda264422e8c31a60a52d0d8e64bfc5898f WHIRLPOOL 648472cd06aae2b6003e4e827dfd801e7f103d08458e0a6639d57ab938195b30821a74db28f3a14e44521108d1ea323a6e084c589a64279f76f05e028da4922f
diff --git a/dev-ml/easy-format/easy-format-1.0.2.ebuild b/dev-ml/easy-format/easy-format-1.0.2.ebuild
new file mode 100644
index 00000000000..1e8c7a889f5
--- /dev/null
+++ b/dev-ml/easy-format/easy-format-1.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Pretty-printing library for OCaml"
+HOMEPAGE="http://mjambon.com/easy-format.html"
+SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"
+
+SLOT="0/${PV}"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+
+IUSE="examples +ocamlopt"
+
+RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake all
+ use ocamlopt && emake opt
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README.md Changes
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/easy-format/metadata.xml b/dev-ml/easy-format/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/easy-format/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
new file mode 100644
index 00000000000..cbfca28fd09
--- /dev/null
+++ b/dev-ml/eliom/Manifest
@@ -0,0 +1,3 @@
+DIST eliom-3.0.3.tar.gz 743842 SHA256 b598bfbfc37fb9164024df71352e74d26d6ce2095f89f3d52072b3f7334a5b86 SHA512 4112d9422a1407b3d82a716aedf86a3efad733eb5a98fd3d4356e2bd149cdb6ef029efd0dae0e9ed7f89613cf6cbd1c5c25f2ef8f905bf2ad7709db1f7d39075 WHIRLPOOL af9aebe320ab6a8dce96ede3c6aaf57c90a537ffb520766ad08f23bde6cbe303ff39707dae3c91a4f980e163b47b071958d488f3232f3a1359ab53eaec09001c
+DIST eliom-4.1.0.tar.gz 699262 SHA256 44541cdcc93b622fee79a1d9bdd46d6caf7ace71b1a3891e6d7de93f70ae6783 SHA512 6dac3f2d26a3730df48270c62e16abec935656022a2cbb1c221ce040ff574b79e82d7da977d58fbd67ca884b64611e6a97a4144a5a142f8aa6c887897cf230f5 WHIRLPOOL a95985afae803a11744dbc1468d4d07d07938f63c5a570e67545b96887ff0d2ca2a1971a9be35c45dbe28b1c3f74bf473a136843143d45cb9bd2451ca85abd64
+DIST eliom-4.2.tar.gz 699337 SHA256 30d180b72d21177d09b311785e08e54cc221b148d969f17334f8be6eecfb783d SHA512 c7c75dc00defe0c269aba4e4fbdc00a824b781b124e3f51747e29533c4aeedaecb68c7ebcb38b4cc9a51c3796abdfa680ba0702a83415911406b25cd07ad66c7 WHIRLPOOL 2a36deeb10cbf3b29c76b33185de1c848615293830f7a3701c2d87025be0ed575cdadf238c696ad4716e50f2b0258febef7b7039a1980aafeaf6e1c483ec46ca
diff --git a/dev-ml/eliom/eliom-3.0.3.ebuild b/dev-ml/eliom/eliom-3.0.3.ebuild
new file mode 100644
index 00000000000..24545c226d6
--- /dev/null
+++ b/dev-ml/eliom/eliom-3.0.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/js_of_ocaml-1.3.2:=
+ >=www-servers/ocsigenserver-2.2.0:=
+ >=dev-ml/tyxml-2.1:=
+ >=dev-ml/deriving-ocsigen-0.3:=
+ dev-ml/react:=
+ dev-ml/ocaml-ssl:=
+ dev-ml/calendar:="
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ sh configure \
+ --prefix "/usr" \
+ --docdir "/usr/share/doc/${PF}/html" \
+ --mandir "/usr/share/man/" \
+ --temproot "${ED}" \
+ --libdir "/usr/$(get_libdir)/ocaml" \
+ || die "configure failed"
+}
+
+src_compile() {
+ if use ocamlopt ; then
+ emake
+ else
+ emake byte
+ fi
+ use doc && emake doc -j1
+}
+
+src_test() {
+ emake tests.byte
+ use ocamlopt && emake tests.opt
+}
+
+src_install() {
+ findlib_src_preinst
+ if use ocamlopt; then
+ emake install
+ else
+ emake install.byte
+ fi
+ use doc && emake install.doc
+ dodoc CHANGES README
+}
diff --git a/dev-ml/eliom/eliom-4.1.0-r1.ebuild b/dev-ml/eliom/eliom-4.1.0-r1.ebuild
new file mode 100644
index 00000000000..527e829d580
--- /dev/null
+++ b/dev-ml/eliom/eliom-4.1.0-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/"
+SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
+ >=dev-ml/js_of_ocaml-2.5-r1:=
+ >=www-servers/ocsigenserver-2.5:=
+ >=dev-ml/tyxml-3.3:=
+ >=dev-ml/deriving-0.6:=
+ dev-ml/reactiveData:=
+ dev-ml/ocaml-ipaddr:=
+ dev-ml/react:=
+ dev-ml/ocaml-ssl:=
+ >=dev-ml/lwt-2.5.0:=
+ dev-ml/calendar:="
+RDEPEND="${DEPEND}
+ dev-ml/opam"
+
+src_prepare() {
+ epatch "${FILESDIR}/lwt.patch"
+}
+
+src_compile() {
+ if use ocamlopt ; then
+ emake all
+ else
+ emake byte
+ fi
+ use doc && emake doc
+ emake man
+}
+
+src_install() {
+ opam-installer \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ --mandir="${ED}/usr/share/man" \
+ || die
+ dodoc CHANGES README
+ if use doc ; then
+ docinto client/html
+ dodoc -r _build/src/lib/client/api.docdir/*
+ docinto server/html
+ dodoc -r _build/src/lib/server/api.docdir/*
+ fi
+}
diff --git a/dev-ml/eliom/eliom-4.1.0.ebuild b/dev-ml/eliom/eliom-4.1.0.ebuild
new file mode 100644
index 00000000000..c550f691f4b
--- /dev/null
+++ b/dev-ml/eliom/eliom-4.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/"
+SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
+ >=dev-ml/js_of_ocaml-2.5-r1:=
+ >=www-servers/ocsigenserver-2.5:=
+ >=dev-ml/tyxml-3.3:=
+ >=dev-ml/deriving-0.6:=
+ dev-ml/reactiveData:=
+ dev-ml/ocaml-ipaddr:=
+ dev-ml/react:=
+ dev-ml/ocaml-ssl:=
+ dev-ml/calendar:="
+RDEPEND="${DEPEND}
+ dev-ml/opam"
+
+src_compile() {
+ if use ocamlopt ; then
+ emake all
+ else
+ emake byte
+ fi
+ use doc && emake doc
+ emake man
+}
+
+src_install() {
+ opam-installer \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ || die
+ dodoc CHANGES README
+ if use doc ; then
+ docinto client/html
+ dodoc -r _build/src/lib/client/api.docdir/*
+ docinto server/html
+ dodoc -r _build/src/lib/server/api.docdir/*
+ fi
+}
diff --git a/dev-ml/eliom/eliom-4.2.ebuild b/dev-ml/eliom/eliom-4.2.ebuild
new file mode 100644
index 00000000000..0b543d868e1
--- /dev/null
+++ b/dev-ml/eliom/eliom-4.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/"
+SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
+ >=dev-ml/js_of_ocaml-2.5-r1:=
+ >=www-servers/ocsigenserver-2.5:=
+ >=dev-ml/tyxml-3.3:=
+ >=dev-ml/deriving-0.6:=
+ dev-ml/reactiveData:=
+ dev-ml/ocaml-ipaddr:=
+ dev-ml/react:=
+ dev-ml/ocaml-ssl:=
+ >=dev-ml/lwt-2.5.0:=
+ dev-ml/calendar:="
+RDEPEND="${DEPEND}
+ dev-ml/opam"
+
+src_compile() {
+ if use ocamlopt ; then
+ emake all
+ else
+ emake byte
+ fi
+ use doc && emake doc
+ emake man
+}
+
+src_install() {
+ opam-installer \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ --mandir="${ED}/usr/share/man" \
+ || die
+ dodoc CHANGES README
+ if use doc ; then
+ docinto client/html
+ dodoc -r _build/src/lib/client/api.docdir/*
+ docinto server/html
+ dodoc -r _build/src/lib/server/api.docdir/*
+ fi
+}
diff --git a/dev-ml/eliom/files/lwt.patch b/dev-ml/eliom/files/lwt.patch
new file mode 100644
index 00000000000..8f3546ec137
--- /dev/null
+++ b/dev-ml/eliom/files/lwt.patch
@@ -0,0 +1,70 @@
+commit 107338c381b6a489c24c2dc9874de028a2cd08a3
+Author: Drup <drupyog@zoho.com>
+Date: Fri Jan 16 16:42:33 2015 +0100
+
+ Remove dependency to Lwt_util.
+
+diff --git a/src/lib/eliom_state.server.ml b/src/lib/eliom_state.server.ml
+index f7ea0ca..3523fc3 100644
+--- a/src/lib/eliom_state.server.ml
++++ b/src/lib/eliom_state.server.ml
+@@ -561,7 +561,7 @@ let set_persistent_data_session_group ?set_max
+ ?set_max
+ (fst sitedata.Eliom_common.max_persistent_data_sessions_per_group)
+ c.Eliom_common.pc_value !grp n in
+- lwt () = Lwt_util.iter
++ lwt () = Lwt_list.iter_p
+ (Eliommod_persess.close_persistent_state2
+ ~scope:(scope:>Eliom_common.user_scope) sitedata None) l in
+ grp := n;
+diff --git a/src/lib/server/eliommod_gc.ml b/src/lib/server/eliommod_gc.ml
+index 5655ddf..6ab298d 100644
+--- a/src/lib/server/eliommod_gc.ml
++++ b/src/lib/server/eliommod_gc.ml
+@@ -135,7 +135,7 @@ let gc_timeouted_services now tables =
+ Lwt.return ()
+ end
+ in
+- Lwt_util.iter_serial
++ Lwt_list.iter_s
+ (fun (_gen, _prio, t) -> empty_one t) tables.Eliom_common.table_services
+ >>= fun () ->
+ tables.Eliom_common.table_services <-
+diff --git a/src/lib/server/eliommod_pagegen.ml b/src/lib/server/eliommod_pagegen.ml
+index 1e2d0b4..e0a96a6 100644
+--- a/src/lib/server/eliommod_pagegen.ml
++++ b/src/lib/server/eliommod_pagegen.ml
+@@ -99,7 +99,6 @@ let update_cookie_table ?now sitedata (ci, sci) =
+
+
+ (* Update persistent expiration date, user timeout and value *)
+- (* Lwt_util.iter *)
+ Eliom_common.Full_state_name_table.fold
+
+ (fun name v thr ->
+diff --git a/src/lib/server/eliommod_persess.ml b/src/lib/server/eliommod_persess.ml
+index 18c0f5b..9e25906 100644
+--- a/src/lib/server/eliommod_persess.ml
++++ b/src/lib/server/eliommod_persess.ml
+@@ -152,7 +152,7 @@ let rec find_or_create_persistent_cookie_
+ ?set_max:set_max_in_group
+ (fst sitedata.Eliom_common.max_persistent_data_sessions_per_group)
+ c fullsessgrp >>= fun l ->
+- Lwt_util.iter (close_persistent_state2
++ Lwt_list.iter_p (close_persistent_state2
+ ~scope:(cookie_scope :> Eliom_common.user_scope)
+ sitedata None) l
+ >>= fun () ->
+diff --git a/src/lib/server/eliommod_sessiongroups.ml b/src/lib/server/eliommod_sessiongroups.ml
+index e69a62a..b7eb8f7 100644
+--- a/src/lib/server/eliommod_sessiongroups.ml
++++ b/src/lib/server/eliommod_sessiongroups.ml
+@@ -475,7 +475,7 @@ module Pers = struct
+ (* First we close all sessions in the group *)
+
+ find sess_grp >>= fun cl ->
+- Lwt_util.iter
++ Lwt_list.iter_p
+ (close_persistent_session2
+ ~cookie_level:(match cookie_level with
+ | `Client_process _ -> `Client_process | `Session -> `Session)
diff --git a/dev-ml/eliom/metadata.xml b/dev-ml/eliom/metadata.xml
new file mode 100644
index 00000000000..938b956109a
--- /dev/null
+++ b/dev-ml/eliom/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocsigen/eliom</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/enumerate/Manifest b/dev-ml/enumerate/Manifest
new file mode 100644
index 00000000000..470af2d5187
--- /dev/null
+++ b/dev-ml/enumerate/Manifest
@@ -0,0 +1 @@
+DIST enumerate-111.08.00.tar.gz 52498 SHA256 a604f8df852ba4f5781ea87da7f901278520a4329d93a9768d97d1006ee9d52c SHA512 fdedc584923552e898e0932c75b9a9c48c7c90291239cf6b5b26860b0714f2f3582f1d00acc247fb28ecb8c6e26867fc1e56c7df18fefd70eb2910ef1dfdcc3c WHIRLPOOL 8d9d2fd60d7476c22ff0c9abd2adc74b1b8cd976e32b7234e59d74da625c2b252a627fd4d757ae291ba649cf70ad73ac11be08b6e3372db4c2bc13e715cc63ce
diff --git a/dev-ml/enumerate/enumerate-111.08.00.ebuild b/dev-ml/enumerate/enumerate-111.08.00.ebuild
new file mode 100644
index 00000000000..a77f6461707
--- /dev/null
+++ b/dev-ml/enumerate/enumerate-111.08.00.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension to produce a list of all values of a type"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/type-conv-111.13:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( README.md )
diff --git a/dev-ml/enumerate/metadata.xml b/dev-ml/enumerate/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/enumerate/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest
new file mode 100644
index 00000000000..1167ddac6f5
--- /dev/null
+++ b/dev-ml/extlib/Manifest
@@ -0,0 +1,2 @@
+DIST extlib-1.5.4.tar.gz 71003 SHA256 df142ba5a04ccbd4b239a124bd0f634989781b4da63e517c05a036fd419cd9cd SHA512 f70ea54c50499dd8be47b1ee001119a6b6b3c8b29995a2bfb93181dc86790727122d330e67147d00d1c8aff02c263dc1ea954ac2f2ad34f76f5e45f5779c2ea7 WHIRLPOOL 499291050623f27e001ef92f9eea94bdaf1abe5fbd91c6bcad445e747e56f670c3250140c24268b08227dace6da99745407b02cbb7f877687b912dc5d85005e6
+DIST extlib-1.6.1.tar.gz 72780 SHA256 88d4b3638cb4da4e04d81ba157e7235e744373c5784cf4b906570d07b890aeca SHA512 9473f474bee99248bdc5e3c56741a191a8f0b89dbf750a4d9e92692b7871c997c584a2dc7e57f55b36b5ddcaf7a11d45b490b117ac15806e35813b82b696f541 WHIRLPOOL 0dc27bad6223de1a1d75684f9caba8708e6c6a80f046c4604fe4bd9da5f860b17be180e3a8d0cdc817e1d99fd6c9feec62a2696b5d78e5706e89ea02460d2d40
diff --git a/dev-ml/extlib/extlib-1.5.4.ebuild b/dev-ml/extlib/extlib-1.5.4.ebuild
new file mode 100644
index 00000000000..8549fd7c975
--- /dev/null
+++ b/dev-ml/extlib/extlib-1.5.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="Standard library extensions for O'Caml"
+HOMEPAGE="http://code.google.com/p/ocaml-extlib/"
+SRC_URI="http://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc +ocamlopt"
+
+src_compile() {
+ emake all
+ if use ocamlopt; then
+ emake opt
+ fi
+
+ if use doc; then
+ emake doc
+ fi
+}
+
+src_install () {
+ findlib_src_install
+
+ # install documentation
+ dodoc README.txt
+
+ if use doc; then
+ dohtml doc/*
+ fi
+}
diff --git a/dev-ml/extlib/extlib-1.6.1.ebuild b/dev-ml/extlib/extlib-1.6.1.ebuild
new file mode 100644
index 00000000000..b36a78a7379
--- /dev/null
+++ b/dev-ml/extlib/extlib-1.6.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="Standard library extensions for O'Caml"
+HOMEPAGE="http://code.google.com/p/ocaml-extlib/"
+SRC_URI="http://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+DEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc +ocamlopt"
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake opt
+ fi
+
+ if use doc; then
+ emake doc
+ fi
+}
+
+src_install () {
+ findlib_src_install
+
+ # install documentation
+ dodoc README.txt
+
+ if use doc; then
+ dohtml doc/*
+ fi
+}
diff --git a/dev-ml/extlib/metadata.xml b/dev-ml/extlib/metadata.xml
new file mode 100644
index 00000000000..4a1e22e112e
--- /dev/null
+++ b/dev-ml/extlib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="google-code">ocaml-extlib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/facile/Manifest b/dev-ml/facile/Manifest
new file mode 100644
index 00000000000..45c5dca6ecd
--- /dev/null
+++ b/dev-ml/facile/Manifest
@@ -0,0 +1 @@
+DIST facile-1.1.tar.gz 96343 SHA256 a87a6ba7869104f85828c19a9681758bd1d01c816581ba09ac483739ad4ae5ca SHA512 5048daa30bc0de47465f3978cc9079e29407e35f03a3e0d6656b61838e750f62370562e26b5377d30afa478974f19e962a4a3b5a4f8fbd6661bf6f6485d90565 WHIRLPOOL a3aa0b50e51042fcdb90dffb62da483730738c1ed48eadcc1a329cc2f6529a985f50efe157231cc566ca909194468fb505ced2d653f71c3c39fd85a32e2d4558
diff --git a/dev-ml/facile/facile-1.1.ebuild b/dev-ml/facile/facile-1.1.ebuild
new file mode 100644
index 00000000000..2ffa528ecd0
--- /dev/null
+++ b/dev-ml/facile/facile-1.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A constraint programming library on integer and integer set finite domains written in OCaml"
+HOMEPAGE="http://www.recherche.enac.fr/log/facile/"
+SRC_URI="http://www.recherche.enac.fr/log/facile/distrib/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+src_prepare() {
+ # Fix building on FreeBSD
+ epatch "${FILESDIR}/${P}"-make.patch
+ has_version '>=dev-lang/ocaml-4' && epatch "${FILESDIR}/${P}-ocaml4.patch"
+ # Disable building native code objects if we dont have/want ocamlopt
+ if ! use ocamlopt; then
+ sed -i -e 's/\.opt//' src/Makefile || die "failed to change native code compiler to bytecode ones"
+ sed -i -e 's/ facile\.cmxa//' src/Makefile || die "failed to remove native code objects"
+ sed -i -e 's/\.opt/.out/g' \
+ -e 's: src/facile\.cmxa::'\
+ -e 's: src/facile\.a::'\
+ -e 's:^.*facile\.cmxa::'\
+ -e 's:^.*facile\.a::' Makefile || die "failed to remove native code objects"
+ fi
+}
+
+src_configure(){
+ # This is a custom configure script and it does not support standard options
+ ./configure --faciledir "${D}"$(ocamlc -where)/facile/ || die
+}
+
+src_test() {
+ emake check
+}
+
+src_install(){
+ dodir $(ocamlc -where)
+ emake install
+ dodoc README
+}
diff --git a/dev-ml/facile/files/facile-1.1-make.patch b/dev-ml/facile/files/facile-1.1-make.patch
new file mode 100644
index 00000000000..7b77639d227
--- /dev/null
+++ b/dev-ml/facile/files/facile-1.1-make.patch
@@ -0,0 +1,48 @@
+diff -ur a/Makefile b/Makefile
+--- a/Makefile 2004-09-08 10:51:02 +0100
++++ b/Makefile 2007-10-23 13:11:28 +0100
+@@ -3,7 +3,7 @@
+ include config_Makefile
+
+ compile:
+- cd src; make
++ cd src; $(MAKE)
+
+ install:
+ if test -d $(FACILEDIR); then : ; else mkdir $(FACILEDIR); fi
+@@ -14,10 +14,10 @@
+ chmod a+r $(FACILEDIR)/facile.a
+
+ clean:
+- cd src; make clean
++ cd src; $(MAKE) clean
+
+ distclean uninstall:
+ rm -fr $(FACILEDIR)
+
+ check:
+- cd examples; make FACILEDIR=../src queens.opt; ./queens.opt 8
++ cd examples; $(MAKE) FACILEDIR=../src queens.opt; ./queens.opt 8
+diff -ur a/src/Makefile b/src/Makefile
+--- a/src/Makefile 2004-09-08 10:51:02 +0100
++++ b/src/Makefile 2007-10-23 13:10:34 +0100
+@@ -28,7 +28,7 @@
+ # Version of the library to be linked with the -p (profiler) option
+ facile.p.cmxa : $(CSTR)
+ rm -fr $(CSTRCMX)
+- make facile.cmxa OPTOPT=-p
++ $(MAKE) facile.cmxa OPTOPT=-p
+ rm -fr $(CSTRCMX)
+ mv facile.cmxa $@
+ mv facile.a facile.p.a
+@@ -41,8 +41,8 @@
+ # Does not work with many modules (e.g. containing class expressions
+ facile.exp.cmxa : $(CSTR)
+ rm -fr $(CSTRCMX)
+- make fcl_stak.cmx fcl_cstr.cmx fcl_inv.cmx fcl_reify.cmx fcl_arith.cmx fcl_goals.cmx fcl_fdArray.cmx fcl_gcc.cmx fcl_alldiff.cmx fcl_sorting.cmx fcl_interval.cmx facile.cmx
+- make facile.cmxa OPTOPT="-pp inline_functors"
++ $(MAKE) fcl_stak.cmx fcl_cstr.cmx fcl_inv.cmx fcl_reify.cmx fcl_arith.cmx fcl_goals.cmx fcl_fdArray.cmx fcl_gcc.cmx fcl_alldiff.cmx fcl_sorting.cmx fcl_interval.cmx facile.cmx
++ $(MAKE) facile.cmxa OPTOPT="-pp inline_functors"
+ rm -fr $(CSTRCMX)
+ mv facile.cmxa $@
+ mv facile.a facile.exp.a
diff --git a/dev-ml/facile/files/facile-1.1-ocaml4.patch b/dev-ml/facile/files/facile-1.1-ocaml4.patch
new file mode 100644
index 00000000000..3c755631236
--- /dev/null
+++ b/dev-ml/facile/files/facile-1.1-ocaml4.patch
@@ -0,0 +1,29 @@
+Index: facile-1.1/src/facile.mli
+===================================================================
+--- facile-1.1.orig/src/facile.mli
++++ facile-1.1/src/facile.mli
+@@ -127,7 +127,7 @@ module Data :
+ module Hashtbl :
+ sig
+ type ('a, 'b) t
+- val create : int -> ('a, 'b) t
++ val create : ?random:bool -> int -> ('a, 'b) t
+ val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
+ val add : ('a, 'b) t -> 'a -> 'b -> unit
+ val find : ('a, 'b) t -> 'a -> 'b
+Index: facile-1.1/src/fcl_data.cmi
+===================================================================
+Binary files facile-1.1.orig/src/fcl_data.cmi and facile-1.1/src/fcl_data.cmi differ
+Index: facile-1.1/src/fcl_data.mli
+===================================================================
+--- facile-1.1.orig/src/fcl_data.mli
++++ facile-1.1/src/fcl_data.mli
+@@ -23,7 +23,7 @@ end
+
+ module Hashtbl : sig
+ type ('a, 'b) t
+- val create : int -> ('a, 'b) t
++ val create : ?random:bool -> int -> ('a, 'b) t
+ val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
+ val add : ('a, 'b) t -> 'a -> 'b -> unit
+ val find : ('a, 'b) t -> 'a -> 'b
diff --git a/dev-ml/facile/metadata.xml b/dev-ml/facile/metadata.xml
new file mode 100644
index 00000000000..b8f481c02b3
--- /dev/null
+++ b/dev-ml/facile/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/faillib/Manifest b/dev-ml/faillib/Manifest
new file mode 100644
index 00000000000..9a0340946af
--- /dev/null
+++ b/dev-ml/faillib/Manifest
@@ -0,0 +1,2 @@
+DIST faillib-109.60.00.tar.gz 47376 SHA256 f90e56a2fd47aa6e644c9e87da101a2f644e65c012889c6d566211b4e7d43370 SHA512 950ef8550d97576870ced3afbf28efcaa043f234dc160c40c7d6ddd80d31518cf2fce9cb8f741d71fb39c852415b9975f4b7e7eec8bbdaf5eaba79581d02abc9 WHIRLPOOL 92a5449cb6eb1282d7f6e32ff1168ffde230c4262b46f40b97f2b32b29e71154ca9e5c31a8f1faece2ef93b6df60c5341476466aea7c12f4c9f32c83e17709e6
+DIST faillib-111.17.00.tar.gz 48691 SHA256 3bd1e32555d706d18e4163648cae818fd2136c989e35b5f6fffeb8576757bb89 SHA512 318f0123835f46354d3b798f3480847942b8201b6edc578fcd2b504b3f8cd473a9d5b83f02a7255f4e3031c45ff3b65a43f4ccf1f63c9fe0ecf70bb02036d2e6 WHIRLPOOL 8863f597eac5be72c37926c600ba15eff05c02ed74a31a6235bb24ba22a98a1cfd7f336974395d33fd4b1101be07de26bd939b37bc11fe75174d7d51a69b82cd
diff --git a/dev-ml/faillib/faillib-109.60.00.ebuild b/dev-ml/faillib/faillib-109.60.00.ebuild
new file mode 100644
index 00000000000..e9db312b10a
--- /dev/null
+++ b/dev-ml/faillib/faillib-109.60.00.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for inserting the current location"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-ml/herelib:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/faillib/faillib-111.17.00.ebuild b/dev-ml/faillib/faillib-111.17.00.ebuild
new file mode 100644
index 00000000000..7e642068fc6
--- /dev/null
+++ b/dev-ml/faillib/faillib-111.17.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for inserting the current location"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-ml/herelib:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/faillib/metadata.xml b/dev-ml/faillib/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/faillib/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/fieldslib/Manifest b/dev-ml/fieldslib/Manifest
new file mode 100644
index 00000000000..83ffd13e901
--- /dev/null
+++ b/dev-ml/fieldslib/Manifest
@@ -0,0 +1,3 @@
+DIST fieldslib-109.20.00.tar.gz 53028 SHA256 56dbf06604efd2664ff14e7f242fdfbb3835b9b19ed904dc9952838f0c53434f SHA512 27732eef789ad0217327b1aba0c52a431d3cf9f84ebe4be7d1d1d552b56af76b8921d53492aa5d9989e78eed49c16e29001beaeb35426efc3a50b54d5a605569 WHIRLPOOL 1c421be18cc30ff2457678b858ff49aa03c463ae1cf4c0a883fbb112b33fa8915636332ae7705a31f8c91b70726368c212c368735b92c949834a04b098c26d4e
+DIST fieldslib-109.20.02.tar.gz 56179 SHA256 5a0dc4ace3b0270b776ff777e07e42696f3ca1f861419ff4600b3391d0240e6f SHA512 6971e9828199a8befa276c269869b83e203475db3b0d7fc5687cdd2bfa321fa5ed80e15cf451065063c73e7f385a20ae8cafdacadaeee7f8c18044e6384bc3ca WHIRLPOOL 01329b4911b6971097da5ff015218d70306c08945b3e238634948aaa1dea062e1ff3bb16f64a95620a61f9891e063cc8afdb290b17a5ea9613ed5ed532b2a968
+DIST fieldslib-109.20.03.tar.gz 55847 SHA256 396e922295a6c84b5aa3fca06b33fea99bdb4cc9e13780a2dc301be138987fb6 SHA512 7434646c1f3d41dba6426c5b76d46d96c6be76b1e1111f1cd53754a97d701f470f447296ac30e0d02f8c1b84f19923884c548b9e9fb609b90c801eec20bc5f2e WHIRLPOOL a9f72abf500b09c75ba9774800805a5880db05524e0d3b4a36e172aaec434183597456c8b0cff9109475455d791121e1615c929b69b1fc801d0eb4ed0afe8a74
diff --git a/dev-ml/fieldslib/fieldslib-109.20.00.ebuild b/dev-ml/fieldslib/fieldslib-109.20.00.ebuild
new file mode 100644
index 00000000000..0afe2c07267
--- /dev/null
+++ b/dev-ml/fieldslib/fieldslib-109.20.00.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Folding over record fields"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/fieldslib/fieldslib-109.20.02.ebuild b/dev-ml/fieldslib/fieldslib-109.20.02.ebuild
new file mode 100644
index 00000000000..38bd9e9575c
--- /dev/null
+++ b/dev-ml/fieldslib/fieldslib-109.20.02.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Folding over record fields"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/fieldslib/fieldslib-109.20.03.ebuild b/dev-ml/fieldslib/fieldslib-109.20.03.ebuild
new file mode 100644
index 00000000000..561b037cb2a
--- /dev/null
+++ b/dev-ml/fieldslib/fieldslib-109.20.03.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Folding over record fields"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/fieldslib/metadata.xml b/dev-ml/fieldslib/metadata.xml
new file mode 100644
index 00000000000..d7fe6e62376
--- /dev/null
+++ b/dev-ml/fieldslib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+ <longdescription lang="en">
+ This library defines a syntax extension for OCaml using Camlp4 that
+ can be used to define first class values representing record fields,
+ and additional routines, to get and set record fields, iterate and fold
+ over all fields of a record and create new record values.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest
new file mode 100644
index 00000000000..d393c548852
--- /dev/null
+++ b/dev-ml/findlib/Manifest
@@ -0,0 +1,2 @@
+DIST findlib-1.4.tar.gz 231526 SHA256 6e4065e5d79d31176ec213ff94599c4eae17c3904c2896e845d0379a99f1bdf8 SHA512 7ee5bee74f6fc14c8d85496e673d42b63e056d35a724fe4f78fd1010a5af4506a9a962c0403fd96d5bf51f2278bfbe98a60aad65a171803cbde935cc3889157b WHIRLPOOL 31f1d0b9f1605a9a536ae996fb4abe5e1d5c47012759cb7bb45185d58a81e827d80285628b113f79d51b8b260cdff181c3eb05596adeea9a87070994058fce17
+DIST findlib-1.5.5.tar.gz 240247 SHA256 aafaba4f7453c38347ff5269c6fd4f4c243ae2bceeeb5e10b9dab89329905946 SHA512 051817ae897a53b705ad641ae7e9010474f2320d3cc7cfd15edc9345f50566932cb44bf6f45772260706b5f9e9e91194802600c770c9c96f772985678db7209d WHIRLPOOL f1ad9b77c1f38f6d733f2a17c14649d4ca9f05215b5fa8124e71dc3e05b229c34af10415471d56964384c1fe0b0b0db453638d7e1238af916e5ff854b931cd76
diff --git a/dev-ml/findlib/files/externalmeta.patch b/dev-ml/findlib/files/externalmeta.patch
new file mode 100644
index 00000000000..e391bf0fb1e
--- /dev/null
+++ b/dev-ml/findlib/files/externalmeta.patch
@@ -0,0 +1,13 @@
+Index: findlib-1.5.5/configure
+===================================================================
+--- findlib-1.5.5.orig/configure
++++ findlib-1.5.5/configure
+@@ -515,7 +515,7 @@ fi
+
+ # Generate the META files now.
+
+-l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes"
++l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray $lobuild $lcomplibs $lbytes"
+
+ for dir in site-lib-src/*; do
+ # We do not really know if $dir is a directory.
diff --git a/dev-ml/findlib/findlib-1.4.ebuild b/dev-ml/findlib/findlib-1.4.ebuild
new file mode 100644
index 00000000000..97865701414
--- /dev/null
+++ b/dev-ml/findlib/findlib-1.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="OCaml tool to find/use non-standard packages"
+HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
+SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
+IUSE="doc +ocamlopt tk"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?,tk?]"
+RDEPEND="${DEPEND}"
+
+ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
+stublibs="${ocamlfind_destdir}/stublibs"
+
+src_configure() {
+ local myconf
+ use tk && myconf="-with-toolbox"
+ ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \
+ -sitelib ${ocamlfind_destdir} \
+ -config ${ocamlfind_destdir}/findlib/findlib.conf \
+ -no-custom \
+ ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake all
+ if use ocamlopt; then
+ emake opt # optimized code
+ fi
+}
+
+src_install() {
+ emake prefix="${D}" install
+
+ dodir "${stublibs#${EPREFIX}}"
+
+ cd "${S}/doc"
+ dodoc QUICKSTART README DOCINFO
+ use doc && dohtml -r ref-html guide-html
+}
+
+check_stublibs() {
+ local ocaml_stdlib=`ocamlc -where`
+ local ldconf="${ocaml_stdlib}/ld.conf"
+
+ if [ ! -e ${ldconf} ]
+ then
+ echo "${ocaml_stdlib}" > ${ldconf}
+ echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
+ fi
+
+ if [ -z `grep -e ${stublibs} ${ldconf}` ]
+ then
+ echo ${stublibs} >> ${ldconf}
+ fi
+}
+
+pkg_postinst() {
+ check_stublibs
+}
diff --git a/dev-ml/findlib/findlib-1.5.5-r1.ebuild b/dev-ml/findlib/findlib-1.5.5-r1.ebuild
new file mode 100644
index 00000000000..1312843bbe4
--- /dev/null
+++ b/dev-ml/findlib/findlib-1.5.5-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib eutils
+
+DESCRIPTION="OCaml tool to find/use non-standard packages"
+HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
+SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
+IUSE="doc +ocamlopt tk"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND=">=dev-lang/ocaml-4.02.1:=[ocamlopt?]
+ tk? ( dev-ml/labltk:= )"
+RDEPEND="${DEPEND}"
+
+ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
+stublibs="${ocamlfind_destdir}/stublibs"
+
+src_prepare() {
+ epatch "${FILESDIR}/externalmeta.patch"
+}
+
+src_configure() {
+ local myconf
+ use tk && myconf="-with-toolbox"
+ ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \
+ -sitelib ${ocamlfind_destdir} \
+ -config ${ocamlfind_destdir}/findlib/findlib.conf \
+ -no-custom \
+ ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt # optimized code
+ fi
+}
+
+src_install() {
+ emake prefix="${D}" install
+
+ dodir "${stublibs#${EPREFIX}}"
+
+ cd "${S}/doc"
+ dodoc QUICKSTART README DOCINFO
+ use doc && dohtml -r ref-html guide-html
+}
+
+check_stublibs() {
+ local ocaml_stdlib=`ocamlc -where`
+ local ldconf="${ocaml_stdlib}/ld.conf"
+
+ if [ ! -e ${ldconf} ]
+ then
+ echo "${ocaml_stdlib}" > ${ldconf}
+ echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
+ fi
+
+ if [ -z `grep -e ${stublibs} ${ldconf}` ]
+ then
+ echo ${stublibs} >> ${ldconf}
+ fi
+}
+
+pkg_postinst() {
+ check_stublibs
+}
diff --git a/dev-ml/findlib/findlib-1.5.5.ebuild b/dev-ml/findlib/findlib-1.5.5.ebuild
new file mode 100644
index 00000000000..db6d685a2b3
--- /dev/null
+++ b/dev-ml/findlib/findlib-1.5.5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="OCaml tool to find/use non-standard packages"
+HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
+SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
+IUSE="doc +ocamlopt tk"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?,tk?]"
+RDEPEND="${DEPEND}"
+
+ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
+stublibs="${ocamlfind_destdir}/stublibs"
+
+src_configure() {
+ local myconf
+ use tk && myconf="-with-toolbox"
+ ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \
+ -sitelib ${ocamlfind_destdir} \
+ -config ${ocamlfind_destdir}/findlib/findlib.conf \
+ -no-custom \
+ ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt # optimized code
+ fi
+}
+
+src_install() {
+ emake prefix="${D}" install
+
+ dodir "${stublibs#${EPREFIX}}"
+
+ cd "${S}/doc"
+ dodoc QUICKSTART README DOCINFO
+ use doc && dohtml -r ref-html guide-html
+}
+
+check_stublibs() {
+ local ocaml_stdlib=`ocamlc -where`
+ local ldconf="${ocaml_stdlib}/ld.conf"
+
+ if [ ! -e ${ldconf} ]
+ then
+ echo "${ocaml_stdlib}" > ${ldconf}
+ echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
+ fi
+
+ if [ -z `grep -e ${stublibs} ${ldconf}` ]
+ then
+ echo ${stublibs} >> ${ldconf}
+ fi
+}
+
+pkg_postinst() {
+ check_stublibs
+}
diff --git a/dev-ml/findlib/metadata.xml b/dev-ml/findlib/metadata.xml
new file mode 100644
index 00000000000..a273949ac55
--- /dev/null
+++ b/dev-ml/findlib/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/fort/Manifest b/dev-ml/fort/Manifest
new file mode 100644
index 00000000000..91cc92a912c
--- /dev/null
+++ b/dev-ml/fort/Manifest
@@ -0,0 +1 @@
+DIST fort-0.4.2.tar.gz 6828 SHA256 171ddc85901f897cd1c47d6ef04f16b011673cd0f06e7d57cfa95688879192e7 SHA512 59659bcc885f8d71985121a2abcfef756078eb472cadbd74ff97aef3378cd3f2a2a6da3a41a0a015b3175c18d98775e7f6b26c7a76262eb044b25122679c15a8 WHIRLPOOL 980a10c89b3734fd4e5ed9ae42b5ab80deffb545a6b06aec4385a7389bcfb6eb01b9c1dbe8affb0fe3280a552f2dda1c7560b8abc9490e0a447d43f2d07ca433
diff --git a/dev-ml/fort/files/fort-0.4.2-ocaml4.patch b/dev-ml/fort/files/fort-0.4.2-ocaml4.patch
new file mode 100644
index 00000000000..1c688a99544
--- /dev/null
+++ b/dev-ml/fort/files/fort-0.4.2-ocaml4.patch
@@ -0,0 +1,22 @@
+Index: fort-0.4.2/Makefile
+===================================================================
+--- fort-0.4.2.orig/Makefile
++++ fort-0.4.2/Makefile
+@@ -3,7 +3,7 @@
+
+ include Makefile.config
+
+-OCAMLC := ocamlc
++OCAMLC := ocamlc -I +compiler-libs
+
+ # FORT top-level interpreter
+ NAME := fort
+@@ -16,7 +16,7 @@ LIBS := unix
+ EXECUTABLE := $(NAME)$(EXEC_SUFFIX)
+
+ $(EXECUTABLE): $(OBJECTS)
+- $(OCAMLC) -linkall -o $@ toplevellib.cma $(LIBS:%=%.cma) $(OBJECTS)
++ $(OCAMLC) -linkall -o $@ ocamlcommon.cma ocamlbytecomp.cma ocamltoplevel.cma $(LIBS:%=%.cma) $(OBJECTS)
+
+ install: $(EXECUTABLE) $(OBJECTS)
+ mkdir -p $(DESTDIR)$(LIBDIR)
diff --git a/dev-ml/fort/fort-0.4.2.ebuild b/dev-ml/fort/fort-0.4.2.ebuild
new file mode 100644
index 00000000000..46def158dcb
--- /dev/null
+++ b/dev-ml/fort/fort-0.4.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib eutils
+
+DESCRIPTION="provides an environment for testing programs and Objective Caml modules"
+HOMEPAGE="http://fort.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="dev-lang/ocaml:="
+RDEPEND="${DEPEND}"
+DOCS=( README )
+
+src_prepare() {
+ has_version '>=dev-lang/ocaml-4' && epatch "${FILESDIR}/${P}-ocaml4.patch"
+ sed -i -e "s:\$(BINDIR):\$(DESTDIR)&:"\
+ -e "s:\$(LIBDIR):\$(DESTDIR)&:" Makefile || die
+}
+
+src_configure() {
+ ./configure --bindir /usr/bin --libdir /usr/$(get_libdir)/ocaml || die
+}
diff --git a/dev-ml/fort/metadata.xml b/dev-ml/fort/metadata.xml
new file mode 100644
index 00000000000..a6c4a6fd4a0
--- /dev/null
+++ b/dev-ml/fort/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+ <longdescription>
+ FORT (Framework for Ocaml Regression Testing) provides
+ an environment for testing programs and Objective Caml modules.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">fort</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/gd4o/Manifest b/dev-ml/gd4o/Manifest
new file mode 100644
index 00000000000..662188b86ca
--- /dev/null
+++ b/dev-ml/gd4o/Manifest
@@ -0,0 +1 @@
+DIST gd4o-1.0a5.tar.gz 885735 SHA256 fa10b60a785e6734b6ac1b5a762f496b925502cfc848381cae7dfb75fe547eed SHA512 f582ff5dc4ece692b779c78ea97d1df90768564ab172a3933196bc0d9eedf31a53ca01c4745d7eacc81f977611b509dd2f912fac08b1bf0f70ec03605a40a85b WHIRLPOOL 9b2fff948e4a832fff24c292323924a6d06380d417fbcf5bd0c5e44565409f99c5354b66f36a832b109d2b581751e480e9f79ff86fee835c9ec512c31f6044f8
diff --git a/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild b/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild
new file mode 100644
index 00000000000..0adf8973687
--- /dev/null
+++ b/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs findlib
+
+MY_P="${P/_alpha/a}"
+
+DESCRIPTION="OCaml interface to the GD graphics library"
+HOMEPAGE="http://sourceforge.net/projects/gd4o/"
+SRC_URI="mirror://sourceforge/gd4o/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ media-libs/gd
+ virtual/jpeg
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/freetype:2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i 's/CFLAGS =/CFLAGS += -fPIC/' Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+ if use ocamlopt ; then
+ emake CC="$(tc-getCC)" opt
+ fi
+ if use doc ; then
+ emake docs
+ fi
+}
+
+src_test() {
+ emake test
+ if use ocamlopt ; then
+ emake test.opt
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ dodoc BUGS CHANGES README* TODO doc/manual.txt
+ use doc && dohtml -r doc
+}
diff --git a/dev-ml/gd4o/metadata.xml b/dev-ml/gd4o/metadata.xml
new file mode 100644
index 00000000000..ae5d7559879
--- /dev/null
+++ b/dev-ml/gd4o/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="sourceforge">gd4o</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/herelib/Manifest b/dev-ml/herelib/Manifest
new file mode 100644
index 00000000000..6fc967917a2
--- /dev/null
+++ b/dev-ml/herelib/Manifest
@@ -0,0 +1,3 @@
+DIST herelib-109.35.00.tar.gz 44436 SHA256 183853f7e6f88be0884672d5acdc1f8d6aa3c3204d85b6f9b0b984700e0fe079 SHA512 473de2701a2f83d831bb8a0af4aa4bae86f5b6dd30503eaef6715bce5f22b13cefc2f5e333650ea04780d07edad925fbfe13325909da50a28397a9fe4d115fa4 WHIRLPOOL eca71daae788e5ee2cd66a6e25cb3f6d1b956a208459c36026c13ce65788fbdc912cda4457df0d98dfa516c17fbab7fe2fe11fe358df280a935c8abfb4daaafa
+DIST herelib-109.35.02.tar.gz 47650 SHA256 7f8394169cb63f6d41e91c9affa1b8ec240d5f6e9dfeda3fbb611df521d4b05a SHA512 2ab68fb4ed5acce2dd0cbbac658743713d6534ae7f215dd8e34f97b0ef94883ffaf68462651473f8f6a0ef95dbf26c21857bf261291c3accab01d094008c4838 WHIRLPOOL ebed805ba8eff3c410368f929845c24b288bea91cce5b89bec6f031b72cac91091666773d44468009716c937a26c175f81be7726239deb0e0e4d662feccf338a
+DIST herelib-112.35.00.tar.gz 49201 SHA256 7a75969aa27d3ec3d6ec20b93d2c5f459d5aca1021b4fa7f0e0d355be5a5390f SHA512 3b7fe743327e93526858004f90f102e5eb98cc493f22acea3d82e51bf99307679017389680456a143fb6fa9dce0a30bfd69abf90e5f0ea1367ec9c9c0726150f WHIRLPOOL cf9e90dd50a438fd0d01a8fb1fbed0a013284c755a5b01a1220d25d2188b76158b447135a18bcc4236d995d1ef22bbe5b43c9d058c20169bb434c8186b7832f9
diff --git a/dev-ml/herelib/herelib-109.35.00.ebuild b/dev-ml/herelib/herelib-109.35.00.ebuild
new file mode 100644
index 00000000000..6ab1d418970
--- /dev/null
+++ b/dev-ml/herelib/herelib-109.35.00.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for inserting the current location"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/herelib/herelib-109.35.02.ebuild b/dev-ml/herelib/herelib-109.35.02.ebuild
new file mode 100644
index 00000000000..844c924d0db
--- /dev/null
+++ b/dev-ml/herelib/herelib-109.35.02.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for inserting the current location"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/ocaml-4.00.0:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/herelib/herelib-112.35.00.ebuild b/dev-ml/herelib/herelib-112.35.00.ebuild
new file mode 100644
index 00000000000..872d150f117
--- /dev/null
+++ b/dev-ml/herelib/herelib-112.35.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for inserting the current location"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/ocaml-4.00.0:=
+ dev-ml/camlp4:=
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/herelib/metadata.xml b/dev-ml/herelib/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/herelib/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/iTeML/Manifest b/dev-ml/iTeML/Manifest
new file mode 100644
index 00000000000..59755f72fbb
--- /dev/null
+++ b/dev-ml/iTeML/Manifest
@@ -0,0 +1 @@
+DIST iTeML-2.0.1.tar.gz 38387 SHA256 ae6ff9d0fcc20b8e96a44517fb3641d5193c63169aae33f0c1912db8e14bef1f SHA512 1f72ed8320a7589206daa16232199f33012cac397cf21a60fd8afccb7e8aad6f9125e8b4ac494866f699d0a47569bbd0486584a299786e0ef7a3a2c234f0ac2b WHIRLPOOL c23392412b4fcead6dd5958739802d895cdee3a86f333038ad03639d28a5439858de411bea19ce25df1bce72482b07d3047e8862a89fb49e24cfe0956d45d768
diff --git a/dev-ml/iTeML/iTeML-2.0.1.ebuild b/dev-ml/iTeML/iTeML-2.0.1.ebuild
new file mode 100644
index 00000000000..e3eb2e97c12
--- /dev/null
+++ b/dev-ml/iTeML/iTeML-2.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="Inline (Unit) Tests for OCaml"
+HOMEPAGE="https://github.com/vincent-hugot/iTeML"
+SRC_URI="https://github.com/vincent-hugot/iTeML/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-ml/ounit:="
+DEPEND="${RDEPEND}
+ dev-ml/oasis"
+
+DOCS=( "${WORKDIR}/${P}/README.md" )
+
+S="${WORKDIR}/${P}/qtest"
+
+src_prepare() {
+ oasis setup || die
+}
diff --git a/dev-ml/iTeML/metadata.xml b/dev-ml/iTeML/metadata.xml
new file mode 100644
index 00000000000..d49e7e430be
--- /dev/null
+++ b/dev-ml/iTeML/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">vincent-hugot/iTeML</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/incremental/Manifest b/dev-ml/incremental/Manifest
new file mode 100644
index 00000000000..892ab670d20
--- /dev/null
+++ b/dev-ml/incremental/Manifest
@@ -0,0 +1 @@
+DIST incremental-112.35.00.tar.gz 129690 SHA256 4d2d962f99d8d0e7fb5d02e0165be0c3a7cf361ea0e17231a525310f2a277918 SHA512 a181e6e90e8d490722342a7c81d93cdc48d2aa38aecb346334cd726ef5d413fabc324a0b86f4e3adbeda6123f5789595d424a01f93872da791019e9c7561ca1e WHIRLPOOL ceccd1ee76f6369330c2a465bebc3cac9f831e840627eda5fcbe6708f123a1dbcf5da437b83eb6bc049d50aad2aedff58c130f48c7be5f68290d0e7b327a9ff1
diff --git a/dev-ml/incremental/incremental-112.35.00.ebuild b/dev-ml/incremental/incremental-112.35.00.ebuild
new file mode 100644
index 00000000000..8c9913dbd50
--- /dev/null
+++ b/dev-ml/incremental/incremental-112.35.00.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Library for incremental computations"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-ml/core:=
+ dev-ml/fieldslib:=
+ dev-ml/pa_ounit:=
+ dev-ml/pa_test:=
+ dev-ml/sexplib:=
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/incremental/metadata.xml b/dev-ml/incremental/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/incremental/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/js_of_ocaml/Manifest b/dev-ml/js_of_ocaml/Manifest
new file mode 100644
index 00000000000..eb1a6b995b5
--- /dev/null
+++ b/dev-ml/js_of_ocaml/Manifest
@@ -0,0 +1,4 @@
+DIST js_of_ocaml-1.3.2.tar.gz 1901593 SHA256 5996d2a9bc32121186e1964af557bb411eb5a27aa155d2c6a8a144ee5f3d0c36 SHA512 83fe5818554d226d175ff3c876883a4837c015271681a73ef92b8d809134c6e5148d33d1eb7e3e71e0c3775627c26d0c246ffb183ff0c9a5736bd9b30ea6aedf WHIRLPOOL 0dc7232940df09913cb1b829cabc35817ca1eca1c4c3e2381f9f7f08d33d2e5cc973fde25576a7b04004860aa6cf193f206690ac6e681cb1e8cae4084675785b
+DIST js_of_ocaml-1.4.tar.gz 1906998 SHA256 56033c5b08e6db9f957d93f691641264c2bd5fb3624b9db5e0766d5c6a64d781 SHA512 6b7dc0bc48373e4930916213f87fb0e7a0283ea4ff91284c9708de9b1d60b9c6b576658ebd0c33b0b5ca28bad467bfabd17ed0910f22fef59b3cdf96089d4c83 WHIRLPOOL abc5ab718554fc0f3e97281620968b2943da539e2c39a894afbd99702da0f0fb8e322da69c78ab04ca61ae83fbc3bd5f9c69fb0ceec875c91bdfa6b15fbecae0
+DIST js_of_ocaml-2.5.tar.gz 1249680 SHA256 5bea34f47210791b8bb89adb158ec9d47816ba074bfb11ee68f56be42c0235df SHA512 5a69993dbb5e6dd763a1b43cf2fee7de7000c91e8cb473379445603a0592941dc9c67c7591f322dca1c7fedd8d3df2cd79e2a9716204b5642a9d2999de1db82d WHIRLPOOL fde0c0d553f3f8aaa220b705294ee7a366e6667ca9eb9a21e148082c36ea13f64f1f01616468fd0e8f5ab3a201c6d3a92ad2606a7eda54e1ddd22432c72b0dd3
+DIST js_of_ocaml-2.6.tar.gz 1291882 SHA256 c1f066d09524c6be2d40cfb387de49b337837dcc8f2f746a207f37706ca66460 SHA512 2c4e294b7946757d9b05ec640e130cbee6a0130c03eb3a2188988fb956c1f0e2738c32e97abc461e748e667e7d31e386c5470942df84ddbcf5903d41b133e8c8 WHIRLPOOL abf477caa49edc65b5e577a90dd86641f12b6757e6f2c9034fe08d51cc1ac11209b73e8fdd88de420ed0277d8715bb085c10d29b237854cdebb8a9e36f8e22fe
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild
new file mode 100644
index 00000000000..28b39b24a1a
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-1.3.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving-ocsigen"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.3.0:=
+ deriving-ocsigen? ( >=dev-ml/deriving-ocsigen-0.3:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving-ocsigen || echo "DERIVING :=" >> Makefile.conf
+ echo "BINDIR := ${ED}/usr/bin" >> Makefile.conf
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install
+ dodoc CHANGES README
+ use doc && dohtml -r doc/api-html
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild
new file mode 100644
index 00000000000..fdfa20c24b9
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving-ocsigen"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.3.0:=
+ deriving-ocsigen? ( >=dev-ml/deriving-ocsigen-0.3:= )
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving-ocsigen || echo "DERIVING :=" >> Makefile.conf
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README
+ use doc && dohtml -r doc/api-html
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild
new file mode 100644
index 00000000000..be810428a82
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.5-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.4.0:=
+ dev-ml/react:=
+ dev-ml/reactiveData:=
+ >=dev-ml/tyxml-3.3:=
+ dev-ml/cmdliner:=
+ dev-ml/menhir:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ deriving? ( >=dev-ml/deriving-0.6:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
+}
+
+src_compile() {
+ emake -j1
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README.md
+ use doc && dohtml -r doc/api/html/
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild
new file mode 100644
index 00000000000..d35d0f4cb4d
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.4.0:=
+ dev-ml/react:=
+ >=dev-ml/tyxml-3.3:=
+ dev-ml/cmdliner:=
+ dev-ml/menhir:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ deriving? ( >=dev-ml/deriving-0.6:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
+}
+
+src_compile() {
+ emake -j1
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README.md
+ use doc && dohtml -r doc/api/html/
+}
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild
new file mode 100644
index 00000000000..04c22b5edb6
--- /dev/null
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A compiler from OCaml bytecode to javascript"
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt doc +deriving"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ >=dev-ml/lwt-2.4.4:=
+ dev-ml/react:=
+ dev-ml/reactiveData:=
+ >=dev-ml/tyxml-3.3:=
+ dev-ml/cmdliner:=
+ dev-ml/menhir:=
+ dev-ml/ocaml-base64:=
+ dev-ml/camlp4:=
+ dev-ml/cppo:=
+ deriving? ( >=dev-ml/deriving-0.6:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_preinst
+ emake BINDIR="${ED}/usr/bin/" install
+ dodoc CHANGES README.md
+ use doc && dohtml -r doc/api/html/
+}
diff --git a/dev-ml/js_of_ocaml/metadata.xml b/dev-ml/js_of_ocaml/metadata.xml
new file mode 100644
index 00000000000..d26a1348f42
--- /dev/null
+++ b/dev-ml/js_of_ocaml/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <use>
+ <flag name="deriving-ocsigen">Enable deriving-ocsigen for improving the type safety.</flag>
+ <flag name="deriving">Enable <pkg>dev-ml/deriving</pkg> support for improving the type safety.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ocsigen/js_of_ocaml</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/jsonm/Manifest b/dev-ml/jsonm/Manifest
new file mode 100644
index 00000000000..e860dc797cd
--- /dev/null
+++ b/dev-ml/jsonm/Manifest
@@ -0,0 +1 @@
+DIST jsonm-0.9.1.tbz 64843 SHA256 3fd4dca045d82332da847e65e981d8b504883571d299a3f7e71447d46bc65f73 SHA512 43689c8fa75810a4ca1f99a0273ac5c0f6386b88f42a49715bcb785ac5ca54901c43a62b0983f7fb74a7c2615b0fb3464f4c864832d590192ff828b5dcb9781f WHIRLPOOL 2efe453596d3234da178b16191db3068dd06b8a66e7b23a0dd8efb0904368e32b357fe177f62891ce73efee96ede08e4b8e84125409b6ed01880dc49d92f122c
diff --git a/dev-ml/jsonm/jsonm-0.9.1.ebuild b/dev-ml/jsonm/jsonm-0.9.1.ebuild
new file mode 100644
index 00000000000..4876a4eb4aa
--- /dev/null
+++ b/dev-ml/jsonm/jsonm-0.9.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Non-blocking streaming JSON codec for OCaml"
+HOMEPAGE="http://erratique.ch/software/jsonm"
+SRC_URI="http://erratique.ch/software/jsonm/releases/${P}.tbz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND="dev-ml/uutf:="
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGES README )
+
+src_install() {
+ oasis_src_install
+ use doc && dohtml -r doc/*
+}
diff --git a/dev-ml/jsonm/metadata.xml b/dev-ml/jsonm/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/jsonm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/kaputt/Manifest b/dev-ml/kaputt/Manifest
new file mode 100644
index 00000000000..aacfa509b42
--- /dev/null
+++ b/dev-ml/kaputt/Manifest
@@ -0,0 +1 @@
+DIST kaputt-1.2.tar.gz 299828 SHA256 19dae1ade0afff7f0f5f3e116793d35ced4c3cdb8f7a7cb1e5c599d2cc827039 SHA512 7e30379410ac2e45e59462086956a510e4da06538cd27fd360999e3ff656dc82bfdae18e545699241a01612d9ec7ab28e298847b4a2f6178294dc6c2db8f8671 WHIRLPOOL 12b1e9edd04b769f1edf707115a2d8ea191906e2f3d7b30f6978b8e8a160bb97cb568cb72470c3aa51a106802821a742886b4c25a60c41b0df53c7fabc94767f
diff --git a/dev-ml/kaputt/kaputt-1.2.ebuild b/dev-ml/kaputt/kaputt-1.2.ebuild
new file mode 100644
index 00000000000..854656c9899
--- /dev/null
+++ b/dev-ml/kaputt/kaputt-1.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Unit testing tool for the Objective Caml language"
+HOMEPAGE="http://kaputt.x9c.fr/"
+SRC_URI="http://kaputt.x9c.fr/distrib/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ chmod +x configure
+ ./configure || die
+}
+
+src_compile() {
+ emake all
+}
+
+src_test() {
+ emake -j1 tests
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README FEATURES CHANGES
+}
diff --git a/dev-ml/kaputt/metadata.xml b/dev-ml/kaputt/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/kaputt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/lablgl/Manifest b/dev-ml/lablgl/Manifest
new file mode 100644
index 00000000000..be08e81d0af
--- /dev/null
+++ b/dev-ml/lablgl/Manifest
@@ -0,0 +1,2 @@
+DIST lablgl-1.04.tar.gz 410525 SHA256 3fedf5537069481b95836e8495380c742af7b87cfecd105fff1b98e40cac3b3e SHA512 6ae9ed365c390e06bba45214e62ad1479f96cec8087672d543fb18bd20643be0adf52c53e3b19031976eb833880be1f30c3c705d87dea5f7ed4488b57781e084 WHIRLPOOL efb03beeb18277d374c7fbbdf32aa2be4d7f2e23c31322de2b2e37d6b636e44bb4432bdca08c401af326abc4f729c21df2551e63a90193a5bbea95d7018d05d0
+DIST lablgl-1.05.tar.gz 296597 SHA256 d8ff03e35b970d2b23a942f9e6ed65da5a6c123986bd0ecf5424a6205af34b61 SHA512 e8bf7d993610912d50ec3a6c18a24d2ff7d0727a41fe102e745050bb83ee02a9995e8b1b8c7dbd94f6b2a8363145f22e9772e36253dced762a63ec3c6c54379d WHIRLPOOL 74e9b15b2085d82c90f73cdf1d5330ced5cdc484d9775fe83c1cfdae6784e113d21ef53bdbb88ea02615bda0cc824f730fc0772dba3b486b2298c8dedcd9476f
diff --git a/dev-ml/lablgl/lablgl-1.04-r1.ebuild b/dev-ml/lablgl/lablgl-1.04-r1.ebuild
new file mode 100644
index 00000000000..ffab37249a0
--- /dev/null
+++ b/dev-ml/lablgl/lablgl-1.04-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib eutils toolchain-funcs
+
+IUSE="doc glut +ocamlopt"
+#tk"
+
+DESCRIPTION="Objective CAML interface for OpenGL"
+HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html"
+LICENSE="BSD"
+
+# >=dev-lang/ocaml-3.10.2:=[tk?,ocamlopt?]
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libX11
+ virtual/opengl
+ virtual/glu
+ glut? ( media-libs/freeglut )
+ "
+# tk? ( >=dev-lang/tcl-8.3:0= >=dev-lang/tk-8.3:0= )
+
+DEPEND="${RDEPEND}"
+
+SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~x86-fbsd"
+S=${WORKDIR}/lablGL-${PV}
+
+src_configure() {
+ # make configuration file
+ echo "BINDIR=/usr/bin" > Makefile.config
+ echo "GLLIBS = -lGL -lGLU" >> Makefile.config
+ if use glut; then
+ echo "GLUTLIBS = -lglut" >> Makefile.config
+ else
+ echo "GLUTLIBS = " >> Makefile.config
+ fi
+ echo "XLIBS = -lXext -lXmu -lX11" >> Makefile.config
+ echo "RANLIB = $(tc-getRANLIB)" >> Makefile.config
+ echo 'COPTS = -c -O $(CFLAGS)' >> Makefile.config
+ echo 'INCLUDES = $(TKINCLUDES) $(GLINCLUDES) $(XINCLUDES)' >> Makefile.config
+}
+
+src_compile() {
+ #if use tk; then
+ # emake -j1 togl || die "failed to build togl"
+ # if use ocamlopt; then
+ # emake -j1 toglopt || die "failed to build native code togl"
+ # fi
+ #fi
+
+ emake -j1 lib || die "failed to build the library"
+ if use ocamlopt; then
+ emake -j1 libopt || die "failed to build native code library"
+ fi
+
+ if use glut; then
+ emake -j1 glut || die "failed to build glut"
+ if use ocamlopt; then
+ emake -j1 glutopt || die "failed to build native code glutopt"
+ fi
+ fi
+}
+
+src_install () {
+ # Makefile do not use mkdir so the library is not installed
+ # but copied as a 'stublibs' file.
+ dodir /usr/$(get_libdir)/ocaml/stublibs
+
+ # Same for lablglut's toplevel
+ dodir /usr/bin
+
+ BINDIR=${ED}/usr/bin
+ BASE=${ED}/usr/$(get_libdir)/ocaml
+ emake BINDIR="${BINDIR}" INSTALLDIR="${BASE}/lablGL" DLLDIR="${BASE}/stublibs" install || die "make install failed"
+
+ dodoc README CHANGES
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ mv Togl/examples{,.togl}
+ doins -r Togl/examples.togl
+
+ mv LablGlut/examples{,.glut}
+ doins -r LablGlut/examples.glut
+ fi
+}
diff --git a/dev-ml/lablgl/lablgl-1.05.ebuild b/dev-ml/lablgl/lablgl-1.05.ebuild
new file mode 100644
index 00000000000..bb69c5d38ae
--- /dev/null
+++ b/dev-ml/lablgl/lablgl-1.05.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib eutils toolchain-funcs
+
+IUSE="doc glut +ocamlopt tk"
+
+DESCRIPTION="Objective CAML interface for OpenGL"
+HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html"
+LICENSE="BSD"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libX11
+ virtual/opengl
+ virtual/glu
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ glut? ( media-libs/freeglut )
+ tk? (
+ >=dev-lang/tcl-8.3:0=
+ >=dev-lang/tk-8.3:0=
+ || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] )
+ )
+ "
+
+DEPEND="${RDEPEND}"
+
+SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+src_configure() {
+ # make configuration file
+ echo "BINDIR=/usr/bin" > Makefile.config
+ echo "GLLIBS = -lGL -lGLU" >> Makefile.config
+ if use glut; then
+ echo "GLUTLIBS = -lglut" >> Makefile.config
+ else
+ echo "GLUTLIBS = " >> Makefile.config
+ fi
+ echo "XLIBS = -lXext -lXmu -lX11" >> Makefile.config
+ echo "RANLIB = $(tc-getRANLIB)" >> Makefile.config
+ echo 'COPTS = -c -O $(CFLAGS)' >> Makefile.config
+ echo 'INCLUDES = $(TKINCLUDES) $(GLINCLUDES) $(XINCLUDES)' >> Makefile.config
+}
+
+src_compile() {
+ if use tk; then
+ emake togl
+ if use ocamlopt; then
+ emake toglopt
+ fi
+ fi
+
+ emake lib
+ if use ocamlopt; then
+ emake libopt
+ fi
+
+ if use glut; then
+ emake glut
+ if use ocamlopt; then
+ emake glutopt
+ fi
+ fi
+}
+
+src_install () {
+ # Makefile do not use mkdir so the library is not installed
+ # but copied as a 'stublibs' file.
+ dodir /usr/$(get_libdir)/ocaml/stublibs
+
+ # Same for lablglut's toplevel
+ dodir /usr/bin
+
+ BINDIR=${ED}/usr/bin
+ BASE=${ED}/usr/$(get_libdir)/ocaml
+ emake BINDIR="${BINDIR}" INSTALLDIR="${BASE}/lablGL" DLLDIR="${BASE}/stublibs" install
+
+ dodoc README CHANGES
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ mv Togl/examples{,.togl}
+ doins -r Togl/examples.togl
+
+ mv LablGlut/examples{,.glut}
+ doins -r LablGlut/examples.glut
+ fi
+}
diff --git a/dev-ml/lablgl/metadata.xml b/dev-ml/lablgl/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/lablgl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/lablgtk/Manifest b/dev-ml/lablgtk/Manifest
new file mode 100644
index 00000000000..40e643c86b5
--- /dev/null
+++ b/dev-ml/lablgtk/Manifest
@@ -0,0 +1,3 @@
+DIST lablgtk-2.18.0.tar.gz 789507 SHA256 c76a7ae9454e89365666cf19728dbb51edb6810e2e57032b3bebd53ccec5946e SHA512 5bb8eb753c928b4a7771e33a2f821dbc76fa64ce35df509884d11ce57efde90ceceb2fe94a57311f13c5106956f24d0fae581134a1a43c0645ff41c66fbd5461 WHIRLPOOL e4b17de89f6e4a41b385cd0c06fdecb9943a5f675bf5a168ade20f421b66901d307430d0789018972c889491be7c9a06dc2a38ccb3e5eef2e8f1ad8663ae4e94
+DIST lablgtk-2.18.2.tar.gz 787674 SHA256 deedce9f934821196f9a4d0fc85cad12f59ec82298b908d12cf76cb015d13939 SHA512 799ee287a0088c1b532708191c2b5939287fdc9cfdca6483a60b51184be7fcf4f075cb502295aef2ce41d244b65aedaa9e18ccdb21857a36166b61aae7866406 WHIRLPOOL 0da1762455a46712b3b9c88634da2ee1bfa4c1a42a24620af4043c1c48afec13ba67d61b0d8f6e756e2128a8a1163d307ec3edaa99c94218fb88a0f490b5d24c
+DIST lablgtk-2.18.3.tar.gz 788177 SHA256 975bebf2f9ca74dc3bf7431ebb640ff6a924bb80c8ee5f4467c475a7e4b0cbaf SHA512 b455761cef742579449a46f98bf807732cc6b5384cbccf6d4eca940e351ccb5cbd464e0d81cda2884277b45a8f223838de44cb49878e2f602183c963cdb0defe WHIRLPOOL 4c6bfcdf8a4fdc7e27014bd9c553942d03caf4e25f420ee6018eeb19d20cb6a5a8c6bb00eabf7fda80abe6b9c727b2c5d64641d8f9036c943276406836c87c03
diff --git a/dev-ml/lablgtk/lablgtk-2.18.0-r1.ebuild b/dev-ml/lablgtk/lablgtk-2.18.0-r1.ebuild
new file mode 100644
index 00000000000..b7dbbdbf72a
--- /dev/null
+++ b/dev-ml/lablgtk/lablgtk-2.18.0-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib findlib
+
+IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg"
+
+DESCRIPTION="Objective CAML interface for Gtk+2"
+HOMEPAGE="http://lablgtk.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1261/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
+
+RDEPEND=">=x11-libs/gtk+-2.10:2
+ >=dev-lang/ocaml-3.10:=[ocamlopt?]
+ svg? ( >=gnome-base/librsvg-2.2:2 )
+ glade? ( >=gnome-base/libglade-2.0.1 )
+ gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
+ opengl? ( >=dev-ml/lablgl-0.98:=
+ >=x11-libs/gtkglarea-1.9:2 )
+ spell? ( app-text/gtkspell:2 )
+ sourceview? ( x11-libs/gtksourceview:2.0 )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+SLOT="2/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_with svg rsvg) \
+ $(use_with glade) \
+ --without-gnomeui \
+ --without-panel \
+ $(use_with opengl gl) \
+ $(use_with spell gtkspell) \
+ --without-gtksourceview \
+ $(use_with sourceview gtksourceview2) \
+ $(use_with gnomecanvas)
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+install_examples() {
+ insinto /usr/share/doc/${P}/examples
+ doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm
+
+ # Install examples for optional components
+ use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
+ use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
+ use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
+ use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
+ use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml
+
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+src_install () {
+ findlib_src_preinst
+ export OCAMLPATH="${OCAMLFIND_DESTDIR}"
+ emake install DESTDIR="${D}"
+
+ rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf"
+
+ dodoc CHANGES README CHANGES.API
+ use examples && install_examples
+}
+
+pkg_postinst () {
+ if use examples; then
+ elog "To run the examples you can use the lablgtk2 toplevel."
+ elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml"
+ fi
+}
diff --git a/dev-ml/lablgtk/lablgtk-2.18.2.ebuild b/dev-ml/lablgtk/lablgtk-2.18.2.ebuild
new file mode 100644
index 00000000000..60263dc368b
--- /dev/null
+++ b/dev-ml/lablgtk/lablgtk-2.18.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib findlib
+
+IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg"
+
+DESCRIPTION="Objective CAML interface for Gtk+2"
+HOMEPAGE="http://lablgtk.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1456/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
+
+RDEPEND=">=x11-libs/gtk+-2.10:2
+ >=dev-lang/ocaml-3.10:=[ocamlopt?]
+ svg? ( >=gnome-base/librsvg-2.2:2 )
+ glade? ( >=gnome-base/libglade-2.0.1 )
+ gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
+ opengl? ( >=dev-ml/lablgl-0.98:=
+ >=x11-libs/gtkglarea-1.9:2 )
+ spell? ( app-text/gtkspell:2 )
+ sourceview? ( x11-libs/gtksourceview:2.0 )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+SLOT="2/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_with svg rsvg) \
+ $(use_with glade) \
+ --without-gnomeui \
+ --without-panel \
+ $(use_with opengl gl) \
+ $(use_with spell gtkspell) \
+ --without-gtksourceview \
+ $(use_with sourceview gtksourceview2) \
+ $(use_with gnomecanvas)
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+install_examples() {
+ insinto /usr/share/doc/${P}/examples
+ doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm
+
+ # Install examples for optional components
+ use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
+ use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
+ use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
+ use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
+ use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml
+
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+src_install () {
+ findlib_src_preinst
+ export OCAMLPATH="${OCAMLFIND_DESTDIR}"
+ emake install DESTDIR="${D}"
+
+ rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf"
+
+ dodoc CHANGES README CHANGES.API
+ use examples && install_examples
+}
+
+pkg_postinst () {
+ if use examples; then
+ elog "To run the examples you can use the lablgtk2 toplevel."
+ elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml"
+ fi
+}
diff --git a/dev-ml/lablgtk/lablgtk-2.18.3.ebuild b/dev-ml/lablgtk/lablgtk-2.18.3.ebuild
new file mode 100644
index 00000000000..884c3470601
--- /dev/null
+++ b/dev-ml/lablgtk/lablgtk-2.18.3.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib findlib
+
+IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg"
+
+DESCRIPTION="Objective CAML interface for Gtk+2"
+HOMEPAGE="http://lablgtk.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1479/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
+
+RDEPEND=">=x11-libs/gtk+-2.10:2
+ >=dev-lang/ocaml-3.10:=[ocamlopt?]
+ svg? ( >=gnome-base/librsvg-2.2:2 )
+ glade? ( >=gnome-base/libglade-2.0.1 )
+ gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
+ opengl? ( >=dev-ml/lablgl-0.98:=
+ >=x11-libs/gtkglarea-1.9:2 )
+ spell? ( app-text/gtkspell:2 )
+ sourceview? ( x11-libs/gtksourceview:2.0 )
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+SLOT="2/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_with svg rsvg) \
+ $(use_with glade) \
+ --without-gnomeui \
+ --without-panel \
+ $(use_with opengl gl) \
+ $(use_with spell gtkspell) \
+ --without-gtksourceview \
+ $(use_with sourceview gtksourceview2) \
+ $(use_with gnomecanvas)
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+install_examples() {
+ insinto /usr/share/doc/${P}/examples
+ doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm
+
+ # Install examples for optional components
+ use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
+ use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
+ use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
+ use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
+ use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml
+
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+src_install () {
+ findlib_src_preinst
+ export OCAMLPATH="${OCAMLFIND_DESTDIR}"
+ emake install DESTDIR="${D}"
+
+ rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf"
+
+ dodoc CHANGES README CHANGES.API
+ use examples && install_examples
+}
+
+pkg_postinst () {
+ if use examples; then
+ elog "To run the examples you can use the lablgtk2 toplevel."
+ elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml"
+ fi
+}
diff --git a/dev-ml/lablgtk/metadata.xml b/dev-ml/lablgtk/metadata.xml
new file mode 100644
index 00000000000..36defae05fa
--- /dev/null
+++ b/dev-ml/lablgtk/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+<use>
+ <flag name='glade'>Enable libglade bindings compilation.</flag>
+ <flag name='gnomecanvas'>Enable libgnomecanvas bindings compilation.</flag>
+ <flag name='sourceview'>Enable GtkSourceView support</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest
new file mode 100644
index 00000000000..1dc5c02196e
--- /dev/null
+++ b/dev-ml/labltk/Manifest
@@ -0,0 +1 @@
+DIST labltk-8.06.0.tar.gz 368790 SHA256 71997dbd6c36e4eb064484dc73037d4bd10e465e180fead07a4b193d21af9764 SHA512 c005f8c177bca982a39bfcfd9d77640bedf7e4cc3a6690fc01fa2a8ebedcfb30ad3677501400ae2e0e276eb13fdd565319e23bb02dce84d78257ae7fbe545f47 WHIRLPOOL e231527f1403fbe9aa1102d0a6bc444df0ce5806e64ce8d1323100580767e823922db0713c0d3423f79ff2e82e162673486160953aaea4ff188b5ae666ea4445
diff --git a/dev-ml/labltk/files/findlib.patch b/dev-ml/labltk/files/findlib.patch
new file mode 100644
index 00000000000..9b9a63bdede
--- /dev/null
+++ b/dev-ml/labltk/files/findlib.patch
@@ -0,0 +1,20 @@
+Index: labltk-8.06.0/lib/Makefile
+===================================================================
+--- labltk-8.06.0.orig/lib/Makefile
++++ labltk-8.06.0/lib/Makefile
+@@ -84,7 +84,7 @@ install-script: $(LIBNAME)
+ install-batch:
+ cp labltk.bat $(INSTALLBINDIR)
+
+-ifeq ($USE_FINDLIB,yes)
++ifeq ($(USE_FINDLIB),yes)
+ install:
+ ocamlfind install labltk -add $(LIBNAME).cma $(LIBNAME)top$(EXE)
+ chmod 755 $(INSTALLDIR)/$(LIBNAME)top$(EXE)
+@@ -114,4 +114,4 @@ installopt:
+ cd $(INSTALLDIR); $(RANLIB) $(LIBNAME).$(A)
+ chmod 644 $(INSTALLDIR)/$(LIBNAME).cmxa
+ chmod 644 $(INSTALLDIR)/$(LIBNAME).$(A)
+-endif
+\ No newline at end of file
++endif
diff --git a/dev-ml/labltk/labltk-8.06.0.ebuild b/dev-ml/labltk/labltk-8.06.0.ebuild
new file mode 100644
index 00000000000..a066cdab69a
--- /dev/null
+++ b/dev-ml/labltk/labltk-8.06.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework"
+HOMEPAGE="https://forge.ocamlcore.org/projects/labltk/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1455/${P}.tar.gz"
+
+LICENSE="QPL-1.0 LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
+IUSE="+ocamlopt X"
+
+RDEPEND=">=dev-lang/tk-8.0.3
+ >=dev-lang/ocaml-4.02:=[ocamlopt?,X?]"
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.5.5-r1"
+
+src_prepare() {
+ epatch "${FILESDIR}/findlib.patch"
+}
+
+src_configure() {
+ ./configure --use-findlib --verbose $(use X || echo "--tk-no-x11") || die "configure failed!"
+}
+
+src_compile() {
+ emake
+ use ocamlopt && emake opt
+}
+
+src_install() {
+ findlib_src_preinst
+ dodir /usr/bin
+ emake \
+ INSTALLDIR="${D}$(ocamlc -where)/labltk" \
+ INSTALLBINDIR="${ED}/usr/bin/" \
+ install
+ dodoc Changes README.mlTk
+}
diff --git a/dev-ml/labltk/metadata.xml b/dev-ml/labltk/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/labltk/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/lambda-term/Manifest b/dev-ml/lambda-term/Manifest
new file mode 100644
index 00000000000..f51e59a7852
--- /dev/null
+++ b/dev-ml/lambda-term/Manifest
@@ -0,0 +1,2 @@
+DIST lambda-term-1.8.tar.gz 156911 SHA256 ec5d2e29263444e0922dd559860d13f977cf4c391c5cf959826b158c480fc143 SHA512 6130cfc66c450788c6acdbb35ecabc12b2934999afd0fa33b93e047f8023a4ece35d6c95ff3f2b10e2bd531f610362f05e0bb04fb3bacea93cf51f03dd28a9fd WHIRLPOOL b18aacc698f3e9bcd095d56bbbf41521ac02ae0ded37b39c487015c6cd9f33f844bd352c37be677c13705076abc57428ce32d2463cadbf2e60ca325418deae62
+DIST lambda-term-1.9.tar.gz 157782 SHA256 d21bd941cfaa98e5c08343fcb4c50fdb6e34600d8bff217c3356a4652e53f506 SHA512 f36aeac2693796c8e6058e13655b459523e2ce4e4fbd6662a2b135b65850421021b5ae3d7f370d64037e66fe8c8efe7d3ad953c280f200dbcb9ff75b6a6ca72a WHIRLPOOL 1850c99953c465ed2a3fa9d6d0bf9cb3c45aa16aa5a54cb00037cec3ef9395cde0e7aa367eb8e2987ad37f749c8e11033bb8ebbada02ccf903b52886998f0a3b
diff --git a/dev-ml/lambda-term/lambda-term-1.8.ebuild b/dev-ml/lambda-term/lambda-term-1.8.ebuild
new file mode 100644
index 00000000000..854da8d0c1d
--- /dev/null
+++ b/dev-ml/lambda-term/lambda-term-1.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A cross-platform library for manipulating the terminal"
+HOMEPAGE="https://github.com/diml/lambda-term"
+SRC_URI="https://github.com/diml/lambda-term/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/lwt-2.4.0:=[react]
+ >=dev-ml/zed-1.2:=
+ >=dev-ml/camomile-0.8:=
+ dev-ml/react:=
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( "CHANGES.md" "README.md" )
diff --git a/dev-ml/lambda-term/lambda-term-1.9.ebuild b/dev-ml/lambda-term/lambda-term-1.9.ebuild
new file mode 100644
index 00000000000..854da8d0c1d
--- /dev/null
+++ b/dev-ml/lambda-term/lambda-term-1.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A cross-platform library for manipulating the terminal"
+HOMEPAGE="https://github.com/diml/lambda-term"
+SRC_URI="https://github.com/diml/lambda-term/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/lwt-2.4.0:=[react]
+ >=dev-ml/zed-1.2:=
+ >=dev-ml/camomile-0.8:=
+ dev-ml/react:=
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( "CHANGES.md" "README.md" )
diff --git a/dev-ml/lambda-term/metadata.xml b/dev-ml/lambda-term/metadata.xml
new file mode 100644
index 00000000000..f2d915542ca
--- /dev/null
+++ b/dev-ml/lambda-term/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">diml/lambda-term</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/lwt/Manifest b/dev-ml/lwt/Manifest
new file mode 100644
index 00000000000..bfec53c0e4b
--- /dev/null
+++ b/dev-ml/lwt/Manifest
@@ -0,0 +1,3 @@
+DIST lwt-2.4.3.tar.gz 504000 SHA256 efee23937750290d6dee96eed6c0bbdb19817d5be6eefcba61ac5031fac10107 SHA512 725d50a096a43294d49ae2322fdc985c301ce6a8ff5c956925225d7977e787ccb446e36a9db5fdbb50f284b9f1a3a12a52d1aa44d4400feecb59f6f938ed00ad WHIRLPOOL c5999e950008902600b43bf39f174ed0bc2cb3f6dce983d885416969a3bb98170ec8b74c8f5829459c3c96d160e5b4c8491b7057e7efeac035a46c9846ff7764
+DIST lwt-2.4.6.tar.gz 306510 SHA256 9f90c6b326e603865bae9a882301e35ee745d22e6b886b488a26dfa94ca69ff1 SHA512 8ba7cf74a228016f662523a14c083367e1d5eae43dbc208b8620fa867b44b99ea35644a9788fba3e3031e94fd0a852bdf5e85d250494fdbf6ddbe7959cb858e4 WHIRLPOOL d5fea0daf60e9adb213652d2cb4857bae81342c9b1e1e6492137e9683ffe3ac360e63623cfa8771b9406d2a2a8ec110681f8991399ee31028e9efd2b6f0a43eb
+DIST lwt-2.5.0.tar.gz 1278567 SHA256 37ae28a56bc5e112947ff84562b37fbd2263d54ecbb0b1e2076b2b775f546130 SHA512 a951f55ebd8440f15c1d60ab41cefe9afea12332f64e477f50537de231535814d704baea0ed167bee2f7e2c7ec8c128811d3d446cad2d6b8d46ab612a160ed40 WHIRLPOOL 661db9f59a8205c649309c95292aca80a7e9195f2ac8c4cb0dfca56689e7bae881eb1b4869f02d27a09d33b0aca5bf83f937a8e4389adefb3b9fab071779392d
diff --git a/dev-ml/lwt/files/lwt-2.4.3-ocaml-4.01.patch b/dev-ml/lwt/files/lwt-2.4.3-ocaml-4.01.patch
new file mode 100644
index 00000000000..eb2566705da
--- /dev/null
+++ b/dev-ml/lwt/files/lwt-2.4.3-ocaml-4.01.patch
@@ -0,0 +1,36 @@
+commit 0df80f6d05625f80e1e3e05a46e355728881b38a
+Author: Anil Madhavapeddy <anil@recoil.org>
+Date: Sat Aug 3 20:20:55 2013 +0100
+
+ OCaml 4.01.0dev has a Unix.O_CLOEXEC flag, so add this to Lwt_unix too.
+
+ This was added quite recently in ocaml/ocaml@2207c45056e69d1ea5
+
+diff --git a/src/unix/lwt_unix.ml b/src/unix/lwt_unix.ml
+index 5115ffe..4222f7b 100644
+--- a/src/unix/lwt_unix.ml
++++ b/src/unix/lwt_unix.ml
+@@ -596,6 +596,9 @@ type open_flag =
+ #if ocaml_version >= (3, 13)
+ | O_SHARE_DELETE
+ #endif
++#if ocaml_version >= (4, 01)
++ | O_CLOEXEC
++#endif
+
+ #if windows
+
+diff --git a/src/unix/lwt_unix.mli b/src/unix/lwt_unix.mli
+index cc9df59..f85df52 100644
+--- a/src/unix/lwt_unix.mli
++++ b/src/unix/lwt_unix.mli
+@@ -315,6 +315,9 @@ type open_flag =
+ #if ocaml_version >= (3, 13)
+ | O_SHARE_DELETE
+ #endif
++#if ocaml_version >= (4, 01)
++ | O_CLOEXEC
++#endif
+
+ val openfile : string -> open_flag list -> file_perm -> file_descr Lwt.t
+ (** Wrapper for [Unix.openfile]. *)
diff --git a/dev-ml/lwt/lwt-2.4.3.ebuild b/dev-ml/lwt/lwt-2.4.3.ebuild
new file mode 100644
index 00000000000..f082161e83e
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.4.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Cooperative light-weight thread library for OCaml"
+SRC_URI="http://ocsigen.org/download/${P}.tar.gz"
+HOMEPAGE="http://ocsigen.org/lwt"
+
+IUSE="gtk +react +ssl"
+
+DEPEND="react? ( dev-ml/react:= )
+ dev-libs/libev
+ ssl? ( >=dev-ml/ocaml-ssl-0.4.0:= )
+ gtk? ( dev-ml/lablgtk:= dev-libs/glib:2 )"
+
+RDEPEND="${DEPEND}
+ !<www-servers/ocsigen-1.1"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2.1-with-linking-exception"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+
+DOCS=( "CHANGES" "CHANGES.darcs" "README" )
+PATCHES=( "${FILESDIR}/${P}-ocaml-4.01.patch" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable gtk glib)
+ $(use_enable react)
+ $(use_enable ssl)" \
+ oasis_src_configure
+}
diff --git a/dev-ml/lwt/lwt-2.4.6.ebuild b/dev-ml/lwt/lwt-2.4.6.ebuild
new file mode 100644
index 00000000000..e9327413e8a
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.4.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+# fails to build
+#OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Cooperative light-weight thread library for OCaml"
+SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://ocsigen.org/lwt"
+
+IUSE="gtk +react +ssl text toplevel"
+
+DEPEND="react? ( >=dev-ml/react-1.2:= )
+ dev-libs/libev
+ ssl? ( >=dev-ml/ocaml-ssl-0.4.0:= )
+ gtk? ( dev-ml/lablgtk:= dev-libs/glib:2 )
+ text? ( >=dev-ml/ocaml-text-0.4:= )
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+
+RDEPEND="${DEPEND}
+ !<www-servers/ocsigen-1.1"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2.1-with-linking-exception"
+KEYWORDS="~amd64 ~x86-fbsd"
+
+DOCS=( "CHANGES" "README" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable gtk glib)
+ $(use_enable react)
+ $(use_enable ssl)
+ $(use_enable toplevel)
+ $(use_enable text)
+ --disable-ppx" \
+ oasis_src_configure
+}
diff --git a/dev-ml/lwt/lwt-2.5.0.ebuild b/dev-ml/lwt/lwt-2.5.0.ebuild
new file mode 100644
index 00000000000..ac81e538d51
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+# fails to build
+#OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Cooperative light-weight thread library for OCaml"
+SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://ocsigen.org/lwt"
+
+IUSE="gtk +react +ssl"
+
+DEPEND="react? ( >=dev-ml/react-1.2:= )
+ dev-libs/libev
+ ssl? ( >=dev-ml/ocaml-ssl-0.4.0:= )
+ gtk? ( dev-ml/lablgtk:= dev-libs/glib:2 )
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+
+RDEPEND="${DEPEND}
+ !<www-servers/ocsigen-1.1"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2.1-with-linking-exception"
+KEYWORDS="~amd64 ~x86-fbsd"
+
+DOCS=( "CHANGES" "README.md" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable gtk glib)
+ $(use_enable react)
+ $(use_enable ssl)
+ --enable-camlp4
+ --disable-ppx" \
+ oasis_src_configure
+}
diff --git a/dev-ml/lwt/metadata.xml b/dev-ml/lwt/metadata.xml
new file mode 100644
index 00000000000..907abc8009a
--- /dev/null
+++ b/dev-ml/lwt/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+ </maintainer>
+ <maintainer>
+ <email>pclairam@gmail.com</email>
+ <name>Pierre Clairambault</name>
+ </maintainer>
+ <use>
+ <flag name="react">Enables support for <pkg>dev-ml/react</pkg>: Functional reactive programming (signals, events, etc.).</flag>
+ <flag name="toplevel">Enables enhanced toplevel.</flag>
+ <flag name="text">Enables text mode utilities.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ocsigen/lwt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/macaque/Manifest b/dev-ml/macaque/Manifest
new file mode 100644
index 00000000000..9117b8493cf
--- /dev/null
+++ b/dev-ml/macaque/Manifest
@@ -0,0 +1 @@
+DIST macaque-0.7.2.tar.gz 106245 SHA256 8b20335419cb640f9c86eced851a7349351b0825a955043465a41de1d72ec715 SHA512 9823052350083d8042db11eb103cbc71ba85580884a4dcf82c5fb011e59875595ad49b5a6c800f1f6cf5ae86aa5659bab81b623db58bcf1290e18900112d3c5c WHIRLPOOL 11fa5be1189edbadc37348e5b285e998adb4aec58481e0c0eb8bf5ff35e645c155c60cd43239671b1e1d9f66d132fda1755f9f6eec7ed3dcfe606796fdab0c05
diff --git a/dev-ml/macaque/macaque-0.7.2.ebuild b/dev-ml/macaque/macaque-0.7.2.ebuild
new file mode 100644
index 00000000000..9f245daae49
--- /dev/null
+++ b/dev-ml/macaque/macaque-0.7.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="DSL for SQL Queries in Caml"
+HOMEPAGE="http://ocsigen.org/macaque/"
+SRC_URI="https://github.com/ocsigen/macaque/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/pgocaml-2.1:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+DOCS=( Changelog README.md )
diff --git a/dev-ml/macaque/metadata.xml b/dev-ml/macaque/metadata.xml
new file mode 100644
index 00000000000..e85e037a03c
--- /dev/null
+++ b/dev-ml/macaque/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocsigen/macaque</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/menhir/Manifest b/dev-ml/menhir/Manifest
new file mode 100644
index 00000000000..e6fd0a36fd4
--- /dev/null
+++ b/dev-ml/menhir/Manifest
@@ -0,0 +1,3 @@
+DIST menhir-20130116.tar.gz 406712 SHA256 5769f628dddcb45d123fc1cdb16ff2313f5d76cbb69363419c9dcf78f526f5a9 SHA512 414f22269b74b401617389365342ce8c4ff0a92a88ef859a0deec370bae3dc830df4c019cdb24d9044695b94f33fbf089ccea32269fdb4cacb093922ecb9ed88 WHIRLPOOL 4be4444f949a957b89a2add2a899f2c07661d60c27af4ad647345c778cafde0ea5cb5c2f9c8a79d5ae1b61607be9f282134000e10b3dccfe8dbc318cc1b3a643
+DIST menhir-20140422.tar.gz 549129 SHA256 0da8c84fff1713f9bd666940be19e2be9d7ecdf2688a7d7b822428d3a27021ce SHA512 1c40664918671984a74d8341ad8b074d0871acebd9f6b3e06584d8092b3f1c67fcdb0dc13e707abc569940570d5f3282520e34990b2ed06732c047ecf3edc01f WHIRLPOOL 7848a60d842c4f10a5c47a9905cfa65bbe8ba26d4b88751025f1098465c351cde27c48cb8681dcaf5a1bb185f277855a85aad35b419772a1d47bd3e2de05ff33
+DIST menhir-20141215.tar.gz 556231 SHA256 2592967c123a31e1b6566ab9f6034e7a0a709d57d547097f05693baf96a46fa4 SHA512 1fff6b987016be37eaca0bb3fea7ec0c498c1448d076e991e1555718cf760318a8d710622af930175f234f49f8dd767ce62cc880c33458958ceeb1bda4817243 WHIRLPOOL 28e6018ce127b28e362aaf1fe030240253cb2ffb0a52d9b34e81c71882ae517376aa3df6c5d19c6db13819260f667f5708522486a74bc498bad3dac11378b56c
diff --git a/dev-ml/menhir/menhir-20130116.ebuild b/dev-ml/menhir/menhir-20130116.ebuild
new file mode 100644
index 00000000000..f8ff13e8f93
--- /dev/null
+++ b/dev-ml/menhir/menhir-20130116.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="LR(1) parser generator for the OCaml language"
+HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
+SRC_URI="http://gallium.inria.fr/~fpottier/menhir/${P}.tar.gz"
+
+LICENSE="QPL-1.0 LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.09:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ if ! use ocamlopt ; then
+ export TARGET=byte
+ fi
+}
+
+src_compile() {
+ emake PREFIX="${EPREFIX}"/usr -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake PREFIX="${ED}"/usr docdir="${ED}"/usr/share/doc/"${PF}" $(use examples || echo "DOCS=manual.pdf") install
+ use examples && docompress -x /usr/share/doc/${PF}/demos
+ dodoc AUTHORS CHANGES
+}
diff --git a/dev-ml/menhir/menhir-20140422.ebuild b/dev-ml/menhir/menhir-20140422.ebuild
new file mode 100644
index 00000000000..0a43de75ffe
--- /dev/null
+++ b/dev-ml/menhir/menhir-20140422.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="LR(1) parser generator for the OCaml language"
+HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
+SRC_URI="http://gallium.inria.fr/~fpottier/menhir/${P}.tar.gz"
+
+LICENSE="QPL-1.0 LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.09:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ if ! use ocamlopt ; then
+ export TARGET=byte
+ fi
+}
+
+src_compile() {
+ emake PREFIX="${EPREFIX}"/usr -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake PREFIX="${ED}"/usr docdir="${ED}"/usr/share/doc/"${PF}" $(use examples || echo "DOCS=manual.pdf") install
+ use examples && docompress -x /usr/share/doc/${PF}/demos
+ dodoc AUTHORS CHANGES
+}
diff --git a/dev-ml/menhir/menhir-20141215.ebuild b/dev-ml/menhir/menhir-20141215.ebuild
new file mode 100644
index 00000000000..a8d4107fe61
--- /dev/null
+++ b/dev-ml/menhir/menhir-20141215.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="LR(1) parser generator for the OCaml language"
+HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
+SRC_URI="http://gallium.inria.fr/~fpottier/menhir/${P}.tar.gz"
+
+LICENSE="QPL-1.0 LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ if ! use ocamlopt ; then
+ export TARGET=byte
+ fi
+}
+
+src_compile() {
+ emake PREFIX="${EPREFIX}"/usr -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake PREFIX="${ED}"/usr docdir="${ED}"/usr/share/doc/"${PF}" $(use examples || echo "DOCS=manual.pdf") install
+ use examples && docompress -x /usr/share/doc/${PF}/demos
+ dodoc AUTHORS CHANGES
+}
diff --git a/dev-ml/menhir/metadata.xml b/dev-ml/menhir/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/menhir/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/metadata.xml b/dev-ml/metadata.xml
new file mode 100644
index 00000000000..54ef546c0f2
--- /dev/null
+++ b/dev-ml/metadata.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The dev-ml category contains libraries and utilities relevant to the
+ ML programming language.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie dev-ml enthält Bibliotheken und Werkzeuge für die
+ Programmiersprache ML.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría dev-ml contiene librerías y utilidades referentes al
+ lenguaje de programación ML.
+ </longdescription>
+ <longdescription lang="ja">
+ dev-ml カテゴリーにはMLプログラミング言語に関連したライブラリーと
+ ユーティリティが含まれます。
+ </longdescription>
+ <longdescription lang="nl">
+ De dev-ml categorie bevat bibliotheken en hulpmiddelen voor het gebruik
+ van de programmeertaal ML.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm dev-ml chứa các thư viện và tiện ích liên quan
+ đến ngôn ngữ lập trình ML.
+ </longdescription>
+ <longdescription lang="it">
+ La categoría dev-ml contiene librerie ed utilità per il linguaggio di programmazione ML.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria dev-ml contém bibliotecas e utilitários referentes
+ à linguagem de programação ML.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria dev-ml zawiera biblioteki i narzędzia związane z
+ językiem programowania ML.
+ </longdescription>
+</catmetadata>
+
diff --git a/dev-ml/oasis/Manifest b/dev-ml/oasis/Manifest
new file mode 100644
index 00000000000..d988f198ca7
--- /dev/null
+++ b/dev-ml/oasis/Manifest
@@ -0,0 +1,4 @@
+DIST oasis-0.3.0.tar.gz 298052 SHA256 2efa90a2dc31d0b731dc574f99ca3e1fd07079da1898b077d84db4a3fd212701 SHA512 b8b9bb694c0d29364b39ff4fa10647e2aad0371d5345cae47ac99f1853e331153e6db7d9088f898b7e21793b97af1b4aeecb0e78d962a54d5b6d2c99f4c3cfe7 WHIRLPOOL d3f91be86c858e634120f297359f45d81abe593c207fb182eb3b7af2ed3b676cdadfcf1bbb417f87bfd610934fdf8fd4b12ae0bceb4232e500553ecf31bd3b4d
+DIST oasis-0.4.1.tar.gz 309466 SHA256 12ca49699dceba687cd150a5b5e66246450d2e06e47578a701c140195ce256d3 SHA512 34424f174794cc00de485660134e6358fda222a2d5bb29959be31dd8bdeacac9c37d2c3bdffd9c4ee3d53b05695e1e7580858198fcd088104e60f2c813401e23 WHIRLPOOL a60ddad0f058fab284c35c6887a597d48d8ab23574d700da6d8f6463eb73d9ec451dd60540616b4088d667d8b79fa185b575d2071e85980ae32e634b6453f234
+DIST oasis-0.4.4.tar.gz 333041 SHA256 90a99ba342c2fc63afcc0b12fbef022153de27478072ab3b302cf7adb4bc526f SHA512 1abb6e01f93029c5d9af3422a0e93b215182577225ad949442a4b69d0904620c20547941bad96fb27ad0034a0a4b472b586aac2614e89f5faae3084b751ed3c8 WHIRLPOOL 39f250a4fae03c240cc6f73d9128b5f1fc5383ad1a702bc977b196cf3a4aa6eda741f6e89d678c0d071299ae559cd52c69b4de0aa02014a39d94456e28eda108
+DIST oasis-0.4.5.tar.gz 336502 SHA256 6623a603415c4718add6a6ebad80f6688164a2e9b28576c082548b17bf8b2e44 SHA512 97d5401762ffda6bf4d7a239d9c77f8647d58da1728925e6de6e8fdfded6f8e7bb69652a838b86ab7203cd68436b06f76921c76840b97db56a94bb87d74450d7 WHIRLPOOL 46f5c3f900baa3d3b6ada8c0cf90cc90cfddc70523510d5ba5541e5075c96360ebacdd23a1b0f8b28a90bda7fb1700b9a2e9d7989af650e9aa5d50f358795d92
diff --git a/dev-ml/oasis/metadata.xml b/dev-ml/oasis/metadata.xml
new file mode 100644
index 00000000000..a273949ac55
--- /dev/null
+++ b/dev-ml/oasis/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/oasis/oasis-0.3.0.ebuild b/dev-ml/oasis/oasis-0.3.0.ebuild
new file mode 100644
index 00000000000..931047c9a16
--- /dev/null
+++ b/dev-ml/oasis/oasis-0.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="OASIS is a tool to integrate a configure, build and install system in OCaml project"
+HOMEPAGE="http://oasis.forge.ocamlcore.org/index.php"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/918/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-ml/ocaml-data-notation-0.0.3:="
+DEPEND="${RDEPEND}
+ dev-ml/ocamlify
+ dev-ml/ocamlmod
+ !<sci-chemistry/oasis-4.0-r3
+ test? (
+ >=dev-ml/ocaml-fileutils-0.4.2
+ >=dev-ml/ounit-1.1.0
+ >=dev-ml/ocaml-expect-0.0.2
+ dev-ml/extlib
+ )"
+
+STRIP_MASK="*/bin/*"
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README.txt" "TODO.txt" "AUTHORS.txt" "CHANGES.txt" )
diff --git a/dev-ml/oasis/oasis-0.4.1.ebuild b/dev-ml/oasis/oasis-0.4.1.ebuild
new file mode 100644
index 00000000000..a0add77136d
--- /dev/null
+++ b/dev-ml/oasis/oasis-0.4.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="OASIS is a tool to integrate a configure, build and install system in OCaml project"
+HOMEPAGE="http://oasis.forge.ocamlcore.org/index.php"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1355/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-ml/ocaml-data-notation-0.0.11:="
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.1
+ dev-ml/ocamlify
+ dev-ml/ocamlmod
+ !<sci-chemistry/oasis-4.0-r3
+ test? (
+ >=dev-ml/ocaml-fileutils-0.4.2
+ >=dev-ml/ounit-2.0.0
+ >=dev-ml/ocaml-expect-0.0.4
+ dev-ml/extlib
+ )"
+
+STRIP_MASK="*/bin/*"
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README.txt" "TODO.txt" "AUTHORS.txt" "CHANGES.txt" )
diff --git a/dev-ml/oasis/oasis-0.4.4.ebuild b/dev-ml/oasis/oasis-0.4.4.ebuild
new file mode 100644
index 00000000000..f595bffa28b
--- /dev/null
+++ b/dev-ml/oasis/oasis-0.4.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="OASIS is a tool to integrate a configure, build and install system in OCaml project"
+HOMEPAGE="http://oasis.forge.ocamlcore.org/index.php"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1391/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-ml/ocaml-data-notation-0.0.11:="
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.1
+ dev-ml/ocamlify
+ dev-ml/ocamlmod
+ !<sci-chemistry/oasis-4.0-r3
+ test? (
+ >=dev-ml/ocaml-fileutils-0.4.2
+ >=dev-ml/ounit-2.0.0
+ >=dev-ml/ocaml-expect-0.0.4
+ dev-ml/pcre-ocaml
+ dev-ml/extlib
+ )"
+
+STRIP_MASK="*/bin/*"
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README.txt" "TODO.txt" "AUTHORS.txt" "CHANGES.txt" )
diff --git a/dev-ml/oasis/oasis-0.4.5.ebuild b/dev-ml/oasis/oasis-0.4.5.ebuild
new file mode 100644
index 00000000000..1bba685ec01
--- /dev/null
+++ b/dev-ml/oasis/oasis-0.4.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${P/_/\~}
+DESCRIPTION="OASIS is a tool to integrate a configure, build and install system in OCaml project"
+HOMEPAGE="http://oasis.forge.ocamlcore.org/index.php"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1475/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-ml/ocaml-data-notation-0.0.11:="
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.1
+ dev-ml/ocamlify
+ dev-ml/ocamlmod
+ !<sci-chemistry/oasis-4.0-r3
+ test? (
+ >=dev-ml/ocaml-fileutils-0.4.2
+ >=dev-ml/ounit-2.0.0
+ >=dev-ml/ocaml-expect-0.0.4
+ dev-ml/pcre-ocaml
+ dev-ml/extlib
+ )"
+
+STRIP_MASK="*/bin/*"
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README.txt" "TODO.txt" "AUTHORS.txt" "CHANGES.txt" )
diff --git a/dev-ml/ocaml-augeas/Manifest b/dev-ml/ocaml-augeas/Manifest
new file mode 100644
index 00000000000..f025ee46efe
--- /dev/null
+++ b/dev-ml/ocaml-augeas/Manifest
@@ -0,0 +1 @@
+DIST ocaml-augeas-0.5.tar.gz 59908 SHA256 be26bfea78d992a648c79c1591e8938bd11aff3bb244c0af6b45bae594818f93 SHA512 dfbad89790c6b5ada0e1239d002cb61a56a15350b2687d0987e0c61108d905e0c03756c08db7a3121eac3966fbeed86500e6f3c3c416cea2b974d9f50b8adabf WHIRLPOOL fb07248eabf7b2569ff18c953fe27022299a8072ac82989732b374b19b0adea2a53d5317f9383de48e6af300fa4e42ea27bca745aab8eed98fd78478dcc07cc2
diff --git a/dev-ml/ocaml-augeas/metadata.xml b/dev-ml/ocaml-augeas/metadata.xml
new file mode 100644
index 00000000000..41c55d88a6f
--- /dev/null
+++ b/dev-ml/ocaml-augeas/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>prometheanfire@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+ocaml-augeas is a set of Ocaml bindings around augeas.
+</longdescription>
+</pkgmetadata>
+
diff --git a/dev-ml/ocaml-augeas/ocaml-augeas-0.5.ebuild b/dev-ml/ocaml-augeas/ocaml-augeas-0.5.ebuild
new file mode 100644
index 00000000000..1538fef4a08
--- /dev/null
+++ b/dev-ml/ocaml-augeas/ocaml-augeas-0.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib
+
+DESCRIPTION="Ocaml bindings for Augeas"
+HOMEPAGE="http://augeas.net/"
+#SRC_URI="http://augeas.net/download/ocaml/${P}.tar.gz"
+SRC_URI="http://people.redhat.com/~rjones/augeas/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-admin/augeas
+ dev-ml/ocaml-autoconf
+ dev-ml/findlib
+ dev-lang/ocaml"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ findlib_src_install
+}
diff --git a/dev-ml/ocaml-autoconf/Manifest b/dev-ml/ocaml-autoconf/Manifest
new file mode 100644
index 00000000000..2efeb5eef29
--- /dev/null
+++ b/dev-ml/ocaml-autoconf/Manifest
@@ -0,0 +1 @@
+DIST ocaml-autoconf-1.1.tar.gz 10987 SHA256 dca81a55d755912b229de33fd4fed93ead9319e9bb9c545bc745eee98a7884ae SHA512 ee99766df98b003a3caf33d1109fb0e0c068cecd16a4ea77f39adab910df3198981de45302bdedf17d9ae6b4801a1c45ce5a5f47860d789ba06027910aeea3a5 WHIRLPOOL 7850e0160b630f85ee45bc15f3aa2f8d6d09ceced4487c6d832f80e85f823a5f653361f129344682e0d76ddb517575534a147be7cb99fa57f0c7fc34e032bc78
diff --git a/dev-ml/ocaml-autoconf/metadata.xml b/dev-ml/ocaml-autoconf/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocaml-autoconf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-autoconf/ocaml-autoconf-1.1.ebuild b/dev-ml/ocaml-autoconf/ocaml-autoconf-1.1.ebuild
new file mode 100644
index 00000000000..46c75fe00e6
--- /dev/null
+++ b/dev-ml/ocaml-autoconf/ocaml-autoconf-1.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="autoconf macros to support configuration of OCaml programs and libraries"
+HOMEPAGE="http://ocaml-autoconf.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/282/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" install || die
+ dodoc README
+}
diff --git a/dev-ml/ocaml-base64/Manifest b/dev-ml/ocaml-base64/Manifest
new file mode 100644
index 00000000000..458fe2b2c95
--- /dev/null
+++ b/dev-ml/ocaml-base64/Manifest
@@ -0,0 +1 @@
+DIST ocaml-base64-2.0.0.tar.gz 46084 SHA256 029b6a7af1493a077dc25c8e0f3534e5f5ff6e4260e3998a9ca3850fb7238c2c SHA512 e452dfd5f4544958cb0cb547848accbd254d9c3cb19c745031e4e8e73f81e79bb259e5fbe79a1bf94fb8a7b4b5de8eb2b81aa173850af2ab2f4a4e2389626227 WHIRLPOOL 52048556a00c7f067b36a97062821cbfa781e80b54b3d5422c4f978fd89ed37140d4063fa654622aa1a106f4649bf5ae99691aa58d3959cd853c99fb0f0f510d
diff --git a/dev-ml/ocaml-base64/metadata.xml b/dev-ml/ocaml-base64/metadata.xml
new file mode 100644
index 00000000000..ca9f4ce9dfc
--- /dev/null
+++ b/dev-ml/ocaml-base64/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-base64</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-base64/ocaml-base64-2.0.0.ebuild b/dev-ml/ocaml-base64/ocaml-base64-2.0.0.ebuild
new file mode 100644
index 00000000000..ed28acc008f
--- /dev/null
+++ b/dev-ml/ocaml-base64/ocaml-base64-2.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Library for radix-64 representation (de)coding"
+HOMEPAGE="https://github.com/mirage/ocaml-base64"
+SRC_URI="https://github.com/mirage/ocaml-base64/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-lang/ocaml-4.02[ocamlopt?]"
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.2"
+
+DOCS=( "README.md" "CHANGES.md" )
diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest
new file mode 100644
index 00000000000..88844f37a94
--- /dev/null
+++ b/dev-ml/ocaml-ctypes/Manifest
@@ -0,0 +1 @@
+DIST ocaml-ctypes-0.4.1.tar.gz 162601 SHA256 74564e049de5d3c0e76ea284c225cb658ac1a2b483345be1efb9be4b3c1702f5 SHA512 8155ffe16a58d5714ceb602afa5531c93526defca39a16047328ac06d2c7c7f52b768b18170391f467e1f6919c69275734faf85d27315e11b8bbefcb1bc8afa9 WHIRLPOOL d8d0ef24e0b6c40f50fddf38fed7238cf95573909d2809cc2ab5c1b9b3dab333210e1ce99cf805804576a79d08d819e2ecdee7b4a6a9e13efb13e7b9f88ad802
diff --git a/dev-ml/ocaml-ctypes/metadata.xml b/dev-ml/ocaml-ctypes/metadata.xml
new file mode 100644
index 00000000000..df149a6e759
--- /dev/null
+++ b/dev-ml/ocaml-ctypes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocamllabs/ocaml-ctypes</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.1.ebuild
new file mode 100644
index 00000000000..ee694821688
--- /dev/null
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Library for binding to C libraries using pure OCaml"
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes"
+SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-lang/ocaml-4:=[ocamlopt]
+ virtual/libffi
+"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+
+src_compile() {
+ emake -j1
+}
+
+src_test() {
+ emake -j1 test
+}
+
+src_install() {
+ findlib_src_install
+ dodoc CHANGES.md README.md
+}
diff --git a/dev-ml/ocaml-data-notation/Manifest b/dev-ml/ocaml-data-notation/Manifest
new file mode 100644
index 00000000000..507b8f4f7f9
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-data-notation-0.0.10.tar.gz 63163 SHA256 e61d1dc014770b552f005ece61a242ffc6a72471050335ecc3e6ee93710d9fbd SHA512 339ac99f835e2718cb98e7491e482d23028b80834fe43c1cb83aab5ec31d5d1732783dd785b216ab93f37ea2f39fbe247f48886c6e8b02193a21572aca1ba45e WHIRLPOOL 30cba39bc7fc53bcc0e6cb8ced6beffcb24d83dc7cef67df99b6d26d32b141c48601e1a4f1cdd02ed622396d0eb48e06d9a6b9712d7410f41e28d5e8ddfe64ba
+DIST ocaml-data-notation-0.0.11.tar.gz 63968 SHA256 928ef4c76338e810808c4faa92300bc30b120c10e9ed0609b5825d177dfb4825 SHA512 010c6105b0745c4dbf426186915078cd71d02d56e19ca01089a37f803c9d81c02a22e64184b9b4a42d44450834527a050ff20430f8c2d8a972610717f4c653d7 WHIRLPOOL 2bd6bc585db4e249b263712c0c35e7885488580c8799a09222db30bbb0fc3992b99a437fb335243169ea97ea395ee201a78027e20ee511715f69b8196175e4d6
diff --git a/dev-ml/ocaml-data-notation/metadata.xml b/dev-ml/ocaml-data-notation/metadata.xml
new file mode 100644
index 00000000000..769e0b77304
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>v.ivanov@ymail.com</email>
+ <name>Vladimir Ivanov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.10.ebuild b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.10.ebuild
new file mode 100644
index 00000000000..13183f5b507
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.10.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="This project uses type-conv to dump OCaml data structure using OCaml data notation"
+HOMEPAGE="http://forge.ocamlcore.org/projects/odn"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1029/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-ml/type-conv-108.07.01:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit[ocamlopt?] dev-ml/ocaml-fileutils[ocamlopt?] )"
+
+DOCS=( "README.txt" "AUTHORS.txt" "CHANGES.txt" )
+
+src_prepare() {
+ sed -i -e 's/type-conv/type_conv/' tests/test.ml || die
+}
diff --git a/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.11.ebuild b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.11.ebuild
new file mode 100644
index 00000000000..168330a2e76
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.11.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="This project uses type-conv to dump OCaml data structure using OCaml data notation"
+HOMEPAGE="http://forge.ocamlcore.org/projects/odn"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1310/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-ml/type-conv-108.07.01:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-2.0.0[ocamlopt?] dev-ml/ocaml-fileutils[ocamlopt?] )"
+
+DOCS=( "README.txt" "AUTHORS.txt" "CHANGES.txt" )
diff --git a/dev-ml/ocaml-doc/Manifest b/dev-ml/ocaml-doc/Manifest
new file mode 100644
index 00000000000..261e0738258
--- /dev/null
+++ b/dev-ml/ocaml-doc/Manifest
@@ -0,0 +1 @@
+DIST ocaml-3.12-refman.html.tar.gz 525840 SHA256 fc553d1d6be95364710462822de702b238a224e7e0d2f58c65360ea77b6bc623 SHA512 b4cc9fa80cb3d889f69e4b305b0078a59db2f26b39d361307462b93ad63cb1d81fe81c2159c3aef2defa3e38c9e655205891b5ef790722a81dc5faa34e962ba4 WHIRLPOOL e16f58ee4f37377ff25f130d5b6c83873effa76edc8de2d17dfb6d36ac80b4b4ded71bd67427008f08041c38ced22f8cea9e5f3cfbf3819ccf80fa92a31ce722
diff --git a/dev-ml/ocaml-doc/metadata.xml b/dev-ml/ocaml-doc/metadata.xml
new file mode 100644
index 00000000000..a273949ac55
--- /dev/null
+++ b/dev-ml/ocaml-doc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-doc/ocaml-doc-3.12.ebuild b/dev-ml/ocaml-doc/ocaml-doc-3.12.ebuild
new file mode 100644
index 00000000000..165784783b9
--- /dev/null
+++ b/dev-ml/ocaml-doc/ocaml-doc-3.12.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Ocaml reference manual (html)"
+HOMEPAGE="http://caml.inria.fr/pub/docs/manual-ocaml/"
+SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman.html.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="amd64 ~ppc x86"
+
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}/htmlman
+
+src_install() {
+ dohtml -r *
+}
+
+pkg_postinst() {
+ elog "This manual is available online at http://caml.inria.fr/pub/docs/manual-ocaml/"
+}
diff --git a/dev-ml/ocaml-expat/Manifest b/dev-ml/ocaml-expat/Manifest
new file mode 100644
index 00000000000..ae0ee778864
--- /dev/null
+++ b/dev-ml/ocaml-expat/Manifest
@@ -0,0 +1 @@
+DIST ocaml-expat-0.9.1.tar.gz 25223 SHA256 5fbe8c38f3ab45da5f850aae6b37183f4a8b79a63771a83d7e3d3109fc90c29a SHA512 0dca5bb3279e248acd76bc1b14511c58f2e60d8c40d806f3d270b6a47ab0e90efb636faed0dd8c34cf00a0b0834aa458421f4f9718d2a8c43dcf77854c11b3f4 WHIRLPOOL 483ca73680cba94cbf9c7573824c2085e85334b2ec33809fc895c4bce9f52d593776aad6d1761e92aeb3db2ba2a73319b8d1196647c53200c8817bcbd9e09010
diff --git a/dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch b/dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch
new file mode 100644
index 00000000000..cbed5cbf2da
--- /dev/null
+++ b/dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch
@@ -0,0 +1,35 @@
+Index: ocaml-expat-0.9.1/Makefile
+===================================================================
+--- ocaml-expat-0.9.1.orig/Makefile
++++ ocaml-expat-0.9.1/Makefile
+@@ -67,7 +67,7 @@ doc: FORCE
+ testall: test testopt
+ .PHONY: test
+ test: unittest
+- ./unittest
++ LD_LIBRARY_PATH=. ./unittest
+ .PHONY: testopt
+ testopt: unittest.opt
+ ./unittest.opt
+Index: ocaml-expat-0.9.1/unittest.ml
+===================================================================
+--- ocaml-expat-0.9.1.orig/unittest.ml
++++ ocaml-expat-0.9.1/unittest.ml
+@@ -497,7 +497,7 @@ let suite = "expat" >:::
+ something obviously wrong. *)
+ loop do_stuff 10
+ );
+-
++(*
+ "another garbage collection test" >::
+ (fun _ ->
+ let parse _ =
+@@ -530,7 +530,7 @@ let suite = "expat" >:::
+ close_in xml_spec
+ in
+ loop parse 10
+- );
++ );*)
+ ];;
+
+ let _ =
diff --git a/dev-ml/ocaml-expat/metadata.xml b/dev-ml/ocaml-expat/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/ocaml-expat/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild b/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild
new file mode 100644
index 00000000000..1ac2c924874
--- /dev/null
+++ b/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="doc +ocamlopt test"
+
+DESCRIPTION="OCaml bindings for expat"
+SRC_URI="http://www.xs4all.nl/~mmzeeman/ocaml/${P}.tar.gz"
+HOMEPAGE="http://www.xs4all.nl/~mmzeeman/ocaml/"
+
+RDEPEND="dev-libs/expat
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
+
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+
+SLOT="0/${PV}"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+src_prepare(){
+ epatch "${FILESDIR}/${P}-test.patch"
+}
+
+src_compile() {
+ emake depend
+ emake all
+ if use ocamlopt; then
+ emake allopt
+ fi
+}
+
+src_test() {
+ emake test
+ if use ocamlopt; then
+ emake testopt
+ fi
+}
+src_install() {
+ findlib_src_preinst
+ emake install
+
+ if use doc ; then
+ dohtml -r doc/html/*
+ fi
+ dodoc README
+}
diff --git a/dev-ml/ocaml-expect/Manifest b/dev-ml/ocaml-expect/Manifest
new file mode 100644
index 00000000000..9620e694794
--- /dev/null
+++ b/dev-ml/ocaml-expect/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-expect-0.0.3.tar.gz 58498 SHA256 97480912f205dc1af75cbb7e9aa55cb60cf68580f75f663a3c849043fd410bdb SHA512 44130750991a01dc5bb32603bc243bdb71c7486d38da124490c6f3b0535f4f6cadc0a2e2fa1880df8fa2d678ac4543c78305da621f16be9bb201102e58c8709a WHIRLPOOL da6e4e8faa78c014fc0dfb21b5416c39c522ad91000724f95cdd4923cf2674f91ae60d5eaab304ee6beebcb42ae77fd32c968ca151af375c33be36abe7d93a56
+DIST ocaml-expect-0.0.4.tar.gz 60664 SHA256 cc7c2d74d56f5cddf191a835fcd0827a5c0913598f8547f1bd3961089fde6447 SHA512 fb45e48fe532fe73234084c6c887ab14377bfd41851659cec80a995167d075fdc9873c24b8e31be4bac10e567d9235da71fd30d1ecd5ccbd06c712cb8c1563d6 WHIRLPOOL 3f33f7aaa4098c92c78436c13d22474e89791ec7d8c8d12ec48e0ab0fc447f28338e06354ca0d935326c2ed6d87486f1dcaa2188b3b04c24e51d4d5f41380be8
diff --git a/dev-ml/ocaml-expect/metadata.xml b/dev-ml/ocaml-expect/metadata.xml
new file mode 100644
index 00000000000..769e0b77304
--- /dev/null
+++ b/dev-ml/ocaml-expect/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>v.ivanov@ymail.com</email>
+ <name>Vladimir Ivanov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-expect/ocaml-expect-0.0.3.ebuild b/dev-ml/ocaml-expect/ocaml-expect-0.0.3.ebuild
new file mode 100644
index 00000000000..c9e299010d0
--- /dev/null
+++ b/dev-ml/ocaml-expect/ocaml-expect-0.0.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Ocaml implementation of expect to help building unitary testing"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-expect/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/894/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-ml/extlib:=
+ dev-ml/pcre-ocaml:="
+DEPEND="${RDEPEND}
+ dev-ml/ounit"
+
+DOCS=( "README.txt" "CHANGES.txt" "AUTHORS.txt" )
diff --git a/dev-ml/ocaml-expect/ocaml-expect-0.0.4.ebuild b/dev-ml/ocaml-expect/ocaml-expect-0.0.4.ebuild
new file mode 100644
index 00000000000..99f256253de
--- /dev/null
+++ b/dev-ml/ocaml-expect/ocaml-expect-0.0.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Ocaml implementation of expect to help building unitary testing"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-expect/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1289/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ dev-ml/batteries:=
+ dev-ml/pcre-ocaml:="
+DEPEND="${RDEPEND}
+ test? ( >=dev-ml/ounit-2.0.0 )"
+
+DOCS=( "README.txt" "CHANGES.txt" "AUTHORS.txt" )
diff --git a/dev-ml/ocaml-fileutils/Manifest b/dev-ml/ocaml-fileutils/Manifest
new file mode 100644
index 00000000000..3ec03f1a962
--- /dev/null
+++ b/dev-ml/ocaml-fileutils/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-fileutils-0.4.5.tar.gz 83511 SHA256 2ab3d2e9d8aa047871f6053e52007a8a25132653d5b1c29f8451ba2c1fab9866 SHA512 4efe60c6ec52d9aa6523a3f26b0d7cda410a4aae4ee5535327020e4288c2899a7989aa3352e849fe0fd6360b42d8e3b57179df256938ab5ac7785f102923c288 WHIRLPOOL 777a9160af0c9deb18ffb2dc6c218ad5596608c83a229e1633ff75687dc637055417caf0190e8022f585fff43a6ad84804927e45bba8739f3bf07e2c1b7177f2
+DIST ocaml-fileutils-0.5.0.tar.gz 123081 SHA256 8758324a57879dbcc4a95d4ab08cb0cee378f5c7b6eba7592d63d49ca9354977 SHA512 aa238cbe086479f330732c20ca1fb3b810254723e3fa8129394254e154a24c449f703196483afe04d6efb6bfe80c1c6870e14a81627907f243ef4ca5d73e9020 WHIRLPOOL f311b72a53456ac0cd367292c980430444978861006cf06a345412b4cdc7081d8d567b1955409ec64372eabfc5812c2a13f8807150f68097ae96881d32657e89
diff --git a/dev-ml/ocaml-fileutils/metadata.xml b/dev-ml/ocaml-fileutils/metadata.xml
new file mode 100644
index 00000000000..769e0b77304
--- /dev/null
+++ b/dev-ml/ocaml-fileutils/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>v.ivanov@ymail.com</email>
+ <name>Vladimir Ivanov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.5.ebuild b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.5.ebuild
new file mode 100644
index 00000000000..083548c8c46
--- /dev/null
+++ b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.5.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-fileutils"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1194/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-ml/ounit"
+
+DOCS=( "AUTHORS.txt" "README.txt" "CHANGELOG.txt" "TODO.txt" )
diff --git a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.0.ebuild b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.0.ebuild
new file mode 100644
index 00000000000..dd8dd9046d8
--- /dev/null
+++ b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-fileutils"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1531/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-ml/ounit-2.0.0"
+
+DOCS=( "AUTHORS.txt" "README.txt" "CHANGELOG.txt" "TODO.txt" )
diff --git a/dev-ml/ocaml-gettext/Manifest b/dev-ml/ocaml-gettext/Manifest
new file mode 100644
index 00000000000..e4ad40498da
--- /dev/null
+++ b/dev-ml/ocaml-gettext/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-gettext-0.3.4.tar.gz 165292 SHA256 e19214638e8cf078aabda82e7bc4d49a65a557d9c54648a7fd8db6ef84c83302 SHA512 bd51c267c28cb77d0648d9570ef4d75c149c921c75f611229b50f8f6a521997d4fd044f1aa4ffbb2628e1e38c3bee58f113495536a47db2e3ca58e0903a312bc WHIRLPOOL c7a7a33e75837a25fdbeac72610a697fe2819cea8c07b2d3b570e90be6a187bc9037d10c56e182a0dd9810c1d7ba04e4f002a8196b87c5c6ee760ac3b6e991a6
+DIST ocaml-gettext-0.3.5.tar.gz 165238 SHA256 d19484ba7e14d078c85da66cba1eb28ed0cdc92c84db45e6dfb8f7e40f2cc268 SHA512 a60d51c09dad3076415ef24a9bb3121f84ad649d7a9fa1b9a7da719dd385e4ed7cd9ffbabefbade7ea0daf7b0a5a5eb71b1d0ed21b369914b49f66d0d918c446 WHIRLPOOL b638ecfe765e673408ced9e4ee0467029b7a7dbf0dfff826c45471b0cea2c26765db9b833d261be325abf5579e90ab0f669fac2a1cd7682e26d49a2fc277e5f0
diff --git a/dev-ml/ocaml-gettext/metadata.xml b/dev-ml/ocaml-gettext/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocaml-gettext/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild
new file mode 100644
index 00000000000..59567a21638
--- /dev/null
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Provides support for internationalization of OCaml program"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/676/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-lang/ocaml-3.12.1:=
+ >=dev-ml/ocaml-fileutils-0.4.0:=
+ >=dev-ml/camomile-0.8.3:=
+ sys-devel/gettext
+ "
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook-xsl-stylesheets dev-libs/libxslt )
+ test? ( dev-ml/ounit )"
+
+src_configure() {
+ econf \
+ --with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \
+ $(use_enable doc) \
+ $(use_enable test)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake -j1 DESTDIR="${D}" \
+ BINDIR="${ED}/usr/bin" \
+ PODIR="${ED}/usr/share/locale/" \
+ DOCDIR="${ED}/usr/share/doc/${PF}" \
+ MANDIR="${ED}/usr/share/man" \
+ install
+ dodoc CHANGELOG README THANKS TODO
+}
diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild
new file mode 100644
index 00000000000..bb0e145683b
--- /dev/null
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Provides support for internationalization of OCaml program"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1433/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-lang/ocaml-3.12.1:=
+ >=dev-ml/ocaml-fileutils-0.4.0:=
+ >=dev-ml/camomile-0.8.3:=
+ sys-devel/gettext
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ "
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook-xsl-stylesheets dev-libs/libxslt )
+ test? ( dev-ml/ounit )"
+
+src_configure() {
+ econf \
+ --with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \
+ $(use_enable doc) \
+ $(use_enable test)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake -j1 DESTDIR="${D}" \
+ BINDIR="${ED}/usr/bin" \
+ PODIR="${ED}/usr/share/locale/" \
+ DOCDIR="${ED}/usr/share/doc/${PF}" \
+ MANDIR="${ED}/usr/share/man" \
+ install
+ dodoc CHANGELOG README THANKS TODO
+}
diff --git a/dev-ml/ocaml-ipaddr/Manifest b/dev-ml/ocaml-ipaddr/Manifest
new file mode 100644
index 00000000000..e1bcc4b3ea1
--- /dev/null
+++ b/dev-ml/ocaml-ipaddr/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-ipaddr-2.5.0.tar.gz 62338 SHA256 2724acccc92885cbb7adeffd0c5bb4350a0eb2334ec92181e0ed172d7fa7fa7e SHA512 acf2f80d2f5d97787784bb96188d0af69138b69257ec404890e543dcd610554038dd2b069069a1e0cd4ab803e6659e4a908964cd8ae5aadb93403b9638c1320f WHIRLPOOL b1161adeabd4676a4f7e789a5ff6c7809794a2907280f4d5efeb284242181d5a15e8613345513687cb54edf03859e23899752c198fcd37adfc44b983a795c0df
+DIST ocaml-ipaddr-2.6.1.tar.gz 64458 SHA256 7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0 SHA512 a22382b5118caf0a29322e52d40523cbf52edd21d477c2e4581a5f70441b71f948b75ff7d55a7cf6c32f0e68c430c3aff59a05d9514b29e858ff78f4c649c4c6 WHIRLPOOL 418a3bcbef9a1198962bd5d09381756520eaced7e86f8ba204810b786187cfb6e020019da331d85e11d510fa744802c66d52a450fb31a9ff8a418004ff1d4cbe
diff --git a/dev-ml/ocaml-ipaddr/metadata.xml b/dev-ml/ocaml-ipaddr/metadata.xml
new file mode 100644
index 00000000000..1b11944eeb1
--- /dev/null
+++ b/dev-ml/ocaml-ipaddr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-ipaddr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.5.0.ebuild b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.5.0.ebuild
new file mode 100644
index 00000000000..56b577ee436
--- /dev/null
+++ b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.5.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations"
+HOMEPAGE="https://github.com/mirage/ocaml-ipaddr"
+SRC_URI="https://github.com/mirage/ocaml-ipaddr/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-ml/sexplib:="
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES README.md )
diff --git a/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.6.1.ebuild b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.6.1.ebuild
new file mode 100644
index 00000000000..e00836e6109
--- /dev/null
+++ b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.6.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations"
+HOMEPAGE="https://github.com/mirage/ocaml-ipaddr"
+SRC_URI="https://github.com/mirage/ocaml-ipaddr/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-ml/sexplib:="
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES README.md )
diff --git a/dev-ml/ocaml-make/Manifest b/dev-ml/ocaml-make/Manifest
new file mode 100644
index 00000000000..c975f758384
--- /dev/null
+++ b/dev-ml/ocaml-make/Manifest
@@ -0,0 +1 @@
+DIST ocaml-makefile-6.37.0.tar.gz 49202 SHA256 99ff58080ed154cc4bd70f915fe4760dffb026a1c0447caa0b3bdb982b24b0a8 SHA512 19d318f8b03116c3e999b61c1a2708f483873ab7ae9260225df79888a86eb39e77867fdefe0df23a50ac1fd422b3b774f96b5b58d9dec449710527df1075a36d WHIRLPOOL d681ae29db4dc6c2731f7a7655295e4c462f3dd24608cf4c4c628f00615531d3ec8f869f1732702e5c2523605a7a7d84a043b8b6deddafed6d0e4ee530e19c7c
diff --git a/dev-ml/ocaml-make/metadata.xml b/dev-ml/ocaml-make/metadata.xml
new file mode 100644
index 00000000000..1abbdf08804
--- /dev/null
+++ b/dev-ml/ocaml-make/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="bitbucket">mmottl/ocaml-makefile</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-make/ocaml-make-6.37.0.ebuild b/dev-ml/ocaml-make/ocaml-make-6.37.0.ebuild
new file mode 100644
index 00000000000..0bef752f83b
--- /dev/null
+++ b/dev-ml/ocaml-make/ocaml-make-6.37.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Generic O'Caml Makefile for GNU Make"
+HOMEPAGE="http://bitbucket.org/mmottl/ocaml-makefile"
+LICENSE="LGPL-2.1"
+
+DEPEND=""
+RDEPEND=">=dev-lang/ocaml-3.06-r1
+ >=dev-ml/findlib-0.8"
+SRC_URI="http://bitbucket.org/mmottl/ocaml-makefile/downloads/${PN}file-${PV}.tar.gz"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="examples"
+S="${WORKDIR}/${PN}file-${PV}"
+
+src_install () {
+ # Just put the OCamlMakefile into /usr/include
+ # where GNU Make will automatically pick it up.
+ insinto /usr/include
+ doins OCamlMakefile
+ # install documentation
+ dodoc README.md CHANGES.txt
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r calc camlp4 gtk idl threads
+ fi
+}
diff --git a/dev-ml/ocaml-mysql/Manifest b/dev-ml/ocaml-mysql/Manifest
new file mode 100644
index 00000000000..a969d16c117
--- /dev/null
+++ b/dev-ml/ocaml-mysql/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-mysql-1.1.1.tar.gz 119676 SHA256 f896fa101a05d81b85af8122fe1c2809008a5e5fdca00f9ceeb7eec356369e3a SHA512 a57e69bbde928aa15e4200cf08fe4504450ae95afbec96fab03412708986a628463acaadb1b66c8955baa0c8c8c5260ebeb2e961b907a056749c6546e006988f WHIRLPOOL dbc1ef77b1cb38002a852665561ff69234117d2c241a3d75769e7217b0e7fe40b7474be3da2781a9d28729c46274dab3d79a201b53320b4ce0140b2ea1492d5a
+DIST ocaml-mysql-1.2.0.tar.gz 99236 SHA256 6eb2c218c9a16b3c92ba4e8ecb91dbf34ef221623a0f88c29eb84511dd0b9dff SHA512 d8a45e4df63648b8481faee40e614840044b4d4c41d704cead2bf66e794140908df23d1f960bac39a366dad8cba39797225f25ea598d46801f9a9f48c54eaae3 WHIRLPOOL cb4e9f695ac5ae1e7edc0f6b25f3f5c74597d1d2c598f2ab721a9f6868e036b9d3c247225d406eed6b35b8bc31c02f0a35292925f1a8208c99dc3cc5256b2bbb
diff --git a/dev-ml/ocaml-mysql/metadata.xml b/dev-ml/ocaml-mysql/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/ocaml-mysql/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild b/dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild
new file mode 100644
index 00000000000..b681c4b7ab6
--- /dev/null
+++ b/dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="+ocamlopt"
+
+DESCRIPTION="A package for ocaml that provides access to mysql databases"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/870/${P}.tar.gz"
+HOMEPAGE="http://ocaml-mysql.forge.ocamlcore.org/"
+
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ sys-libs/zlib
+ >=virtual/mysql-4.0"
+
+RDEPEND="$DEPEND"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ppc x86"
+
+src_compile()
+{
+ emake all
+ if use ocamlopt; then
+ emake opt
+ fi
+}
+
+src_install()
+{
+ findlib_src_preinst
+ emake install
+
+ dodoc CHANGES README VERSION || die
+}
diff --git a/dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild b/dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild
new file mode 100644
index 00000000000..76292cff82b
--- /dev/null
+++ b/dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="+ocamlopt"
+
+DESCRIPTION="A package for ocaml that provides access to mysql databases"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1500/${P}.tar.gz"
+HOMEPAGE="http://ocaml-mysql.forge.ocamlcore.org/"
+
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ sys-libs/zlib
+ >=virtual/mysql-4.0"
+
+RDEPEND="$DEPEND"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+src_compile()
+{
+ emake all
+ if use ocamlopt; then
+ emake opt
+ fi
+}
+
+src_install()
+{
+ findlib_src_preinst
+ emake install
+
+ dodoc CHANGES README VERSION || die
+}
diff --git a/dev-ml/ocaml-re/Manifest b/dev-ml/ocaml-re/Manifest
new file mode 100644
index 00000000000..bb8b644b69f
--- /dev/null
+++ b/dev-ml/ocaml-re/Manifest
@@ -0,0 +1,4 @@
+DIST ocaml-re-1.3.1.tar.gz 98686 SHA256 0c17696232a292d599880162545234030d0ad2d9b2a15b7d233de34e2c8b0724 SHA512 0c07e607c50e442a8e158d7dfd068451fcccafe1bdda7b6acc9ace0d7456c8b86521cd6f04c1cedbfa5a638d37091dd2a00168220c3be33882994075b0a68670 WHIRLPOOL 631feca27880f903baeb9594e945199fb15f4a733eca58bc77f8aacac05cc6ce41aa366f8f35178ae53f7ae8a3da4f978d595b1bb8c5fecfecf5732371ba0636
+DIST ocaml-re-1.3.2.tar.gz 98885 SHA256 3a34c3d6b6bf61e0d1eb9af74fa82c936809f7e48f8872fb6b11252c79a5d466 SHA512 6f77e53390bd223bca57ff0e0ce02986e2aad4f3e572089162db75a690273561cacc8b5ff73d03864131c240a4ffe16ca87e8841dc576b459eb526143552c9f2 WHIRLPOOL b419b1f9dc37e9addf304cdf1ec07744d4c6532f65b9ff623c551c61bff8ee33b90e41af0ec530a332aa88e5954fdae0992522705323866a6169391a0bd297c9
+DIST ocaml-re-1.4.0.tar.gz 99887 SHA256 51f316d73b0c927c1d4150955737a2e78002207ba46d8d3cf18da2a495ecc369 SHA512 9ac871dfe65b8a90da2786fa565cec588f8de50ce2a12c128b307fe730fa5df6533b343ef366161f900b2809bb3930dbf5e422d5fab5d6c3e0aa805901d856d9 WHIRLPOOL 8c3fc29f7c1c635a382a90de3408c367c06af2c2865a9695dffbd88e380b626e3717fdb9cde5d16b4f4fdc40682fa57e72d60753d7093a01c03013d68fd482cf
+DIST ocaml-re-1.4.1.tar.gz 99877 SHA256 262554309d645f4126a2a2e21e3a798d250293264fda34d6271243cc6c16e576 SHA512 dac256a1bd2a2109d0dbc39720ac60c6e2e0c229855735972072f5b59a89a3d4a4c5b127d5b753c838a219356a9530bdd1ac40d0bd2ce32a237589ad44307736 WHIRLPOOL 5147ba6d8c4bab902914b5a7e24ea2276a9128370de4953cd43986ee1a60338b8e2ac1ded2989682a0273723b202130879e6cc623906966897fd9ca7633b0230
diff --git a/dev-ml/ocaml-re/metadata.xml b/dev-ml/ocaml-re/metadata.xml
new file mode 100644
index 00000000000..7bcb58676be
--- /dev/null
+++ b/dev-ml/ocaml-re/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocaml/ocaml-re</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-re/ocaml-re-1.3.1.ebuild b/dev-ml/ocaml-re/ocaml-re-1.3.1.ebuild
new file mode 100644
index 00000000000..661dd3d7c99
--- /dev/null
+++ b/dev-ml/ocaml-re/ocaml-re-1.3.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="http://github.com/ocaml/ocaml-re"
+SRC_URI="https://github.com/ocaml/ocaml-re/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=">=dev-lang/ocaml-4.02:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+DOCS=( "CHANGES" "TODO.txt" "README.md" )
+S="${WORKDIR}/${PN}-${P}"
diff --git a/dev-ml/ocaml-re/ocaml-re-1.3.2.ebuild b/dev-ml/ocaml-re/ocaml-re-1.3.2.ebuild
new file mode 100644
index 00000000000..661dd3d7c99
--- /dev/null
+++ b/dev-ml/ocaml-re/ocaml-re-1.3.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="http://github.com/ocaml/ocaml-re"
+SRC_URI="https://github.com/ocaml/ocaml-re/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=">=dev-lang/ocaml-4.02:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+DOCS=( "CHANGES" "TODO.txt" "README.md" )
+S="${WORKDIR}/${PN}-${P}"
diff --git a/dev-ml/ocaml-re/ocaml-re-1.4.0.ebuild b/dev-ml/ocaml-re/ocaml-re-1.4.0.ebuild
new file mode 100644
index 00000000000..661dd3d7c99
--- /dev/null
+++ b/dev-ml/ocaml-re/ocaml-re-1.4.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="http://github.com/ocaml/ocaml-re"
+SRC_URI="https://github.com/ocaml/ocaml-re/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=">=dev-lang/ocaml-4.02:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+DOCS=( "CHANGES" "TODO.txt" "README.md" )
+S="${WORKDIR}/${PN}-${P}"
diff --git a/dev-ml/ocaml-re/ocaml-re-1.4.1.ebuild b/dev-ml/ocaml-re/ocaml-re-1.4.1.ebuild
new file mode 100644
index 00000000000..661dd3d7c99
--- /dev/null
+++ b/dev-ml/ocaml-re/ocaml-re-1.4.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="http://github.com/ocaml/ocaml-re"
+SRC_URI="https://github.com/ocaml/ocaml-re/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=">=dev-lang/ocaml-4.02:="
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+DOCS=( "CHANGES" "TODO.txt" "README.md" )
+S="${WORKDIR}/${PN}-${P}"
diff --git a/dev-ml/ocaml-safepass/Manifest b/dev-ml/ocaml-safepass/Manifest
new file mode 100644
index 00000000000..6ebcb7e2925
--- /dev/null
+++ b/dev-ml/ocaml-safepass/Manifest
@@ -0,0 +1 @@
+DIST ocaml-safepass-1.2.tgz 64021 SHA256 daebb86ad960e46610fdfb17894ee8164640d0467b6eb15752b0e5315d58d375 SHA512 61ff545b069c6e9c298e292785f8478c9872395bbb77a08ddd491586064f49ee70d2fcf080d6ba67af631ba5c50709b203c68128664577348bdfafdc2dcaf0a4 WHIRLPOOL 2398f2e80fe8ef87fa01ddc9e9994712908132d30a64513f4a1062ccc409cc7a7be61c678f959779104dec92e1424bed729de4a445a7a2f28b5a9baaefb5aad3
diff --git a/dev-ml/ocaml-safepass/metadata.xml b/dev-ml/ocaml-safepass/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocaml-safepass/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-safepass/ocaml-safepass-1.2.ebuild b/dev-ml/ocaml-safepass/ocaml-safepass-1.2.ebuild
new file mode 100644
index 00000000000..631a9951135
--- /dev/null
+++ b/dev-ml/ocaml-safepass/ocaml-safepass-1.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A library offering facilities for the safe storage of user passwords"
+HOMEPAGE="http://ocaml-safepass.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1035/${P}.tgz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+DOCS=( "README" "CHANGELOG" )
diff --git a/dev-ml/ocaml-sha/Manifest b/dev-ml/ocaml-sha/Manifest
new file mode 100644
index 00000000000..78939a29672
--- /dev/null
+++ b/dev-ml/ocaml-sha/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-sha-1.8.tar.gz 11911 SHA256 473c67cc95629ed7bf788bdc08a6d829dc953c223628bc030ecaa28c0cf3245d SHA512 53a0c86d239a4b98b4ce5236c20f97273f9bb4cde539ed248712cdb35fa49df998db2b5a57343e555907848885a46846e932934d15477ad65c321d9e2a5c1e60 WHIRLPOOL a8309f445ac95ac9c497afadd5285420310e09687bfde1de60c2bfb1d838611cca15c6ae80d1e4a8e90379d304d510875e8249931ac2a39950df1037a38a9a12
+DIST ocaml-sha-v1.9.tar.gz 12872 SHA256 caa1dd9071c2c56ca180061bb8e1824ac3b5e83de8ec4ed197275006c2a088d0 SHA512 e49f725f0544a423c57199b2534519a005916f24a17bf7761e744ec963c5712b8b0b82b052d87c55fdfd3143f194f44283c7332ab08f480328c0c21642ae5778 WHIRLPOOL ab616f746e7a30ebf17758b5320ed34ac0126fe4fe1674c8d58021ba5469b9fddd9f20f55b4755c9774bec3a3e00399f6b08f1861b33be5724eae3916d9fd0d6
diff --git a/dev-ml/ocaml-sha/metadata.xml b/dev-ml/ocaml-sha/metadata.xml
new file mode 100644
index 00000000000..3776475e41b
--- /dev/null
+++ b/dev-ml/ocaml-sha/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">vincenthz/ocaml-sha</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-sha/ocaml-sha-1.8.ebuild b/dev-ml/ocaml-sha/ocaml-sha-1.8.ebuild
new file mode 100644
index 00000000000..86eb3b52908
--- /dev/null
+++ b/dev-ml/ocaml-sha/ocaml-sha-1.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib vcs-snapshot
+
+DESCRIPTION="A binding for SHA interface code in OCaml"
+HOMEPAGE="http://github.com/vincenthz/ocaml-sha"
+SRC_URI="http://nodeload.github.com/vincenthz/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README
+}
diff --git a/dev-ml/ocaml-sha/ocaml-sha-1.9.ebuild b/dev-ml/ocaml-sha/ocaml-sha-1.9.ebuild
new file mode 100644
index 00000000000..ad4737c153c
--- /dev/null
+++ b/dev-ml/ocaml-sha/ocaml-sha-1.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib vcs-snapshot
+
+DESCRIPTION="A binding for SHA interface code in OCaml"
+HOMEPAGE="http://github.com/vincenthz/ocaml-sha"
+SRC_URI="http://github.com/vincenthz/ocaml-sha/archive/${PN}-v${PV}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}-v${PV}"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README
+}
diff --git a/dev-ml/ocaml-sqlite3/Manifest b/dev-ml/ocaml-sqlite3/Manifest
new file mode 100644
index 00000000000..f1fd2b4c3b3
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/Manifest
@@ -0,0 +1,4 @@
+DIST sqlite3-ocaml-2.0.4.tar.gz 60665 SHA256 51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1 SHA512 7167397cf4731599cbd4a916941e2bf394755183e4f925a0cacd80352b030e9517fc492f6d24fb7e9f44dc705570303d8a96247c69309543090896c7ffacc0cc WHIRLPOOL ac844deb1d1e410eab9cae1507f22ee5d01f92df31054894f0c2351053365b978d86288e3dde62129f9f972c326cefcbc15c7a0c570629fc7220fd74602f9b7c
+DIST sqlite3-ocaml-2.0.5.tar.gz 63765 SHA256 251f710e3b66cb3651c2330e447a8633fe7e5bf968030946f4f913375cfb0efc SHA512 019283ecc8e65b1125fe11112d72c652351093fe3228cbc1d07e126c15d5fde73a6b2e5466740bdcf2b59e20e68f0189f4fc89797205f9a6be104e5759140297 WHIRLPOOL be42c73a06990e00e22c3d30f4324c6278062419f6e60853f8954ec817b4e194e26fa1e0955bc1424eee42815f079e72a5443c792371fc3563980afa9e8ef3da
+DIST sqlite3-ocaml-2.0.7.tar.gz 64760 SHA256 b8adf338c39fb7b84bda7ab5f53905a6db85a4a0f54daacf12d4d450c4c7a712 SHA512 66f9b11f554194277f2484440602cc3a0bf4de8fe1b1b88d1327967bf6780bdbc21b29b4cc0ec1b10c188aa679d46a983dc994751ea6089b1f228d949cfb9300 WHIRLPOOL 0d45411711493c48a8cb713104e4f594eb8cbbd05e0b32925e1d68c52be120f1f0f30f7dc1a89dee6e8870fff3f2155a7967d10008fdb9fc9b3c8b575a2880a0
+DIST sqlite3-ocaml-2.0.9.tar.gz 65361 SHA256 a1143a260e0e943e39ab1c9c8a80e32f542c0be958d4f8fcaab80fe56ce89a67 SHA512 55d2f1a7efc75e44ea4dde58f02957b0b65f1058df620b1f802507876746e5038ff3bfadfea73accac577d2081a3fbb45cfd4f3a935221a5cad4340505591475 WHIRLPOOL 2a51477989ae1ee4b8439820dfdde1ee9e95fe981eacb783d2adb7644102d9b64c64a99d5691a299eff284144952b33e2c4792e8b6efb1a4273f8d0a64a7684c
diff --git a/dev-ml/ocaml-sqlite3/metadata.xml b/dev-ml/ocaml-sqlite3/metadata.xml
new file mode 100644
index 00000000000..b44d050a27b
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mmottl/sqlite3-ocaml</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.4.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.4.ebuild
new file mode 100644
index 00000000000..0aafd255033
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_PN="sqlite3-ocaml"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A package for ocaml that provides access to SQLite databases"
+HOMEPAGE="http://bitbucket.org/mmottl/sqlite3-ocaml"
+SRC_URI="http://bitbucket.org/mmottl/${MY_PN}/downloads/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.3.3
+ >=dev-ml/findlib-1.3.2"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" "TODO.md" )
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.5.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.5.ebuild
new file mode 100644
index 00000000000..0aafd255033
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_PN="sqlite3-ocaml"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A package for ocaml that provides access to SQLite databases"
+HOMEPAGE="http://bitbucket.org/mmottl/sqlite3-ocaml"
+SRC_URI="http://bitbucket.org/mmottl/${MY_PN}/downloads/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.3.3
+ >=dev-ml/findlib-1.3.2"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" "TODO.md" )
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.7.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.7.ebuild
new file mode 100644
index 00000000000..e2646f8b88a
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.7.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_PN="sqlite3-ocaml"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A package for ocaml that provides access to SQLite databases"
+HOMEPAGE="http://mmottl.github.io/sqlite3-ocaml/"
+SRC_URI="https://github.com/mmottl/sqlite3-ocaml/releases/download/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.3.3
+ >=dev-ml/findlib-1.3.2"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" "TODO.md" )
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.9.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.9.ebuild
new file mode 100644
index 00000000000..d10376724c8
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-2.0.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_PN="sqlite3-ocaml"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A package for ocaml that provides access to SQLite databases"
+HOMEPAGE="http://mmottl.github.io/sqlite3-ocaml/"
+SRC_URI="https://github.com/mmottl/sqlite3-ocaml/releases/download/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.3.3
+ >=dev-ml/findlib-1.3.2"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" "TODO.md" )
diff --git a/dev-ml/ocaml-ssl/Manifest b/dev-ml/ocaml-ssl/Manifest
new file mode 100644
index 00000000000..89aeef482a5
--- /dev/null
+++ b/dev-ml/ocaml-ssl/Manifest
@@ -0,0 +1,3 @@
+DIST ocaml-ssl-0.4.6.tar.gz 118798 SHA256 1ff7fbc77bb5ec7b6bfdca045c6c7a51d4d98ed60a865f29e06dd91285ac9499 SHA512 fe3626b985ad1fc18b65dcadd8155520814e1bbc6425fb3612919591d2a09a7be01ce31734d7e789c554053fb0de748aa872bfd53a2069496bd165014f9207c8 WHIRLPOOL 2c8eb40fe375261ef1fae1d2333236fd28ceee1e7b469d0573e6f72c6586d07dcd3e96d44a35b457b181a3a27f01267d232a61ce25e6dc4e5145fd5c982e9672
+DIST ocaml-ssl-0.4.7.tar.gz 119209 SHA256 e9beb2b32ea15dababf6b674c25bbb63044114779860c655ad7d581056421244 SHA512 6f740e87ef4b560cba71af57855de72737bd34f9fd4f57c9a6674caf32a417957269c83fadc41adbd661287553fef9e97951d821945f940700e48e922a951d0e WHIRLPOOL 38530d6aab3d82f5397c42ac50f33b47c1596e0862d090dad7fad410ac8ed823cd2454242d99d851c40c49f7b036a3159602a64edb3fc1b5c455b3357f7ac054
+DIST ocaml-ssl-0.5.1.tar.gz 125006 SHA256 83bc8f5b2a4b9943c64bdfa66123ae1f099b36d76b8a98a0b7b99cdd94a47787 SHA512 3246e7ea118d64a2355e7f6b0aa5b6ab24e2e82b947665851a2e172ce79dc9adbcee45a4cc7eda4b37a0ed56faac70f0b043d838f76b2b65d61250758f0b60ae WHIRLPOOL 561f2ec94a74537413b9accb4fcfed1abe5cd22e68c2354ac1c9105edf64713148fbbfa8161716e47d8fbda8547bc7400c8fcca5d44c7626f44d3884f256db1c
diff --git a/dev-ml/ocaml-ssl/metadata.xml b/dev-ml/ocaml-ssl/metadata.xml
new file mode 100644
index 00000000000..84ea95252ef
--- /dev/null
+++ b/dev-ml/ocaml-ssl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="sourceforge">savonet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-ssl/ocaml-ssl-0.4.6.ebuild b/dev-ml/ocaml-ssl/ocaml-ssl-0.4.6.ebuild
new file mode 100644
index 00000000000..30dd93e911b
--- /dev/null
+++ b/dev-ml/ocaml-ssl/ocaml-ssl-0.4.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="doc"
+
+DESCRIPTION="OCaml bindings for OpenSSL"
+SRC_URI="mirror://sourceforge/savonet/${P}.tar.gz"
+HOMEPAGE="http://savonet.sourceforge.net"
+
+DEPEND="dev-libs/openssl
+ >=dev-lang/ocaml-3.10:="
+RDEPEND="${DEPEND}"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2.1"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install
+
+ if use doc; then
+ dohtml -r doc/html/*
+ fi
+ dodoc CHANGES README
+}
diff --git a/dev-ml/ocaml-ssl/ocaml-ssl-0.4.7.ebuild b/dev-ml/ocaml-ssl/ocaml-ssl-0.4.7.ebuild
new file mode 100644
index 00000000000..c5412bd09ef
--- /dev/null
+++ b/dev-ml/ocaml-ssl/ocaml-ssl-0.4.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="doc"
+
+DESCRIPTION="OCaml bindings for OpenSSL"
+SRC_URI="mirror://sourceforge/savonet/${P}.tar.gz"
+HOMEPAGE="http://savonet.sourceforge.net"
+
+DEPEND="dev-libs/openssl[-bindist]
+ >=dev-lang/ocaml-3.10:="
+RDEPEND="${DEPEND}"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install
+
+ if use doc; then
+ dohtml -r doc/html/*
+ fi
+ dodoc CHANGES README
+}
diff --git a/dev-ml/ocaml-ssl/ocaml-ssl-0.5.1.ebuild b/dev-ml/ocaml-ssl/ocaml-ssl-0.5.1.ebuild
new file mode 100644
index 00000000000..f537a9a1378
--- /dev/null
+++ b/dev-ml/ocaml-ssl/ocaml-ssl-0.5.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="doc"
+
+DESCRIPTION="OCaml bindings for OpenSSL"
+SRC_URI="mirror://sourceforge/savonet/${P}.tar.gz"
+HOMEPAGE="http://savonet.sourceforge.net"
+
+DEPEND="dev-libs/openssl
+ >=dev-lang/ocaml-3.10:="
+RDEPEND="${DEPEND}"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install
+
+ if use doc; then
+ dohtml -r doc/html/*
+ fi
+ dodoc CHANGES README.md
+}
diff --git a/dev-ml/ocaml-text/Manifest b/dev-ml/ocaml-text/Manifest
new file mode 100644
index 00000000000..a9a4e0ec3a6
--- /dev/null
+++ b/dev-ml/ocaml-text/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-text-0.6.tar.gz 253162 SHA256 cfd4d224ec0b776ce462c5ba5cb6e4eae8cf397ede6d3b91add44a05a6520f49 SHA512 83dffe6cb11634e81076d72a0ed4b1621705dae2657706c5629550e3a4a4b912258bb63cb913c5248ecb556c7484ab77be4d1063dc4c216ec680b363f854e305 WHIRLPOOL ac84bd4d7f5c1e8473cfaed4c8a5f47c4d20c38070974f21d6a5859ba8b069788562f911fcb98b607a62263714981efa39c76e811a83687e75dc0c113a9d3a4c
+DIST ocaml-text-0.8.tar.gz 80898 SHA256 bab32ca98a086631a0715d06109ebf09a71d2ac9aa901bc4f4ecd3d84331b746 SHA512 712afd21f615a81dc361ce7f5d89aff0c341ed91cd0e4cce6a2000361023b006b10731ce0cc6c025bde5f5fe7d07fa85ca2af65a8ad4d50647e8dfa8ff7ad81f WHIRLPOOL 1ae59a2cbffa7b9a9ce3a027df7b9eba0db69442ad99666439fc5833f2aa13120dfa18b155a9a11dfc0cce641260b3f1e29e652e61c584627526ffcf4e09d6bf
diff --git a/dev-ml/ocaml-text/metadata.xml b/dev-ml/ocaml-text/metadata.xml
new file mode 100644
index 00000000000..782e02637d6
--- /dev/null
+++ b/dev-ml/ocaml-text/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">vbmithr/ocaml-text</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-text/ocaml-text-0.6.ebuild b/dev-ml/ocaml-text/ocaml-text-0.6.ebuild
new file mode 100644
index 00000000000..d5689475d3e
--- /dev/null
+++ b/dev-ml/ocaml-text/ocaml-text-0.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="library for dealing with 'text'"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-text/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/937/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="pcre"
+
+DEPEND="virtual/libiconv
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+ pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README" "CHANGES" "CHANGES.darcs" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable pcre)" \
+ oasis_src_configure
+}
diff --git a/dev-ml/ocaml-text/ocaml-text-0.8.ebuild b/dev-ml/ocaml-text/ocaml-text-0.8.ebuild
new file mode 100644
index 00000000000..3e29f391b16
--- /dev/null
+++ b/dev-ml/ocaml-text/ocaml-text-0.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Library for dealing with 'text'"
+HOMEPAGE="https://github.com/vbmithr/ocaml-text/"
+SRC_URI="https://github.com/vbmithr/ocaml-text/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="pcre"
+
+RDEPEND="virtual/libiconv
+ dev-ml/camlp4:=
+ pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )"
+DEPEND="${RDEPEND}
+ doc? ( dev-tex/rubber virtual/latex-base )"
+
+DOCS=( "README" "CHANGES" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable pcre)" \
+ oasis_src_configure
+}
+
+src_install() {
+ oasis_src_install
+ use doc && dodoc manual/*.pdf
+}
diff --git a/dev-ml/ocamldap/Manifest b/dev-ml/ocamldap/Manifest
new file mode 100644
index 00000000000..c3e8bc6c960
--- /dev/null
+++ b/dev-ml/ocamldap/Manifest
@@ -0,0 +1 @@
+DIST ocamldap-2.2.tar.gz 174204 SHA256 19da4383c76b22eea22f9ba50b55829fa6a4ed430d58b6291545dfbe57449804 SHA512 e24e78497b7c9ed89b0ae73c5773cc9ec28c7c7d317b4b8b39f6b20536ff8f44e15c2657d6aba4bb4689afb5bb155fc7391bea6edab50d0855b22bc457982a2d WHIRLPOOL 5e93f761d44aa4e7249a8c04f31d42fcf0b1872610b08a21b3289796209cdea537f5f8d87421e036fe5ffa9de160af2b833020aac347cde91dd91228a5ed5843
diff --git a/dev-ml/ocamldap/files/ocaml-4.02.patch b/dev-ml/ocamldap/files/ocaml-4.02.patch
new file mode 100644
index 00000000000..959ddd0a5a4
--- /dev/null
+++ b/dev-ml/ocamldap/files/ocaml-4.02.patch
@@ -0,0 +1,13 @@
+diff --git a/src/ldap_ooclient.ml b/src/ldap_ooclient.ml
+index 79fd51d..7ffa39e 100644
+--- a/src/ldap_ooclient.ml
++++ b/src/ldap_ooclient.ml
+@@ -23,7 +23,7 @@
+ open Ldap_types
+ open Ldap_funclient
+ open Ldap_schemaparser
+-open String
++let lowercase = String.lowercase
+
+ (* types used throughout the library *)
+ (* add types *)
diff --git a/dev-ml/ocamldap/metadata.xml b/dev-ml/ocamldap/metadata.xml
new file mode 100644
index 00000000000..b3e9b2788ce
--- /dev/null
+++ b/dev-ml/ocamldap/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+ <longdescription lang="en">
+Ocamldap is an implementation of the Light Weight Directory Access Protocol,
+and a set of useful tools built around it. It includes high level libraries
+for creating ldap clients and ldap servers. It also includes many of the
+auxiliary tools needed for building intelligent solutions, and interoperating
+with other directories. These include, an rfc2252 schema parser, and an schema
+checker, an ldif parser and printer, a search filter parser (but no printer
+yet), and a rudimentary ldap url parser. While including things already done
+elsewhere is fun, ocamldap adds something as well. So it implements a concept
+which tries to provide a basic unit of abstraction for managing directory data,
+called a service. A service is a bit like a stored search filter that you give
+a name. So you can ask ocamldap if an object satisfies its conditions, but
+unlike a search filter you can also ask ocamldap to MAKE an object satisfy its
+conditions. This can be really useful in distributed managment applications.
+Needless to say, more on this in the Documentation section.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-ml/ocamldap/ocamldap-2.2.ebuild b/dev-ml/ocamldap/ocamldap-2.2.ebuild
new file mode 100644
index 00000000000..65f3f4ca0ba
--- /dev/null
+++ b/dev-ml/ocamldap/ocamldap-2.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="an implementation of the Light Weight Directory Access Protocol"
+HOMEPAGE="http://git-jpdeplaix.dyndns.org/libs/ocamldap.git/"
+SRC_URI="http://bitbucket.org/deplai_j/${PN}/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="dev-ml/pcre-ocaml:=
+ dev-ml/ocaml-ssl:=
+ dev-ml/ocamlnet:="
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS.txt Changelog INSTALL.txt README.txt )
+
+PATCHES=( "${FILESDIR}/ocaml-4.02.patch" )
+
+src_install() {
+ oasis_src_install
+ use doc && dohtml -r doc/ocamldap/html
+}
diff --git a/dev-ml/ocamldsort/Manifest b/dev-ml/ocamldsort/Manifest
new file mode 100644
index 00000000000..b5a8d2486f1
--- /dev/null
+++ b/dev-ml/ocamldsort/Manifest
@@ -0,0 +1 @@
+DIST ocamldsort-0.16.0.tar.gz 42388 SHA256 df9eb91c615748b61c590e58efdf30dbc4ea0a50974e0a4dbec27c527ed8753b SHA512 3e43a4a7c4e7e91f141d93200ac7ba2d6de2321ea4af4cde63c2fbfff0042a556c55f1be9948ebf90a16778b2b6efc1757d6747cf01668155003e4a806d0773e WHIRLPOOL 62ff21e47182a5f7b8e949b602978ee57b28c76a889eac5f10a0c82c4ede59cc1d954af516ad3e372ee61ee7c83e5e30502e7301e4c3ccdb26346088949201d0
diff --git a/dev-ml/ocamldsort/metadata.xml b/dev-ml/ocamldsort/metadata.xml
new file mode 100644
index 00000000000..a273949ac55
--- /dev/null
+++ b/dev-ml/ocamldsort/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamldsort/ocamldsort-0.16.0.ebuild b/dev-ml/ocamldsort/ocamldsort-0.16.0.ebuild
new file mode 100644
index 00000000000..b1462368049
--- /dev/null
+++ b/dev-ml/ocamldsort/ocamldsort-0.16.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A dependency sorter for OCaml source files"
+HOMEPAGE="http://dimitri.mutu.net/ocaml.html"
+SRC_URI="ftp://quatramaran.ens.fr/pub/ara/ocamldsort/${P}.tar.gz"
+LICENSE="LGPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.12:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ emake BINDIR="${ED}/usr/bin" MANDIR="${ED}/usr/share/man" install
+ dodoc README THANKS Changes
+}
diff --git a/dev-ml/ocamlgraph/Manifest b/dev-ml/ocamlgraph/Manifest
new file mode 100644
index 00000000000..8b3693b7616
--- /dev/null
+++ b/dev-ml/ocamlgraph/Manifest
@@ -0,0 +1,2 @@
+DIST ocamlgraph-0.99b.tar.gz 175958 SHA256 c4a646cfd152791268d9c2716c5e1c55bf3f39e8637a85f3c3937e3dd4dafec7 SHA512 1301d766679f59714d2adee1cb8cf31ebcc23f1fd425927dc6fd0c23e18849aaf93f04f3d694ea2e05f9570e8ec03734d96abb2668339b45b273e9d78197c0f9 WHIRLPOOL 96a805dcc9ccab532d6590b112f61f255bb7e320990497abea49fed908735671558fa2d83e586322cac7249bf206830ca816efac25ee64776376a49da7f4f341
+DIST ocamlgraph-1.8.5.tar.gz 269438 SHA256 d167466435a155c779d5ec25b2db83ad851feb42ebc37dca8ffa345ddaefb82f SHA512 e3bf7f43f7b5167cbd23ea44a510d1a569d35771882ab7ae83bacc73822c5f4c944f62c95e0efa813b765e1e385a6b3ebff342cbf1c5589c73d022b8591a52dc WHIRLPOOL d25e124c2814e3196a441e706ca91a0429ab48669309c5dec2ae6697e48064ce54efc9d24440d9e52f3a1af8cfdd5c3ae04cd549fde4e9abc860a3506bd2de8d
diff --git a/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch
new file mode 100644
index 00000000000..5c68c0c15a2
--- /dev/null
+++ b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch
@@ -0,0 +1,21 @@
+Index: ocamlgraph-0.99b/Makefile.in
+===================================================================
+--- ocamlgraph-0.99b.orig/Makefile.in
++++ ocamlgraph-0.99b/Makefile.in
+@@ -208,10 +208,14 @@ install-byte:
+ install-opt: install-byte
+ cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(OCAMLLIB)"
+
++ifneq ($(OCAMLOPT),no)
++INSTALL_OPT=graph$(LIBEXT) graph.cmx $(CMXA)
++endif
++
+ install-findlib: META
+ ifdef OCAMLFIND
+- $(OCAMLFIND) install ocamlgraph META *.mli \
+- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
++ $(OCAMLFIND) install ocamlgraph META src/*.mli lib/*.mli \
++ $(INSTALL_OPT) graph.cmo graph.cmi $(CMA)
+ endif
+
+ # documentation
diff --git a/dev-ml/ocamlgraph/files/ocamlgraph-1.8.5-installfindlib.patch b/dev-ml/ocamlgraph/files/ocamlgraph-1.8.5-installfindlib.patch
new file mode 100644
index 00000000000..30eb937069d
--- /dev/null
+++ b/dev-ml/ocamlgraph/files/ocamlgraph-1.8.5-installfindlib.patch
@@ -0,0 +1,38 @@
+Index: ocamlgraph-1.8.5/Makefile.in
+===================================================================
+--- ocamlgraph-1.8.5.orig/Makefile.in
++++ ocamlgraph-1.8.5/Makefile.in
+@@ -417,21 +417,25 @@ ifeq (@LABLGNOMECANVAS@,yes)
+ cp -f $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli $(INSTALL_LIBDIR)
+ endif
+
++ifneq ($(WANT_OCAMLOPT),no)
++INSTALL_OPT=graph$(LIBEXT) graph.cmx $(CMXA)
++INSTALL_GTK_OPT=$(VIEWER_CMXLIB) $(VIEWER_CMXLIB:.cmx=.o) $(DGRAPH_CMXLIB) $(DGRAPH_CMXLIB:.cmx=.o) graph$(OBJEXT)
++endif
++
+ install-findlib: META
+ ifdef OCAMLFIND
+-ifeq (@LABLGNOMECANVAS@,yes)
++ifeq ($(WANT_GTK),yes)
+ $(OCAMLFIND) install ocamlgraph META \
+ $(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
+- graph$(OBJEXT) graph$(LIBEXT) graph.cmx graph.cmo graph.cmi \
+- $(CMA) $(CMXA) \
+- $(VIEWER_CMXLIB) $(VIEWER_CMOLIB) $(VIEWER_CMILIB) \
+- $(VIEWER_CMXLIB:.cmx=.o) \
+- $(DGRAPH_CMXLIB) $(DGRAPH_CMOLIB) $(DGRAPH_CMILIB) \
+- $(DGRAPH_CMXLIB:.cmx=.o)
++ $(INSTALL_OPT) graph.cmo graph.cmi \
++ $(CMA) \
++ $(INSTALL_GTK_OPT) \
++ $(VIEWER_CMOLIB) $(VIEWER_CMILIB) \
++ $(DGRAPH_CMOLIB) $(DGRAPH_CMILIB)
+ else
+ $(OCAMLFIND) install ocamlgraph META \
+ $(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
+- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
++ $(INSTALL_OPT) graph.cmo graph.cmi $(CMA)
+ endif
+ endif
+
diff --git a/dev-ml/ocamlgraph/metadata.xml b/dev-ml/ocamlgraph/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/ocamlgraph/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild b/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild
new file mode 100644
index 00000000000..c11ed0e2ed1
--- /dev/null
+++ b/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="O'Caml Graph library"
+HOMEPAGE="http://www.lri.fr/~filliatr/ocamlgraph/"
+SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlgraph/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ppc x86"
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )"
+DEPEND="${RDEPEND}
+ doc? ( dev-tex/hevea dev-ml/ocamlweb )"
+IUSE="doc examples gtk +ocamlopt"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-installfindlib.patch"
+}
+
+src_compile() {
+ emake -j1
+
+ if use doc; then
+ emake doc
+ fi
+ if use gtk; then
+ emake -j1 editor
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install-findlib
+
+ if use gtk; then
+ if use ocamlopt; then
+ newbin editor/editor.opt ocamlgraph_editor
+ else
+ newbin editor/editor.byte ocamlgraph_editor
+ fi
+ fi
+ dodoc README CREDITS FAQ CHANGES
+ if use doc; then
+ dohtml doc/*
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.5.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.5.ebuild
new file mode 100644
index 00000000000..efa355e87bb
--- /dev/null
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="O'Caml Graph library"
+HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html"
+SRC_URI="http://ocamlgraph.lri.fr/download/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )"
+DEPEND="${RDEPEND}
+ doc? ( dev-tex/hevea dev-ml/ocamlweb )"
+IUSE="doc examples gtk +ocamlopt"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-installfindlib.patch"
+}
+
+src_compile() {
+ emake byte
+ use ocamlopt && emake opt
+
+ if use doc; then
+ emake doc
+ fi
+
+ if use gtk; then
+ emake OCAMLBEST=$(usex ocamlopt opt byte) viewer dgraph editor
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ use ocamlopt || export WANT_OCAMLOPT=no
+ use gtk && export WANT_GTK=yes
+ emake install-findlib
+
+ if use gtk ; then
+ local ext=byte
+ use ocamlopt && ext=opt
+ newbin dgraph/dgraph.${ext} ${PN}-dgraph
+ newbin editor/editor.${ext} ${PN}-editor
+ newbin view_graph/viewgraph.${ext} ${PN}-viewgraph
+ fi
+
+ dodoc README CREDITS FAQ CHANGES
+ if use doc; then
+ dohtml doc/*
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/ocamlgsl/Manifest b/dev-ml/ocamlgsl/Manifest
new file mode 100644
index 00000000000..6bd347fc85a
--- /dev/null
+++ b/dev-ml/ocamlgsl/Manifest
@@ -0,0 +1 @@
+DIST ocamlgsl-0.6.0.tar.gz 274345 SHA256 ddb9e432dc1a431cad332a8e7e6685d2facbde2fa15ecab9315741f7d11b588c SHA512 2e8f6d315e53d9bc6bba5b90340394074b9415bd578185cf81b60a448656a88f32aae37a3aa5e186b80cae2b4346bb35b4f88280e5b03d47325a9806b6a9c192 WHIRLPOOL 91c36a7332dde389b40bc95c8d714a0b4c43f22d3999471feaf46d455fe57e5b536eaee222c29610952c184f088783e885debd6b2d7a96904e96aea7088a25c2
diff --git a/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch b/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch
new file mode 100644
index 00000000000..52627ac2423
--- /dev/null
+++ b/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch
@@ -0,0 +1,31 @@
+ Makefile | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index ae12602..dd68657 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,12 +16,12 @@ OCPP := ocpp
+ FORT := fort
+ AWK := gawk
+
+-MNOCYGWIN ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) "NR==1 { print \$$3 }")
++MNOCYGWIN ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) 'NR==1 { print $3 }')
+ ifeq ($(MNOCYGWIN),-mnocygwin)
+ OCAML_BACKEND := mingw
+ endif
+
+-OCAML_BACKEND ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) "NR==1 { print \$$2 }")
++OCAML_BACKEND ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) 'NR==1 { print $2 }')
+ OCAML_VERSION ?= $(shell $(OCAMLC) -version)
+
+ OCAMLBCFLAGS := -g
+@@ -94,7 +94,7 @@ SRC := wrappers.h gsl_misc.ml io.h \
+ ifeq ($(OCAML_BACKEND),cl)
+ include msvc.mak
+ else
+-ifeq ($(OCAML_BACKEND),gcc)
++ifneq (,$(findstring gcc,$(OCAML_BACKEND)))
+ include gcc.mak
+ else
+ include mingw.mak
diff --git a/dev-ml/ocamlgsl/metadata.xml b/dev-ml/ocamlgsl/metadata.xml
new file mode 100644
index 00000000000..926da8de7a5
--- /dev/null
+++ b/dev-ml/ocamlgsl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang='en'>
+ This is an interface to GSL (GNU scientific library), for the
+ Objective Caml langage.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild b/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild
new file mode 100644
index 00000000000..e7bfd54fc74
--- /dev/null
+++ b/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit base findlib
+
+DESCRIPTION="OCaml bindings for the GSL library"
+HOMEPAGE="http://oandrieu.nerim.net/ocaml/gsl/"
+SRC_URI="http://oandrieu.nerim.net/ocaml/gsl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-lang/ocaml-3.10:=
+ sci-libs/gsl"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/fort )"
+
+PATCHES=( "${FILESDIR}/${P}-ocaml311.patch" )
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install-findlib
+
+ dodoc README NEWS NOTES
+ doinfo *.info*
+ if use doc; then
+ dohtml doc/*
+ fi
+}
diff --git a/dev-ml/ocamlify/Manifest b/dev-ml/ocamlify/Manifest
new file mode 100644
index 00000000000..c30f51ce3d9
--- /dev/null
+++ b/dev-ml/ocamlify/Manifest
@@ -0,0 +1 @@
+DIST ocamlify-0.0.2.tar.gz 53184 SHA256 31963b89dec900583cf0852e851859d2bd8cd93e5a113960713ebb45377c0eb8 SHA512 e36dd09de6163be1e4d1a54944bb66871a5d461b3ead9ee8393d91a624cf6f7d038be8d8b9db36b04786adff67eb830d9aa3e81475e774dc0dee73adb985079e WHIRLPOOL b65bbb1149a3973281614e94305c95e1083dd892295889ab3d606930d16c3ea120f107ab9696c5233fc45f8eeed867c631e8ab88400de6b1e224d3964158bd49
diff --git a/dev-ml/ocamlify/metadata.xml b/dev-ml/ocamlify/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocamlify/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlify/ocamlify-0.0.2.ebuild b/dev-ml/ocamlify/ocamlify-0.0.2.ebuild
new file mode 100644
index 00000000000..7136cd449ee
--- /dev/null
+++ b/dev-ml/ocamlify/ocamlify-0.0.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="OCamlify allows to create OCaml source code by including whole file into OCaml string or string list"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocamlify"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1209/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+IUSE=""
+
+DOCS=( "README.txt" "AUTHORS.txt" )
diff --git a/dev-ml/ocamlmod/Manifest b/dev-ml/ocamlmod/Manifest
new file mode 100644
index 00000000000..45f099751c5
--- /dev/null
+++ b/dev-ml/ocamlmod/Manifest
@@ -0,0 +1,2 @@
+DIST ocamlmod-0.0.3.tar.gz 43107 SHA256 23740d023c38b0aa8d8010d8df3ba69b1b93a5c5ebdd5ef5058ced18f88cbb70 SHA512 5a3761e43a468b8e391a6559538b23dd9f264ae46d7281445bec8797b1967d425c5b3fe26e72499c5947dfa23fb574ada033a2851167fdf3732a089964de4ef6 WHIRLPOOL 150e9a79d7415d31038f3692d70de3eb6256b54442d825f6f3b9c743ca9e1001538c07f0ecaef46f029b5cf239b2951c435d33d4ed7d36487549811c674c172a
+DIST ocamlmod-0.0.7.tar.gz 46221 SHA256 a329a0919fa18128b48fd00897204d2aecec0c946c1956541589f807203f6f86 SHA512 bc88dcccc3cae0506a17bcfc0e178ba26e3b6d634c47e704621198ff7f1920852163fb017f04b9d2d2add19235f3a29a3fa2f894189329e6629694953a8e1b15 WHIRLPOOL e28827069b256c0aac0f1a935bcc741dd0be0b48d6da3bdd2fd3eb701f434863b87f76b20adff079324bdde8f4e66e578ef622693ad61a5d25561f0df8f2229c
diff --git a/dev-ml/ocamlmod/metadata.xml b/dev-ml/ocamlmod/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocamlmod/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlmod/ocamlmod-0.0.3.ebuild b/dev-ml/ocamlmod/ocamlmod-0.0.3.ebuild
new file mode 100644
index 00000000000..903fea8fd02
--- /dev/null
+++ b/dev-ml/ocamlmod/ocamlmod-0.0.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+#OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Generate OCaml modules from source files"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocamlmod/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/856/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+# test? ( >=dev-ml/ounit-1.1.1 )"
+
+DOCS=( "AUTHORS.txt" "README.txt" )
diff --git a/dev-ml/ocamlmod/ocamlmod-0.0.7.ebuild b/dev-ml/ocamlmod/ocamlmod-0.0.7.ebuild
new file mode 100644
index 00000000000..aeafb3f0508
--- /dev/null
+++ b/dev-ml/ocamlmod/ocamlmod-0.0.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+#OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Generate OCaml modules from source files"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocamlmod/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1350/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+# test? ( >=dev-ml/ounit-2.0.0 )"
+
+DOCS=( "AUTHORS.txt" "README.txt" )
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
new file mode 100644
index 00000000000..afe0d91c1df
--- /dev/null
+++ b/dev-ml/ocamlnet/Manifest
@@ -0,0 +1,4 @@
+DIST ocamlnet-3.7.7.tar.gz 3357674 SHA256 5b8e464a874018c5e48fc1edc752b83e014061f19316b5b14df8422d939e7609 SHA512 b500a92e6c5dc4d96ac26352923d78cb3a8b555deda038c41860aecbd20ee9ccbcfee949014c91f1266c937ae03fadd72c322e3cbe6456d23fd20b871114df6a WHIRLPOOL ceb4a9fc5d43fe89487589ae14c4bdf58d6c3d99d3a9ebc07fa722e894106899a2ae2aca91a47338d8004017fdd0d23632e187d96ec51479b43955daddbbb893
+DIST ocamlnet-4.0.2.tar.gz 4604051 SHA256 586e10b00ab1a60eaa5a10dd9bcf51487c7b657b65f093a2afdf8f24d3389f31 SHA512 d28615fcef5b73d857e9e3f637195dbd787631997c5594a589a5b1192f2cb6e61a3271b4872045dbdee9074ca892731ce66fa5e0d9efcdda6f96319a0c6049a6 WHIRLPOOL f01a2165ebaff143f9cacce28c80721e2f7d11b1577a39bf18ddfa7483d72308d36395c32f12f9cabc3295e1c1eaaa813f4d8f96425cfc4876097656682164b7
+DIST ocamlnet-4.0.3.tar.gz 4334416 SHA256 d3b030715fe2c5f395ff9c08f0a8d3baa8830161300ba29e5aa8fabb92b182c1 SHA512 3d0900bc73325433af59718c0168d7e13f49c3d6d0d330826e9b1fbe8c9b97b5289c3f063e9523e3a25155d8ef54117a1d458509bb0073b05a6442525cd45a86 WHIRLPOOL 7db6ee225a269de5290fd4473b3d61b357a425a2f597e770158e54c9844de5fd2e0c556fb736fd8e0e66606b267251f6c932c79d63e1550f7da36c843767cd11
+DIST ocamlnet-4.0.4.tar.gz 4336176 SHA256 becaa6c2b0c1ae6a3fb05139928442e5d4a685ea5033017060a86d70114e5f72 SHA512 f3bce94d43161e46bf0973bfbe0d9d5d7232136a24a27b987ae371a7aab129720df35bd0d6ef75126d587ee1fde56fe29d05bc44840724adf3be50ac250e7c85 WHIRLPOOL 34985fa9a49a60d6e671645a73533d6284b87205d63956265e631195ab117afdc6b41347e72f92d8cab711aef35db0c78a8989c955507dac66e8174ec6cb0242
diff --git a/dev-ml/ocamlnet/metadata.xml b/dev-ml/ocamlnet/metadata.xml
new file mode 100644
index 00000000000..6220a6cd728
--- /dev/null
+++ b/dev-ml/ocamlnet/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+<use>
+ <flag name='cryptokit'>Enables encryption support via <pkg>dev-ml/cryptokit</pkg></flag>
+ <flag name='httpd'>Enables net-httpd web server component</flag>
+ <flag name='zip'>Enables netzip support to read/write gzip data using object channels</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild b/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild
new file mode 100644
index 00000000000..779f710c2fb
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils findlib
+
+MY_P=${P/_beta/test}
+DESCRIPTION="Modules for OCaml application-level Internet protocols"
+HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="ZLIB GPL-2+"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="cryptokit gtk ssl tk httpd +ocamlopt +pcre zip"
+RESTRICT="installsources"
+
+# the auth-dh compile flag has been disabled as well, since it depends on
+# ocaml-cryptgps, which is not available.
+
+DEPEND=">=dev-ml/findlib-1.0
+ pcre? ( >=dev-ml/pcre-ocaml-5:= )
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
+ cryptokit? ( dev-ml/cryptokit:= )
+ gtk? ( >=dev-ml/lablgtk-2:= )
+ ssl? ( >=dev-ml/ocaml-ssl-0.4:= )
+ zip? ( dev-ml/camlzip:= )
+ "
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+ocamlnet_use_with() {
+ if use $1; then
+ echo "-with-$2"
+ else
+ echo "-without-$2"
+ fi
+}
+
+ocamlnet_use_enable() {
+ if use $1; then
+ echo "-enable-$2"
+ else
+ echo "-disable-$2"
+ fi
+}
+
+src_configure() {
+ ./configure \
+ -bindir /usr/bin \
+ -datadir /usr/share/${PN} \
+ $(ocamlnet_use_enable cryptokit crypto) \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable pcre pcre) \
+ $(ocamlnet_use_enable ssl ssl) \
+ $(ocamlnet_use_enable tk tcl) \
+ $(ocamlnet_use_enable zip zip) \
+ $(ocamlnet_use_with httpd nethttpd) \
+ || die "Error : econf failed!"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ export STRIP_MASK="*/bin/*"
+ findlib_src_install
+}
diff --git a/dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild b/dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild
new file mode 100644
index 00000000000..5fe2f7ad68f
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils findlib
+
+MY_P=${P/_beta/test}
+DESCRIPTION="Modules for OCaml application-level Internet protocols"
+HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="ZLIB GPL-2+"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
+RESTRICT="installsources"
+
+# the auth-dh compile flag has been disabled as well, since it depends on
+# ocaml-cryptgps, which is not available.
+
+RDEPEND=">=dev-ml/findlib-1.0
+ pcre? ( >=dev-ml/pcre-ocaml-5:= )
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
+ ssl? ( net-libs/gnutls:= )
+ gtk? ( >=dev-ml/lablgtk-2:= )
+ kerberos? ( virtual/krb5 )
+ zip? ( dev-ml/camlzip:= )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+ocamlnet_use_with() {
+ if use $1; then
+ echo "-with-$2"
+ else
+ echo "-without-$2"
+ fi
+}
+
+ocamlnet_use_enable() {
+ if use $1; then
+ echo "-enable-$2"
+ else
+ echo "-disable-$2"
+ fi
+}
+
+src_configure() {
+ ./configure \
+ -bindir /usr/bin \
+ -datadir /usr/share/${PN} \
+ $(ocamlnet_use_enable ssl gnutls) \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable kerberos gssapi) \
+ $(ocamlnet_use_enable pcre pcre) \
+ $(ocamlnet_use_enable tk tcl) \
+ $(ocamlnet_use_enable zip zip) \
+ $(ocamlnet_use_with httpd nethttpd) \
+ || die "Error : econf failed!"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ export STRIP_MASK="*/bin/*"
+ findlib_src_install
+}
diff --git a/dev-ml/ocamlnet/ocamlnet-4.0.3.ebuild b/dev-ml/ocamlnet/ocamlnet-4.0.3.ebuild
new file mode 100644
index 00000000000..5fe2f7ad68f
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-4.0.3.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils findlib
+
+MY_P=${P/_beta/test}
+DESCRIPTION="Modules for OCaml application-level Internet protocols"
+HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="ZLIB GPL-2+"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
+RESTRICT="installsources"
+
+# the auth-dh compile flag has been disabled as well, since it depends on
+# ocaml-cryptgps, which is not available.
+
+RDEPEND=">=dev-ml/findlib-1.0
+ pcre? ( >=dev-ml/pcre-ocaml-5:= )
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
+ ssl? ( net-libs/gnutls:= )
+ gtk? ( >=dev-ml/lablgtk-2:= )
+ kerberos? ( virtual/krb5 )
+ zip? ( dev-ml/camlzip:= )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+ocamlnet_use_with() {
+ if use $1; then
+ echo "-with-$2"
+ else
+ echo "-without-$2"
+ fi
+}
+
+ocamlnet_use_enable() {
+ if use $1; then
+ echo "-enable-$2"
+ else
+ echo "-disable-$2"
+ fi
+}
+
+src_configure() {
+ ./configure \
+ -bindir /usr/bin \
+ -datadir /usr/share/${PN} \
+ $(ocamlnet_use_enable ssl gnutls) \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable kerberos gssapi) \
+ $(ocamlnet_use_enable pcre pcre) \
+ $(ocamlnet_use_enable tk tcl) \
+ $(ocamlnet_use_enable zip zip) \
+ $(ocamlnet_use_with httpd nethttpd) \
+ || die "Error : econf failed!"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ export STRIP_MASK="*/bin/*"
+ findlib_src_install
+}
diff --git a/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild b/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild
new file mode 100644
index 00000000000..5fe2f7ad68f
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils findlib
+
+MY_P=${P/_beta/test}
+DESCRIPTION="Modules for OCaml application-level Internet protocols"
+HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="ZLIB GPL-2+"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
+RESTRICT="installsources"
+
+# the auth-dh compile flag has been disabled as well, since it depends on
+# ocaml-cryptgps, which is not available.
+
+RDEPEND=">=dev-ml/findlib-1.0
+ pcre? ( >=dev-ml/pcre-ocaml-5:= )
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
+ ssl? ( net-libs/gnutls:= )
+ gtk? ( >=dev-ml/lablgtk-2:= )
+ kerberos? ( virtual/krb5 )
+ zip? ( dev-ml/camlzip:= )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+ocamlnet_use_with() {
+ if use $1; then
+ echo "-with-$2"
+ else
+ echo "-without-$2"
+ fi
+}
+
+ocamlnet_use_enable() {
+ if use $1; then
+ echo "-enable-$2"
+ else
+ echo "-disable-$2"
+ fi
+}
+
+src_configure() {
+ ./configure \
+ -bindir /usr/bin \
+ -datadir /usr/share/${PN} \
+ $(ocamlnet_use_enable ssl gnutls) \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable kerberos gssapi) \
+ $(ocamlnet_use_enable pcre pcre) \
+ $(ocamlnet_use_enable tk tcl) \
+ $(ocamlnet_use_enable zip zip) \
+ $(ocamlnet_use_with httpd nethttpd) \
+ || die "Error : econf failed!"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ export STRIP_MASK="*/bin/*"
+ findlib_src_install
+}
diff --git a/dev-ml/ocamlpam/Manifest b/dev-ml/ocamlpam/Manifest
new file mode 100644
index 00000000000..31f56937679
--- /dev/null
+++ b/dev-ml/ocamlpam/Manifest
@@ -0,0 +1 @@
+DIST ocamlpam-1.1.tar.gz 7739 SHA256 e4e95614a858dc2d1991d789fa4d52d0e8181a1a097bba4933b2990b536e9b21 SHA512 84199a1e94db93952fd058c3bf03865c058abc0bb5fe09b489717e7aa77687496d40d80ed00be99e59e58c13b044356a05cae5f5aebf4faec470b66696042762 WHIRLPOOL dd94592ed42d0f84cafe894b12864c3b859bed4635af687d98b296414a9e6f8a83a47f47b3e8baaba1d7fd67d299b9dff9d960b582362247d6a47a00ae347e7b
diff --git a/dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch b/dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch
new file mode 100644
index 00000000000..c9450b7f30d
--- /dev/null
+++ b/dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch
@@ -0,0 +1,17 @@
+--- a/Makefile 2012-09-14 22:46:11.508415083 +0200
++++ b/Makefile 2012-09-14 22:46:34.526338371 +0200
+@@ -35,10 +35,13 @@
+
+ install:
+ install -d $(DESTDIR)/pam
+- install -m 644 -t $(DESTDIR)/pam META *.mli *.cmi *.cmx *.cma *.cmxa *.a
++ install -m 644 -t $(DESTDIR)/pam META *.mli *.cmi *.cma *.a
+ install -d $(DESTDIR)/stublibs
+ install -m 644 -t $(DESTDIR)/stublibs dll$(BASENAME).so
+
++install-opt:
++ install -m 644 -t $(DESTDIR)/pam *.cmx *.cmxa
++
+ dist: clean
+ mkdir -p $(DISTNAME)
+ -cp * $(DISTNAME)
diff --git a/dev-ml/ocamlpam/metadata.xml b/dev-ml/ocamlpam/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocamlpam/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlpam/ocamlpam-1.1.ebuild b/dev-ml/ocamlpam/ocamlpam-1.1.ebuild
new file mode 100644
index 00000000000..b2b67cd9ac2
--- /dev/null
+++ b/dev-ml/ocamlpam/ocamlpam-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="OCamlPAM - an OCaml library for PAM"
+HOMEPAGE="http://sharvil.nanavati.net/projects/ocamlpam/"
+SRC_URI="http://sharvil.nanavati.net/projects/${PN}/files/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ sys-libs/pam"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ emake META
+ emake byte
+ use ocamlopt && emake opt
+}
+
+src_install() {
+ findlib_src_preinst
+ emake DESTDIR="${OCAMLFIND_DESTDIR}" install
+ use ocamlopt && emake DESTDIR="${OCAMLFIND_DESTDIR}" install-opt
+ dodoc CHANGES README
+}
diff --git a/dev-ml/ocamlsdl/Manifest b/dev-ml/ocamlsdl/Manifest
new file mode 100644
index 00000000000..77f328fc865
--- /dev/null
+++ b/dev-ml/ocamlsdl/Manifest
@@ -0,0 +1 @@
+DIST ocamlsdl-0.9.1.tar.gz 226085 SHA256 abfb295b263dc11e97fffdd88ea1a28b46df8cc2b196777093e4fe7f509e4f8f SHA512 8be444a3a4d1b56919c7a28fb607cbd33446f8cf30de3768a9926f23f86690d98ebb8ce6f2fb28c167ea76ac138b670283c5c93d72ea2565aa49a0dc92de181a WHIRLPOOL f9bf44f6d63626bbae3621100b7ed19ad6eaf392f1e9d2ef39440b17ac279b92a5156bff9cf432e3241fd5ec2419a7f002602405d13d6fb1b0bdbcd0baf233d8
diff --git a/dev-ml/ocamlsdl/files/ocamlopt.patch b/dev-ml/ocamlsdl/files/ocamlopt.patch
new file mode 100644
index 00000000000..603654dceff
--- /dev/null
+++ b/dev-ml/ocamlsdl/files/ocamlopt.patch
@@ -0,0 +1,22 @@
+Index: ocamlsdl-0.9.1/src/Makefile
+===================================================================
+--- ocamlsdl-0.9.1.orig/src/Makefile
++++ ocamlsdl-0.9.1/src/Makefile
+@@ -17,7 +17,7 @@ gfx_MODULES = sdlgfx
+
+ TARGETS = sdl.cma $(patsubst %,sdl%.cma,$(PARTS))
+ TARGETS += libsdlstub.$(A) $(patsubst %,libsdl%stub.$(A),$(PARTS))
+-ifdef OCAMLOPT
++ifneq ($(OCAMLOPT),no)
+ TARGETS += sdl.cmxa $(patsubst %,sdl%.cmxa,$(PARTS))
+ endif
+
+@@ -87,7 +87,7 @@ ifdef OCAMLFIND
+ install-findlib :
+ $(OCAMLFIND) install sdl ../META \
+ *.cma lib*.$(A) *.cmi *.mli \
+- $(if $(OCAMLOPT),*.cmxa sdl*.$(A) *.cmx) \
++ $(if $(filter-out $(OCAMLOPT),no),*.cmxa sdl*.$(A) *.cmx) \
+ $(if $(OCAMLMKLIB),dll*.so)
+ ifeq ($(PLATFORM),Apple)
+ $(RANLIB) $$($(OCAMLFIND) printconf destdir)/sdl/*.$(A)
diff --git a/dev-ml/ocamlsdl/metadata.xml b/dev-ml/ocamlsdl/metadata.xml
new file mode 100644
index 00000000000..1f4835fdab3
--- /dev/null
+++ b/dev-ml/ocamlsdl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="sourceforge">ocamlsdl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild b/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild
new file mode 100644
index 00000000000..7b609fd7b9d
--- /dev/null
+++ b/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="OCaml SDL Bindings"
+
+HOMEPAGE="http://ocamlsdl.sourceforge.net"
+SRC_URI="mirror://sourceforge/ocamlsdl/${P}.tar.gz"
+LICENSE="LGPL-2"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ppc x86"
+IUSE="doc +ocamlopt opengl truetype" #noimage nomixer
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt=]
+ >=media-libs/libsdl-1.2
+ opengl? ( >=dev-ml/lablgl-0.98:= )
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-image-1.2
+ truetype? ( >=media-libs/sdl-ttf-2.0 )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/ocamlopt.patch"
+}
+
+src_configure() {
+ myconf=""
+ if use opengl; then
+ destdir=`ocamlfind printconf destdir`
+ lablgldir=`find ${destdir} -name "lablgl" -or -name "lablGL"`
+ if [ -z "${lablgldir}" ]; then
+ destdir=`ocamlc -where`
+ lablgldir=`find ${destdir} -name "lablgl" -or -name "lablGL"`
+ fi
+
+ if [ ! -z "${lablgldir}" ]; then
+ myconf="--with-lablgldir=${lablgldir}"
+ fi
+ fi
+
+ #use noimage && myconf="${myconf} --without-sdl-image"
+ #use nomixer && myconf="${myconf} --without-sdl-mixer"
+
+ econf $myconf \
+ `use_enable truetype sdl-ttf`
+}
+
+src_install() {
+ findlib_src_install
+
+ dodoc AUTHORS NEWS README
+ doinfo doc/*.info*
+
+ if use doc; then
+ dohtml doc/html/*
+ fi
+}
diff --git a/dev-ml/ocamlweb/Manifest b/dev-ml/ocamlweb/Manifest
new file mode 100644
index 00000000000..1cddc0738d2
--- /dev/null
+++ b/dev-ml/ocamlweb/Manifest
@@ -0,0 +1,2 @@
+DIST ocamlweb-1.38.tar.gz 143938 SHA256 0aef852953fc21517ba1b05e0ca3f4db1368780c191e999a3742193c5534696d SHA512 5b7587bf01d664d47cc73e442920a925020387225a8192be0f34724d5933ebf433109ed9b3e24029c3206a427ad5ff6d51319a8bcb7b074cc93e97864ad06a91 WHIRLPOOL fd07ecbff91ff6cec1de3755cda872ce4977d767fad368328c7bbf7504098ba6bd2bda7f8277adb677b157fad9448c26460b509e98f315d0a2d8b8f5accf76cc
+DIST ocamlweb-1.39.tar.gz 141866 SHA256 c52a7bff5fc9535829a0bdf0345c35590dddb4c020095bff6c62fdcb16102b07 SHA512 f4e2d330222378b632ace70efb7062c93002a85db6dc9a821706a76a1e1c00da4d4e82e618f162584003b821bc72d2d11508ae22474db61cc4367ed528d21d50 WHIRLPOOL b6ad8f4c417bb8f8fd3ea55a1fd61df6c930b17567e722ed654fdf53df6247f99c3250286e01c706c67cfc030d86b9a608f5603e67ef69e4c0bcd6c519afe579
diff --git a/dev-ml/ocamlweb/files/ocamlweb-1.37-strip.patch b/dev-ml/ocamlweb/files/ocamlweb-1.37-strip.patch
new file mode 100644
index 00000000000..393391fe52c
--- /dev/null
+++ b/dev-ml/ocamlweb/files/ocamlweb-1.37-strip.patch
@@ -0,0 +1,19 @@
+Index: ocamlweb-1.37/Makefile.in
+===================================================================
+--- ocamlweb-1.37.orig/Makefile.in
++++ ocamlweb-1.37/Makefile.in
+@@ -61,14 +61,12 @@ byte: ocamlweb.byte
+
+ ocamlweb: $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+ $(CAMLCOPT) $(OPTFLAGS) -o $@ $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+- strip ocamlweb
+
+ ocamlweb.byte: $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
+ $(CAMLC) $(BYTEFLAGS) -o $@ $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
+
+ ocamlweb.static: $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+ $(CAMLCOPT) $(OPTFLAGS) -cclib -static -o $@ $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+- strip $@
+
+ debug: $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
+ $(CAMLC) $(BYTEFLAGS) -o ocamlweb-debug $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
diff --git a/dev-ml/ocamlweb/metadata.xml b/dev-ml/ocamlweb/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ocamlweb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlweb/ocamlweb-1.38-r1.ebuild b/dev-ml/ocamlweb/ocamlweb-1.38-r1.ebuild
new file mode 100644
index 00000000000..1932bd2d809
--- /dev/null
+++ b/dev-ml/ocamlweb/ocamlweb-1.38-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit latex-package eutils base
+
+DESCRIPTION="O'Caml literate programming tool"
+HOMEPAGE="http://www.lri.fr/~filliatr/ocamlweb/"
+SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlweb/${P}.tar.gz"
+
+IUSE=""
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+
+DEPEND=">=dev-lang/ocaml-3.09:=
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ "
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.37-strip.patch"
+ )
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake UPDATETEX="" prefix="${D}/usr" MANDIR="${D}/usr/share/man" BASETEXDIR="${D}/${TEXMF}" install
+ dodoc README CHANGES
+}
diff --git a/dev-ml/ocamlweb/ocamlweb-1.39.ebuild b/dev-ml/ocamlweb/ocamlweb-1.39.ebuild
new file mode 100644
index 00000000000..1c411c9d4aa
--- /dev/null
+++ b/dev-ml/ocamlweb/ocamlweb-1.39.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit latex-package eutils base
+
+DESCRIPTION="O'Caml literate programming tool"
+HOMEPAGE="http://www.lri.fr/~filliatr/ocamlweb/"
+SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlweb/${P}.tar.gz"
+
+IUSE=""
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND=">=dev-lang/ocaml-3.09:=
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ "
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.37-strip.patch"
+ )
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake UPDATETEX="" prefix="${D}/usr" MANDIR="${D}/usr/share/man" BASETEXDIR="${D}/${TEXMF}" install
+ dodoc README CHANGES
+}
diff --git a/dev-ml/ocurl/Manifest b/dev-ml/ocurl/Manifest
new file mode 100644
index 00000000000..8bf38d6461f
--- /dev/null
+++ b/dev-ml/ocurl/Manifest
@@ -0,0 +1,3 @@
+DIST ocurl-0.6.1.tgz 101147 SHA256 c671d605d36a8051867f7483a9f7ec93b3985f5e4824073f1ceb85d19e09bad3 SHA512 2c82c9b8e8d6ee26a85add7a2698ab1f61478777f9c7b0b217cacb6491067b619f508b41c22eaa54cf249147d287a77c62a00aef3b19ee6c135426c4559ab7f3 WHIRLPOOL 921939801a1a8d73052954b3d6699c41d2e7f360fe7e1af41f8681f1179aef3d831f1f556cdc0f0c1cee2c9ef1f2bf4caa38923ddfdd57642b6791cb40089289
+DIST ocurl-0.7.4.tar.gz 104716 SHA256 51af1d4fc38a7be15cac38a1367f4e2dcd8c2014d8d2e545d96d25c8d2f0135e SHA512 1d3a92d89c55434028862dd97c6eb5d3d8d579e2dd44117be82b09658543c90a0800e9203892eb204ab18e6c8c6bfd18cfc355e32c7393daa1c7beb2c39e97da WHIRLPOOL eab3ff62c77181bb2a8e6906bd3de828cee3569cdfa952b930c8e7b704382ef071061727d4a8709438f2ff71aa40e5187e4473e3fa03f74f83da2470e7b05708
+DIST ocurl-0.7.5.tar.gz 103981 SHA256 a6432a2f0109525b4128337ac9708b0192a97ee8f958a5f65b6c8f25435f6cff SHA512 8deb2e353fae6667555d48f5694c0dec86f82f2702536a50842baae3d6bb0d37a24e4b8e39ff11d3d42feebdd412c92a3e43f27c9f551cd54994527fdcf71778 WHIRLPOOL 77a9866d97c07a8cb2bdd69743d0bf5f80a9cdbd5e20bd0b200ab59d03dd286ef712988bf098aba01d337448ee47e9f95b69872e0e377948c99810826c7cf833
diff --git a/dev-ml/ocurl/metadata.xml b/dev-ml/ocurl/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/ocurl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocurl/ocurl-0.6.1.ebuild b/dev-ml/ocurl/ocurl-0.6.1.ebuild
new file mode 100644
index 00000000000..e2a2bd40c58
--- /dev/null
+++ b/dev-ml/ocurl/ocurl-0.6.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="OCaml interface to the libcurl library"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocurl/"
+LICENSE="MIT"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1374/${P}.tgz"
+
+SLOT="0/${PV}"
+IUSE="examples"
+
+RDEPEND=">=net-misc/curl-7.9.8
+ >=dev-lang/ocaml-3.12:=[ocamlopt]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+KEYWORDS="amd64 ppc x86"
+
+src_compile()
+{
+ emake -j1 all
+}
+
+src_install()
+{
+ findlib_src_install
+ dodoc CHANGES.txt README
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/ocurl/ocurl-0.7.4.ebuild b/dev-ml/ocurl/ocurl-0.7.4.ebuild
new file mode 100644
index 00000000000..74f2dc75375
--- /dev/null
+++ b/dev-ml/ocurl/ocurl-0.7.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="OCaml interface to the libcurl library"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocurl/"
+LICENSE="MIT"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1523/${P}.tar.gz"
+
+SLOT="0/${PV}"
+IUSE="examples"
+
+RDEPEND=">=net-misc/curl-7.9.8
+ dev-ml/lwt:=
+ >=dev-lang/ocaml-3.12:=[ocamlopt]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+KEYWORDS="~amd64 ~x86"
+
+src_compile()
+{
+ emake -j1 all
+}
+
+src_install()
+{
+ findlib_src_install
+ dodoc CHANGES.txt README
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/ocurl/ocurl-0.7.5.ebuild b/dev-ml/ocurl/ocurl-0.7.5.ebuild
new file mode 100644
index 00000000000..833a892cf16
--- /dev/null
+++ b/dev-ml/ocurl/ocurl-0.7.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="OCaml interface to the libcurl library"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocurl/"
+LICENSE="MIT"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1537/${P}.tar.gz"
+
+SLOT="0/${PV}"
+IUSE="examples"
+
+RDEPEND=">=net-misc/curl-7.9.8
+ dev-ml/lwt:=
+ >=dev-lang/ocaml-3.12:=[ocamlopt]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+KEYWORDS="~amd64 ~x86"
+
+src_compile()
+{
+ emake -j1 all
+}
+
+src_install()
+{
+ findlib_src_install
+ dodoc CHANGES.txt README
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/odns/Manifest b/dev-ml/odns/Manifest
new file mode 100644
index 00000000000..fbf4fb9d451
--- /dev/null
+++ b/dev-ml/odns/Manifest
@@ -0,0 +1 @@
+DIST odns-0.3.tar.gz 57616 SHA256 368bfbfe240de99f705e162c4382ff51969ff0f69d2c8315f52b813f919f148f SHA512 6d40d7fc882185500aaa58582112abd57faf72ee0a57fabc211ad4bf39739b39cb956e6cb109808e05d767560a942c3300e9ec0e6b28c13cec2a2b4dd0c3bf5d WHIRLPOOL 911f92169ceeb0e35af37585ce2e48e28f12b371784c156c741a3d66fe7d30bf8620bc76d9dce0948c73ec666ccea934a7a91e7cef88e1e9beacaf39f941a6e5
diff --git a/dev-ml/odns/files/odns-0.3-parmake.patch b/dev-ml/odns/files/odns-0.3-parmake.patch
new file mode 100644
index 00000000000..7034abd25cf
--- /dev/null
+++ b/dev-ml/odns/files/odns-0.3-parmake.patch
@@ -0,0 +1,16 @@
+fix parallel make
+https://bugs.gentoo.org/show_bug.cgi?id=422683
+
+Index: odns-0.3/OCamlMakefile
+===================================================================
+--- odns-0.3.orig/OCamlMakefile
++++ odns-0.3/OCamlMakefile
+@@ -1152,7 +1152,7 @@ $(BCDIDIR)/%.di $(NCDIDIR)/%.di: %.mli
+ $(DOC_DIR)/$(RESULT)/html:
+ mkdir -p $@
+
+-$(DOC_DIR)/$(RESULT)/html/index.html: $(DOC_DIR)/$(RESULT)/html $(DOC_FILES)
++$(DOC_DIR)/$(RESULT)/html/index.html: $(DOC_DIR)/$(RESULT)/html $(DOC_FILES) byte-code-library
+ rm -rf $</*
+ $(QUIET)pp=`sed -n -e '/^#/d' -e 's/(\*pp \([^*]*\) \*)/\1/p;q' $(FIRST_DOC_FILE)`; \
+ if [ -z "$$pp" ]; then \
diff --git a/dev-ml/odns/metadata.xml b/dev-ml/odns/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/odns/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/odns/odns-0.3.ebuild b/dev-ml/odns/odns-0.3.ebuild
new file mode 100644
index 00000000000..b2671781a3e
--- /dev/null
+++ b/dev-ml/odns/odns-0.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="OCaml library to query DNS servers"
+HOMEPAGE="http://odns.tuxfamily.org/"
+SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]"
+DEPEND="${RDEPEND}"
+
+CLIBS="" # Workaround for bug #422683
+
+src_prepare() {
+ sed -i -e "s/version=\"0.2\"/version=\"${PV}\"/" META || die
+ epatch "${FILESDIR}/${P}-parmake.patch"
+}
+
+src_compile() {
+ emake -j1 #453434
+}
+
+src_install() {
+ findlib_src_preinst
+ PREFIX="${D}/usr" emake install
+ dodoc AUTHORS README
+}
diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest
new file mode 100644
index 00000000000..a3c6dce93a8
--- /dev/null
+++ b/dev-ml/opam/Manifest
@@ -0,0 +1,3 @@
+DIST opam-1.2.0.tar.gz 596525 SHA256 f64800d027cc78448a8c5d701fd6f13a4986ca8796e5f2b362c9787b3e8a9c61 SHA512 eed6e1f9242b5264f4874c00b3a4b319f5838a620782905a891a4dbaed2fef0366fad00808ffadb80ace82f419331d9bc6fc914c179ca5983cf178b44b2e4cba WHIRLPOOL 950d4f2780b81f9f121738c9ca2ef57a0fe595604255557ceafe3f912ec3264e873ee7c0c20c96d3e10a10ad53d494e6e64ac147c7f1c68b27959002b4d8c845
+DIST opam-1.2.1.tar.gz 638007 SHA256 dfb17667ba371637f8d5f6a2b1993224ce8a641cf530e2ce0a7544d76aee0f42 SHA512 4bb3ce5a578eb54475015d9941c4e6763f1d7cfe18a0873825529d31fd492c2ad2956654024f896af1c85d57c1ba324a2aa38617f27f04e1a32e0d51dfe984f8 WHIRLPOOL 0b45f8e18c153743bf0d10c802e0c0c687fcb9489b68fa1cde68e9c43a4e577f1e7f85a0efb1aa8b42ea14dfb509d5429f442a82db3e2d2c6619551e90e53ab1
+DIST opam-1.2.2.tar.gz 648951 SHA256 3e4a05df6ff8deecba019d885ebe902eb933acb6e2fc7784ffee1ee14871e36a SHA512 12105b5219a14d4c4cb29c387dd5af858d2b4a2a1bad7dcd70e4c284fc52848df82933396571b85251d904b3c14cdf02db55060c1ba29dc34b8bab3721d05f54 WHIRLPOOL 97d6ab75620a4ed18b45d80e88e77564af457606cbb8dd4591030574bfdbff5c16d508e81438b78198b87511151b1b030e6a51c2370e3110ae21216846f37836
diff --git a/dev-ml/opam/metadata.xml b/dev-ml/opam/metadata.xml
new file mode 100644
index 00000000000..ae1ce054e11
--- /dev/null
+++ b/dev-ml/opam/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">ocaml/opam</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/opam/opam-1.2.0.ebuild b/dev-ml/opam/opam-1.2.0.ebuild
new file mode 100644
index 00000000000..61981b22515
--- /dev/null
+++ b/dev-ml/opam/opam-1.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A source-based package manager for OCaml"
+HOMEPAGE="http://opam.ocaml.org/"
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ocaml/opam.git"
+fi
+
+DEPEND="dev-lang/ocaml:=
+ || ( net-misc/wget net-misc/curl )
+ dev-ml/extlib:=
+ dev-ml/ocaml-re:=
+ dev-ml/ocamlgraph:=
+ dev-ml/cmdliner:=
+ dev-ml/cudf:=
+ dev-ml/dose3:=
+ dev-ml/uutf:=
+ dev-ml/jsonm:=
+"
+RDEPEND="${DEPEND}
+ dev-ml/findlib
+"
+
+src_compile() {
+ emake -j1
+ cd doc
+ emake man
+}
+
+src_test() {
+ EMAIL=foo@bar.com emake -j1 tests
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall
+}
diff --git a/dev-ml/opam/opam-1.2.1.ebuild b/dev-ml/opam/opam-1.2.1.ebuild
new file mode 100644
index 00000000000..416dff60d34
--- /dev/null
+++ b/dev-ml/opam/opam-1.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A source-based package manager for OCaml"
+HOMEPAGE="http://opam.ocaml.org/"
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ocaml/opam.git"
+fi
+
+DEPEND="dev-lang/ocaml:=
+ || ( net-misc/wget net-misc/curl )
+ dev-ml/extlib:=
+ dev-ml/ocaml-re:=
+ dev-ml/ocamlgraph:=
+ dev-ml/cmdliner:=
+ dev-ml/cudf:=
+ dev-ml/dose3:=
+ dev-ml/uutf:=
+ dev-ml/jsonm:=
+"
+RDEPEND="${DEPEND}
+ dev-ml/findlib
+"
+
+src_compile() {
+ emake -j1
+ cd doc
+ emake man
+}
+
+src_test() {
+ EMAIL=foo@bar.com emake -j1 tests
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall
+}
diff --git a/dev-ml/opam/opam-1.2.2.ebuild b/dev-ml/opam/opam-1.2.2.ebuild
new file mode 100644
index 00000000000..416dff60d34
--- /dev/null
+++ b/dev-ml/opam/opam-1.2.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A source-based package manager for OCaml"
+HOMEPAGE="http://opam.ocaml.org/"
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ocaml/opam.git"
+fi
+
+DEPEND="dev-lang/ocaml:=
+ || ( net-misc/wget net-misc/curl )
+ dev-ml/extlib:=
+ dev-ml/ocaml-re:=
+ dev-ml/ocamlgraph:=
+ dev-ml/cmdliner:=
+ dev-ml/cudf:=
+ dev-ml/dose3:=
+ dev-ml/uutf:=
+ dev-ml/jsonm:=
+"
+RDEPEND="${DEPEND}
+ dev-ml/findlib
+"
+
+src_compile() {
+ emake -j1
+ cd doc
+ emake man
+}
+
+src_test() {
+ EMAIL=foo@bar.com emake -j1 tests
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall
+}
diff --git a/dev-ml/optcomp/Manifest b/dev-ml/optcomp/Manifest
new file mode 100644
index 00000000000..15aee86bc96
--- /dev/null
+++ b/dev-ml/optcomp/Manifest
@@ -0,0 +1,2 @@
+DIST optcomp-1.5.tar.gz 51964 SHA256 1041762f2a5ba014b26a24c31ed46c6c08cd89754c8914388f358161b7e97d8d SHA512 15fc215e19e4e7854d5b6b005ece6301e5847cf8cdfc1d017a858fd3a0fd4309346e4347c2ab29902d929d67d284a279001ae518b498c997e1648bfcd2513142 WHIRLPOOL 1a88fa85f626a590d9edca8a1551ac963338ae7a68f5f7c3ab028b5251d696c83473eb8ebfddaf653421409af79bd01ff07084c27009b839c0251d0959dedd41
+DIST optcomp-1.6.tar.gz 56370 SHA256 5022d80e4d7dba4ada3aa57156503fad75fcd6d7b13cfa8580012a1d9f581042 SHA512 19fa04a42e5ed589979647469759017442598d170bf82d49c3b720d1b1b6bbe3066ae3ffee77a3f15dcbf51be5d7a8934300873391ebce423f3a0f3878250c18 WHIRLPOOL ca453c60a367e58747363cb9f4d20f7e34c3f1a63a767104903b810d1e50007bca6340ed517cc98a0563ad6bf0e934ff3ded448a441627280c7e6a51097ca676
diff --git a/dev-ml/optcomp/metadata.xml b/dev-ml/optcomp/metadata.xml
new file mode 100644
index 00000000000..d5c2ef5378e
--- /dev/null
+++ b/dev-ml/optcomp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">diml/optcomp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/optcomp/optcomp-1.5.ebuild b/dev-ml/optcomp/optcomp-1.5.ebuild
new file mode 100644
index 00000000000..01e62206913
--- /dev/null
+++ b/dev-ml/optcomp/optcomp-1.5.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Optional compilation for OCaml with cpp-like directives"
+HOMEPAGE="http://github.com/diml/optcomp"
+SRC_URI="http://github.com/diml/optcomp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES.md README.md )
diff --git a/dev-ml/optcomp/optcomp-1.6.ebuild b/dev-ml/optcomp/optcomp-1.6.ebuild
new file mode 100644
index 00000000000..e210066ae35
--- /dev/null
+++ b/dev-ml/optcomp/optcomp-1.6.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Optional compilation for OCaml with cpp-like directives"
+HOMEPAGE="http://github.com/diml/optcomp"
+SRC_URI="http://github.com/diml/optcomp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES.md README.md )
diff --git a/dev-ml/ounit/Manifest b/dev-ml/ounit/Manifest
new file mode 100644
index 00000000000..efff00c5261
--- /dev/null
+++ b/dev-ml/ounit/Manifest
@@ -0,0 +1,2 @@
+DIST ounit-1.1.2.tar.gz 58055 SHA256 e6bc1b0cdbb5b5552d85bee653e23aafe20bb97fd7cd229c867d01ff999888e3 SHA512 7f4e7e80dea0d508a286bcb306c163b2d19422442798497fe861d6095a5be711b4d078c25d595a0c1dcb7f5d9f9dd2d6aa37c6574b9c7bd717b131cf00312dbc WHIRLPOOL 87009c223fc7c6d05526e90e5f9e6e8d3753121bb04760879e3695a5cc47d9405f266ecd74a32e16f33315a233ac2cfd3c136e1e5314b7b93ff11b759c606e13
+DIST ounit-2.0.0.tar.gz 103504 SHA256 4d4a05b20c39c60d7486fb7a90eb4c5c08e8c9862360b5938b97a09e9bd21d85 SHA512 e12c8fb534ef88de7a83a34e5a578060a90abfce601d8532408412a56e843f69b89cfd6ce69bd7c5519e9a04e306d46339e9b8f13975727a3458afe20cd776d0 WHIRLPOOL 4b2ea33cdb2ad08ebb97c80a1c9f4e59c4f5f08ea52c7486cc892bf84fce5193e2a0a220c37c0304426ddae010aa18f6f6895427e78a71b784b9b367f41b3a8c
diff --git a/dev-ml/ounit/metadata.xml b/dev-ml/ounit/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/ounit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ounit/ounit-1.1.2.ebuild b/dev-ml/ounit/ounit-1.1.2.ebuild
new file mode 100644
index 00000000000..92278847e6d
--- /dev/null
+++ b/dev-ml/ounit/ounit-1.1.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Unit testing framework for OCaml"
+HOMEPAGE="http://ounit.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/886/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86"
+DEPEND=""
+RDEPEND="${DEPEND}"
+IUSE=""
+
+DOCS=( "README.txt" "AUTHORS.txt" "changelog" )
diff --git a/dev-ml/ounit/ounit-2.0.0.ebuild b/dev-ml/ounit/ounit-2.0.0.ebuild
new file mode 100644
index 00000000000..66fb5e424a6
--- /dev/null
+++ b/dev-ml/ounit/ounit-2.0.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Unit testing framework for OCaml"
+HOMEPAGE="http://ounit.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1258/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm ppc x86"
+DEPEND=""
+RDEPEND="${DEPEND}"
+IUSE=""
+
+DOCS=( "README.txt" "AUTHORS.txt" "changelog" )
diff --git a/dev-ml/pa_bench/Manifest b/dev-ml/pa_bench/Manifest
new file mode 100644
index 00000000000..6f159fd0081
--- /dev/null
+++ b/dev-ml/pa_bench/Manifest
@@ -0,0 +1,3 @@
+DIST pa_bench-109.55.02.tar.gz 51237 SHA256 98f0158e0997ab400d182537a6f6bff4ebccf0e14424fa470391b17c2e1e5dc8 SHA512 fa129c3d3b1c3a6e6f09f43751eba8cb4bb775b6a1b2031249507c05538364710844d0d6efc58b283552980629d0f2a2189b75aa24d58daa8d8ce12883f2ee89 WHIRLPOOL f0b81d9c6ac377684adc0a86b91042a1ce1ba2d15cd9f86093cd58d44f90d8917807c9ebc460b577251d8194a97ae06561e51de22ccb586ba53518809fbd26e3
+DIST pa_bench-111.28.00.tar.gz 53158 SHA256 2cbb6fca9ba8889c97236e05d92451cf3880aabbe4430519d131f5f68d80f4f3 SHA512 0eb7af5e2db9889dcbae244569a3cd5c5f631e7abc70684056f1c11d8702225f16e954d79e98ec373af424819183aa33835a8b70cb14fe544ffc475e98684ef1 WHIRLPOOL 5a7b32062b9599b5d25c1b34009e47d899a33a4ea092aa10de9f896bcedf0dfc4766872b4155cb11e4a4ef0319aec26b2f1ac8082e54f59762e7ff3cc3ee2177
+DIST pa_bench-112.06.00.tar.gz 54371 SHA256 e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870 SHA512 1e75c5b765051357f17bfe1213af16174a07903da7c9ecff3ce937227385d815c25f6430f103be3b65b69ba0d7a3a22051ef7bf28d577cf26e87c3a628040fdc WHIRLPOOL c2453c243590bbea85cba7ac3c85b6ffc245ec157bfa453d2c0b787961b72a759b7f845a40ec67d114c7ebf5f18e4677ab34743bd7e3cc05c31b0d85e5dbde79
diff --git a/dev-ml/pa_bench/metadata.xml b/dev-ml/pa_bench/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/pa_bench/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/pa_bench/pa_bench-109.55.02.ebuild b/dev-ml/pa_bench/pa_bench-109.55.02.ebuild
new file mode 100644
index 00000000000..a29cccf54b2
--- /dev/null
+++ b/dev-ml/pa_bench/pa_bench-109.55.02.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension writing inline benchmarks"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:=
+ dev-ml/pa_ounit:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/pa_bench/pa_bench-111.28.00.ebuild b/dev-ml/pa_bench/pa_bench-111.28.00.ebuild
new file mode 100644
index 00000000000..2f250bcb4fe
--- /dev/null
+++ b/dev-ml/pa_bench/pa_bench-111.28.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension writing inline benchmarks"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109:=
+ dev-ml/pa_ounit:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/pa_bench/pa_bench-112.06.00.ebuild b/dev-ml/pa_bench/pa_bench-112.06.00.ebuild
new file mode 100644
index 00000000000..6ab29327882
--- /dev/null
+++ b/dev-ml/pa_bench/pa_bench-112.06.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension writing inline benchmarks"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109:=
+ dev-ml/pa_ounit:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/pa_ounit/Manifest b/dev-ml/pa_ounit/Manifest
new file mode 100644
index 00000000000..3fa1773d564
--- /dev/null
+++ b/dev-ml/pa_ounit/Manifest
@@ -0,0 +1,3 @@
+DIST pa_ounit-112.17.00.tar.gz 57314 SHA256 469b67553074e4dfc153eb58fe352c287b1e93b3f38145d512530875efdac612 SHA512 9f96e9fffc5e92fae0df4a8f80ec2b86c41464a6227e1adb3485ae73538be67635e76267b8c56f25d9d6c201b740f23b6f0651c08f21b0c67508131d966f9025 WHIRLPOOL 4c7dc1d758ba66246dff766e21ca5854386c9c73b34725282fbd77e3ab5a433065703479cbb8afd8b95b6d132ddc383f2bd393796e8b4ff0d5816821449e766d
+DIST pa_ounit-112.24.tar.gz 57567 SHA256 fa04e72fe1db41e6dc64f9707cf5705cb9b957aa93265120c875c808eb9b9b96 SHA512 7252b08d157d4759bc8215cc675b7df492a6ec988af4b477d6842835b0da0bdc50b803ffdabff0d888efbb79db5b506b7667d646dfd3a9c6bd654cd659a524af WHIRLPOOL a40abbb74ea451e470a6949d2ae339025141ece8656f3df0c6410301f9b94a138907a5ab74c980726637b66241f2546a4fc9049f6909674d3bc5b11a7af02a68
+DIST pa_ounit-112.35.00.tar.gz 57778 SHA256 ab016c6aba04109d75094d5241f8a9586e060abb830518e824ef064f6cba9a93 SHA512 99421405ff09ce4e36f9b68b2ababdc0eb4657e3e361f5edd46641030f84efe7cc72ab54ce0980da243e3a812fc25a00ab5064004dc18d1346506a1ac10a2b35 WHIRLPOOL 9837649797f9dd11097ee8d17f07a4b45a905da4f0fdf100f86eaf17a9c2c14e7177e4479a9b3e98139eaca7f0baba715eb8af36571275f9640df90ecc7db19e
diff --git a/dev-ml/pa_ounit/metadata.xml b/dev-ml/pa_ounit/metadata.xml
new file mode 100644
index 00000000000..97836330981
--- /dev/null
+++ b/dev-ml/pa_ounit/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <longdescription lang="en">
+Pa_ounit is a syntax extension that helps writing in-line test in ocaml
+code. It allows user to register tests with a new `TEST` top-level expressions
+and automatically collects all the tests in a module (in a function
+`ounit_tests` of type `unit -&gt; OUnit.test`).
+ </longdescription>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/pa_ounit/pa_ounit-112.17.00.ebuild b/dev-ml/pa_ounit/pa_ounit-112.17.00.ebuild
new file mode 100644
index 00000000000..e81ca0c0c21
--- /dev/null
+++ b/dev-ml/pa_ounit/pa_ounit-112.17.00.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension that helps writing in-line test in ocaml"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/ounit-1.1.1:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "readme.md" )
diff --git a/dev-ml/pa_ounit/pa_ounit-112.24.00.ebuild b/dev-ml/pa_ounit/pa_ounit-112.24.00.ebuild
new file mode 100644
index 00000000000..73d54fc358e
--- /dev/null
+++ b/dev-ml/pa_ounit/pa_ounit-112.24.00.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension that helps writing in-line test in ocaml"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P%.*}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/ounit-1.1.1:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "readme.md" )
diff --git a/dev-ml/pa_ounit/pa_ounit-112.35.00.ebuild b/dev-ml/pa_ounit/pa_ounit-112.35.00.ebuild
new file mode 100644
index 00000000000..e81ca0c0c21
--- /dev/null
+++ b/dev-ml/pa_ounit/pa_ounit-112.35.00.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension that helps writing in-line test in ocaml"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/ounit-1.1.1:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "readme.md" )
diff --git a/dev-ml/pa_structural_sexp/Manifest b/dev-ml/pa_structural_sexp/Manifest
new file mode 100644
index 00000000000..1ac5d213181
--- /dev/null
+++ b/dev-ml/pa_structural_sexp/Manifest
@@ -0,0 +1 @@
+DIST pa_structural_sexp-112.35.00.tar.gz 51683 SHA256 8425bcdd59afd2d1efb96521b5719ce8308c3ee7fb8cd94981d5eac203430721 SHA512 1ae56cbfdbd0badd3d0c4dd6a50fce46656ea41f28db7d1cb653f8549eda06eb402251f6b31974abd9c1a292a73203c267755d8eb4cd01575cf3e19a3eaf61de WHIRLPOOL e016d2608a1511531343f430eebef6170a2e17f23d993d6105a1706fe3fa62d500d1b39943ace352b0c168d64a32059c48a0d83ac67255f1519e2e8052840be2
diff --git a/dev-ml/pa_structural_sexp/metadata.xml b/dev-ml/pa_structural_sexp/metadata.xml
new file mode 100644
index 00000000000..abf9563dd5c
--- /dev/null
+++ b/dev-ml/pa_structural_sexp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/pa_structural_sexp/pa_structural_sexp-112.35.00.ebuild b/dev-ml/pa_structural_sexp/pa_structural_sexp-112.35.00.ebuild
new file mode 100644
index 00000000000..2e30c9a8441
--- /dev/null
+++ b/dev-ml/pa_structural_sexp/pa_structural_sexp-112.35.00.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Quotation expanders to simplify building s-expressions from ocaml values"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-ml/camlp4:=
+ dev-ml/type-conv:=
+ dev-ml/sexplib:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.md" )
diff --git a/dev-ml/pa_test/Manifest b/dev-ml/pa_test/Manifest
new file mode 100644
index 00000000000..bce7a98869f
--- /dev/null
+++ b/dev-ml/pa_test/Manifest
@@ -0,0 +1,2 @@
+DIST pa_test-111.08.01.tar.gz 50614 SHA256 c9933e1e76bae36e4aff020c7a12105d944c47cf219ada823e97b1f999b0e921 SHA512 472205f5e35084ccdd3e29362388a4f559c631b805d8ca67273f4139f8fcdaa6ac37a8547916c2c2edbe253cdc9adf03078149ee3f925698a19f285675bbd0ea WHIRLPOOL 7ee720c1ba016d48d9674cb9381c7faae487d83c25095b6d38bd3d08145cda89b5d193c19e461180aeb4bbaa9dae65ad81602bf1ad2a0c286e014c721945b4a3
+DIST pa_test-112.24.tar.gz 51922 SHA256 b03d13c2bc9fa9a4b1c507d7108d965202160f83e9781d430d3b53a1993e30d6 SHA512 3606c583bfe0c3cb633dbe467561740a55070c5ea689c95ea74f44038d91c0007bf4978a232104fbc9378441070e9cff7e0f58b193e06dffb2ff4f17ed3282cf WHIRLPOOL 253e0c7877e3a0090f36f3f83e1b7d32ed43349658f7a9d85ebcf7300436966c643492d3e3204731b377832b5590fd31b9de77e3df76c8c89d85490a2dc80dc6
diff --git a/dev-ml/pa_test/metadata.xml b/dev-ml/pa_test/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/pa_test/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/pa_test/pa_test-111.08.01.ebuild b/dev-ml/pa_test/pa_test-111.08.01.ebuild
new file mode 100644
index 00000000000..368cf65e10f
--- /dev/null
+++ b/dev-ml/pa_test/pa_test-111.08.01.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Quotation expanders for assertions"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109.60.00:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-ml/camlp4:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/pa_test/pa_test-112.24.00.ebuild b/dev-ml/pa_test/pa_test-112.24.00.ebuild
new file mode 100644
index 00000000000..803e263521e
--- /dev/null
+++ b/dev-ml/pa_test/pa_test-112.24.00.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Quotation expanders for assertions"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109.60.00:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-ml/camlp4:=
+ dev-ml/herelib:=
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/parmap/Manifest b/dev-ml/parmap/Manifest
new file mode 100644
index 00000000000..643dd716bf5
--- /dev/null
+++ b/dev-ml/parmap/Manifest
@@ -0,0 +1 @@
+DIST parmap-1.0_rc6.tar.gz 97083 SHA256 25e2eeb2ec8b1dedc8067443ddcddf4ab0ff2e3821da888338146af69e8fd9e6 SHA512 5378a8ce03d3a4d139d06093bd29fa83eca13b6e74be14d379337c9a08ebac39b23920925375c753c63c7f62970f7f899a9d6cbf8a5001b262293cf52e9ea5c1 WHIRLPOOL 28c11c3ef9d4b0fb56fde988dc62e2993a313445005b657838cad41e9768a13a65535d69d81cac792bc8a95038521fe130488e25dcf87ef25d61d9533fea6729
diff --git a/dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch b/dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch
new file mode 100644
index 00000000000..96a656239b6
--- /dev/null
+++ b/dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch
@@ -0,0 +1,16 @@
+Author: Rémi Cardona
+https://bugs.gentoo.org/show_bug.cgi?id=553596
+https://github.com/rdicosmo/parmap/pull/36
+
+--- configure.ac 2015-07-03 23:59:19.361723234 +0200
++++ configure.ac 2015-07-03 23:59:48.161216749 +0200
+@@ -27,7 +27,7 @@
+ AC_CONFIG_HEADERS([config.h])
+
+-t=`$OCAMLBUILD -use-ocamlfind &> /dev/null; echo $?`
+-if test $t == 0 ; then
++t=`$OCAMLBUILD -use-ocamlfind > /dev/null 2>&1 ; echo $?`
++if test "$t" = 0 ; then
+ AC_MSG_RESULT(ocaml version $OCAMLVERSION. Use standard Makefile)
+ AC_CONFIG_FILES([Makefile])
+ AC_OUTPUT
diff --git a/dev-ml/parmap/metadata.xml b/dev-ml/parmap/metadata.xml
new file mode 100644
index 00000000000..11d4f4b6871
--- /dev/null
+++ b/dev-ml/parmap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">rdicosmo/parmap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/parmap/parmap-1.0_rc6.ebuild b/dev-ml/parmap/parmap-1.0_rc6.ebuild
new file mode 100644
index 00000000000..e936ac3bc6a
--- /dev/null
+++ b/dev-ml/parmap/parmap-1.0_rc6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib eutils autotools
+
+MY_PV="${PV/_/-}"
+DESCRIPTION="Library allowing to exploit multicore architectures for OCaml programs with minimal modifications"
+HOMEPAGE="http://www.dicosmo.org/code/parmap/"
+SRC_URI="https://github.com/rdicosmo/parmap/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ dev-ml/ocaml-autoconf"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix-bashisms.patch"
+ eautoreconf
+}
+
+src_test() {
+ mkdir "${WORKDIR}/tmpinstall" || die
+ emake \
+ OCAMLLIBDIR="ocaml" \
+ DESTDIR="${WORKDIR}/tmpinstall" \
+ install
+ export OCAMLPATH="${WORKDIR}/tmpinstall/ocaml"
+ emake tests
+ cd _build/tests || die
+ for i in $(find . -type f -executable) ; do
+ ${i} || die
+ done
+}
+
+src_install() {
+ emake \
+ OCAMLLIBDIR="$(get_libdir)/ocaml" \
+ MANDIR="${ED}/usr/share/man/man3o" \
+ DESTDIR="${ED}/usr" \
+ install
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/dev-ml/pcre-ocaml/Manifest b/dev-ml/pcre-ocaml/Manifest
new file mode 100644
index 00000000000..f95ef22c604
--- /dev/null
+++ b/dev-ml/pcre-ocaml/Manifest
@@ -0,0 +1,5 @@
+DIST pcre-ocaml-6.2.5.tar.gz 60724 SHA256 f1774028a4525d22d1f4cf4ce0121c99d85a75aed7a498c3e8ab0f5e39888e47 SHA512 9665643165beea8515f22d90a6a0f079108826ec46ce89248c795e982f9b4ddecc0e882a32a9893acac1001d810aad7f3bc7d7b6162ab1260fa4f698c91e04b9 WHIRLPOOL c99da092f8e78de19ea624a021a088b3e19b1accd2b33bc084179f7c1b88e8ac2b51c143321a792067e325568d6ea4c059fc57ac9da477e998cda3936140567c
+DIST pcre-ocaml-7.0.2.tar.gz 81910 SHA256 052a2fdd8da597724ac8ca474fdd40772b461888e3ff8ef75cc71e43a65766ea SHA512 13ed6534005d819c62a2d70c4800bc4a8f019026d2d56175d0b10a130636a092f9053665382cca2c819c75dcc25fe26ff85fa0c51878b0c1c58d5f77cb45cbe9 WHIRLPOOL bf635d30a6a93b00144f092dcc0cb19d7f5bfd1b5700319f9ea7fbd59d0a62656227fae96781282563702c4872b4e6a7577435ad6469c8639c98d284bb8641f2
+DIST pcre-ocaml-7.0.4.tar.gz 84956 SHA256 fc56b0e0f7ab5d159af77d1a51f67d0dd0b86ef30eccc0e9cbef4f79d4a75840 SHA512 2b00a784bcda8c476014875c87cb12b2dc111f0c003c4fa3aedc4963ed1a75fc7cde22b20bdf071e2637bdfe7bf0fe094e5073a141644acaefdecddca6b6af72 WHIRLPOOL c3352fe803924649867b8f63da137ab81a15b4c12f3855610097513bf093df43d6d9a1c7d0992ff0a1a4ccca873b538b28285811218d6a833faf6a994026bb69
+DIST pcre-ocaml-7.1.3.tar.gz 88056 SHA256 43f8e20a55d4c079f202234781f9eaee48e938eea55fa68aa6a7cdcb3fce7896 SHA512 6cc51205b04fa65cb03b9b3064deabd2d9995e8ae88281519df56d27025158f9c1ae64a9e194643681d7481dc56aa0edd65b13a4c04ad64b83e1c201e5137484 WHIRLPOOL 897643040952a9f3007e67bdc1046b37a3dd4a8fb9bd83074c588f21ab09dc7a42bb1154b6b1e9d64a4dfd72ec85d0bf7159d95021c437feb38c49b7d394c316
+DIST pcre-ocaml-7.1.5.tar.gz 88068 SHA256 6495ecf25ed6a69fd14fda472f9fac9853dde2aee9944f6b6c0111d458c1039b SHA512 5b02c62af248834dfbcf4e6ff052ec70e7c43ef8a82f7a4f0e900060f37f4fcdebf4234c5c3afdfb780b12d4a562855d8a904c87f2d20f671831f62313cb20cc WHIRLPOOL 9a1dd4552c45178e7f2c9357dd5349c030f7416fa774a116f53a8a7e3eb46d594314ee5c1c8c7de5b7d50dc2114cf368bb1cb8c4791fba3b9606a62d1867b90b
diff --git a/dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch b/dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch
new file mode 100644
index 00000000000..4b31360dd7c
--- /dev/null
+++ b/dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch
@@ -0,0 +1,10 @@
+Index: pcre-ocaml-6.0.1/lib/META
+===================================================================
+--- pcre-ocaml-6.0.1.orig/lib/META
++++ pcre-ocaml-6.0.1/lib/META
+@@ -4,4 +4,4 @@ description="Perl Compatibility Regular
+ requires=""
+ archive(byte)="pcre.cma"
+ archive(native)="pcre.cmxa"
+-linkopts = ""
++linkopts = "-cclib -lpcre"
diff --git a/dev-ml/pcre-ocaml/metadata.xml b/dev-ml/pcre-ocaml/metadata.xml
new file mode 100644
index 00000000000..edc60f4c91d
--- /dev/null
+++ b/dev-ml/pcre-ocaml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mmottl/pcre-ocaml</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-6.2.5.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-6.2.5.ebuild
new file mode 100644
index 00000000000..93f8f3cbb08
--- /dev/null
+++ b/dev-ml/pcre-ocaml/pcre-ocaml-6.2.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit findlib eutils
+
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
+HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
+SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
+ >=dev-libs/libpcre-4.5"
+DEPEND="${RDEPEND}"
+SLOT="0"
+IUSE="examples +ocamlopt"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+CLIBS="" # Workaround for bug #422663
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-6.0.1-linkopts.patch"
+}
+
+src_compile() {
+ cd "${S}/lib"
+ emake byte-code-library || die "Failed to build byte code library"
+ if use ocamlopt; then
+ emake native-code-library || die "Failed to build native code library"
+ fi
+}
+
+src_install () {
+ export OCAMLFIND_INSTFLAGS="-optional"
+ findlib_src_install
+
+ # install documentation
+ dodoc README.txt Changelog
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-7.0.2.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-7.0.2.ebuild
new file mode 100644
index 00000000000..15f80dd2bd2
--- /dev/null
+++ b/dev-ml/pcre-ocaml/pcre-ocaml-7.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
+HOMEPAGE="http://bitbucket.org/mmottl/pcre-ocaml"
+SRC_URI="http://bitbucket.org/mmottl/pcre-ocaml/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+IUSE="examples"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND=">=dev-libs/libpcre-4.5
+ >=dev-lang/ocaml-4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-7.0.4.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-7.0.4.ebuild
new file mode 100644
index 00000000000..fa165777e82
--- /dev/null
+++ b/dev-ml/pcre-ocaml/pcre-ocaml-7.0.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
+HOMEPAGE="http://bitbucket.org/mmottl/pcre-ocaml"
+SRC_URI="http://bitbucket.org/mmottl/pcre-ocaml/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+IUSE="examples"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND=">=dev-libs/libpcre-4.5
+ >=dev-lang/ocaml-4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-7.1.3.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-7.1.3.ebuild
new file mode 100644
index 00000000000..4eea14f760a
--- /dev/null
+++ b/dev-ml/pcre-ocaml/pcre-ocaml-7.1.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
+HOMEPAGE="http://mmottl.github.io/pcre-ocaml/ https://github.com/mmottl/pcre-ocaml"
+SRC_URI="https://github.com/mmottl/pcre-ocaml/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+IUSE="examples"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND=">=dev-libs/libpcre-4.5
+ >=dev-lang/ocaml-4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-7.1.5.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-7.1.5.ebuild
new file mode 100644
index 00000000000..4eea14f760a
--- /dev/null
+++ b/dev-ml/pcre-ocaml/pcre-ocaml-7.1.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
+HOMEPAGE="http://mmottl.github.io/pcre-ocaml/ https://github.com/mmottl/pcre-ocaml"
+SRC_URI="https://github.com/mmottl/pcre-ocaml/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+IUSE="examples"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND=">=dev-libs/libpcre-4.5
+ >=dev-lang/ocaml-4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/pgocaml/Manifest b/dev-ml/pgocaml/Manifest
new file mode 100644
index 00000000000..6675d925176
--- /dev/null
+++ b/dev-ml/pgocaml/Manifest
@@ -0,0 +1,3 @@
+DIST pgocaml-1.7.1.tgz 79890 SHA256 f7c843032455f83c8d1f15de9a7012441ab28e5ec6d06deabb2526859a4afb55 SHA512 47b99bebc27dc64641cab65890e89217d1f256bac953b33a01dcf62c838b251d49097c88642a3b14f6325941c2b2f97b68f14209463f431000587b3d20ff5372 WHIRLPOOL bd2ae32896aed6d7d19baaffffc5ba8815c3be6296984835b531161beb443d360a0b401192f5dc6a8c5a68825b63376b4e03842d72143ab1e060ffd9b6845e85
+DIST pgocaml-2.1.tgz 88596 SHA256 d547490fd8b4a7f6c739d919a90af8b952af78f47367a5dc45e59f0a2b85fc54 SHA512 55138dac355a060d8f6cc234fa1954d2af453a2265d6b1cbe332db11cc04754c844d830233af0f6a3faf223adf6f22e52704f389b59974db4d51c386a6ee43d7 WHIRLPOOL 6e807d47e0dc539dc70b554bd7b37bff9c5df05d7269e3593179260600bec6ae70f5ee6fb3f2bf6278335240d12936380100e38a3f99147ab2d453f618a2d426
+DIST pgocaml-2.2.tgz 88613 SHA256 3027ca823f9f3db24475bd36e5628ee259605d72048d889be3b7e32c3e850d74 SHA512 1358e377d46aeb8fa00f44ba47dcc61097919584accc96264ae751cd2d6b8380dd2135109d5f6bf7963f3b448ee59046210c6335a3750deed4ad0ce5fc0a9d8d WHIRLPOOL 53da87c02670d493ff0dd12c467d69bac630aa9fe5141be074f328722c305611ad951d14fafe941961dd40d4b6af012ef4e3a305bb6df96734c13f01473c4520
diff --git a/dev-ml/pgocaml/metadata.xml b/dev-ml/pgocaml/metadata.xml
new file mode 100644
index 00000000000..2bf9f17d935
--- /dev/null
+++ b/dev-ml/pgocaml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+ <use>
+ <flag name='batteries'>Enable Batteries support instead of extlib</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-ml/pgocaml/pgocaml-1.7.1.ebuild b/dev-ml/pgocaml/pgocaml-1.7.1.ebuild
new file mode 100644
index 00000000000..a48ef3813c3
--- /dev/null
+++ b/dev-ml/pgocaml/pgocaml-1.7.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="PG'OCaml is a set of OCaml bindings for the PostgreSQL database"
+HOMEPAGE="http://pgocaml.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1099/${P}.tgz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc batteries"
+
+DEPEND="dev-ml/calendar:=
+ >=dev-ml/batteries-2:=
+ dev-ml/csv:=
+ dev-ml/pcre-ocaml:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "CHANGELOG.txt"
+ "doc/BUGS.txt" "doc/CONTRIBUTORS.txt"
+ "doc/HOW_IT_WORKS.txt" "doc/PROFILING.txt"
+ )
diff --git a/dev-ml/pgocaml/pgocaml-2.1.ebuild b/dev-ml/pgocaml/pgocaml-2.1.ebuild
new file mode 100644
index 00000000000..d3a12188e27
--- /dev/null
+++ b/dev-ml/pgocaml/pgocaml-2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="PG'OCaml is a set of OCaml bindings for the PostgreSQL database"
+HOMEPAGE="http://pgocaml.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1413/${P}.tgz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="dev-ml/calendar:=
+ dev-ml/csv:=
+ dev-ml/pcre-ocaml:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "CHANGELOG.txt"
+ "doc/BUGS.txt" "doc/CONTRIBUTORS.txt"
+ "doc/HOW_IT_WORKS.txt" "doc/PROFILING.txt"
+ )
diff --git a/dev-ml/pgocaml/pgocaml-2.2.ebuild b/dev-ml/pgocaml/pgocaml-2.2.ebuild
new file mode 100644
index 00000000000..4f914dcc831
--- /dev/null
+++ b/dev-ml/pgocaml/pgocaml-2.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="PG'OCaml is a set of OCaml bindings for the PostgreSQL database"
+HOMEPAGE="http://pgocaml.forge.ocamlcore.org/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1506/${P}.tgz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="dev-ml/calendar:=
+ dev-ml/csv:=
+ dev-ml/pcre-ocaml:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "CHANGELOG.txt"
+ "doc/BUGS.txt" "doc/CONTRIBUTORS.txt"
+ "doc/HOW_IT_WORKS.txt" "doc/PROFILING.txt"
+ )
diff --git a/dev-ml/pipebang/Manifest b/dev-ml/pipebang/Manifest
new file mode 100644
index 00000000000..fa94c00b98f
--- /dev/null
+++ b/dev-ml/pipebang/Manifest
@@ -0,0 +1,3 @@
+DIST pipebang-109.28.00.tar.gz 43937 SHA256 590475b17b44b268f5d5318a3348f1fd8d1aed48f4d1ac7633ed162b5f277137 SHA512 99a0d2aae20265e9512199775e756863e66e1c5481cab75ba66969974a0ddd18207204098616473f0c8cc088ef2f05e66aea3e2fd75b413fcd4e56ded04228fe WHIRLPOOL 24aba6d3e50990e0640e9adc7d8dc0adddd461454a0227408d818c5fd46dd268a131aa264de5832e9d062cf0c155076ffb434a941345fa5eb85fb19e2497199c
+DIST pipebang-109.60.00.tar.gz 47044 SHA256 cb68e0e03aa01c523ebe3f458126abbe59e0698d3855ed779e33b1654179ea50 SHA512 ca37241e0fad5668ddaa93ead89bd83e6c674e3773001dada1bafdd9eecbcb86b9992c3860ae0b2a0b99e472c931f90c46319f010aeeb1babd916ef1a5438ab3 WHIRLPOOL 1a35232a4de31cb6470bf1ee8756b4ce2206bbff93b3d512beedbb2ae46754593762edac4fec39ff6416b03429cc28abe71399ad4694ee3b20a568214daab470
+DIST pipebang-110.01.00.tar.gz 47043 SHA256 a8858d9607c15cdf0a775196be060c8d91de724fc80a347d7a76ef1d38329096 SHA512 3720aef1e4214a9aed855ae23833c9f97b62ae090478713553d97a78b6ec5ed04a361b3ae83fc8db434255da0242fe09db3d8c6690cc1ac6e7f359fb259e226d WHIRLPOOL 8411fa3e25111d8f2d444c847b092cd47e3af2d9b81f68a819a3dad125c412e9e767208bfd6303e6007616178d2ebddc2a5a5a5d185fbf70bb6698f9d850eb7b
diff --git a/dev-ml/pipebang/metadata.xml b/dev-ml/pipebang/metadata.xml
new file mode 100644
index 00000000000..abf9563dd5c
--- /dev/null
+++ b/dev-ml/pipebang/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/pipebang/pipebang-109.28.00.ebuild b/dev-ml/pipebang/pipebang-109.28.00.ebuild
new file mode 100644
index 00000000000..22d59d46e53
--- /dev/null
+++ b/dev-ml/pipebang/pipebang-109.28.00.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension to transform x |! f into f x"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:="
+RDEPEND="${DEPEND}"
diff --git a/dev-ml/pipebang/pipebang-109.60.00.ebuild b/dev-ml/pipebang/pipebang-109.60.00.ebuild
new file mode 100644
index 00000000000..85e334be999
--- /dev/null
+++ b/dev-ml/pipebang/pipebang-109.60.00.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension to transform x |! f into f x"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:="
+RDEPEND="${DEPEND}"
diff --git a/dev-ml/pipebang/pipebang-110.01.00.ebuild b/dev-ml/pipebang/pipebang-110.01.00.ebuild
new file mode 100644
index 00000000000..1d8e00bda23
--- /dev/null
+++ b/dev-ml/pipebang/pipebang-110.01.00.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Syntax extension to transform x |! f into f x"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-109.60:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
diff --git a/dev-ml/pomap/Manifest b/dev-ml/pomap/Manifest
new file mode 100644
index 00000000000..43f29c70dc1
--- /dev/null
+++ b/dev-ml/pomap/Manifest
@@ -0,0 +1,3 @@
+DIST pomap-3.0.2.tar.gz 69919 SHA256 44e9a7ca73fc8a11ffccaed65444e1cf67b1ccb2737f942bd6a99f6ceb743e0c SHA512 cbf239023c0861fd076895c45c9fb05e9794af4ecab913a5a0fbba188ed1c52a8f880ffe66dda0845863a31e30cd34f40add872abe0135c79467dda6c429423f WHIRLPOOL aec4f2aec45ae2768d43c8e14b7d515dd0a6ac841c9b11a402499f1bfc2f825e06102826ca6437fcad0830ea6356fae9bc50d62651d5c9b7873764b84e9d4c05
+DIST pomap-3.0.3.tar.gz 73040 SHA256 ff35571fb06230d4448ec61d57dc46d38019ceba1e650600c7eedf26590a5256 SHA512 f0a3d1dcbd8cbcffebaaa4fb4d59fe8bc439a689c67b34c3653e9142934265081a65fcab132f0ad5933cdc4f9b0eb776018e3b0df8762c7e5ba7dc61a0021d42 WHIRLPOOL f4d1ef0287583321a3bed8ad1612cb9babcfabe7694afb148f650a4ffdf509f0acd1327ab6ed0058609776904a22ddab3a91339eecf130dd4dabdc56b7b3410c
+DIST pomap-3.0.5.tar.gz 74574 SHA256 9788da1550dd88557262e91f4cd3f8c216b2b66ad0d3a2c7e65734177e5f87c2 SHA512 7b3700a7afd10dc0cbdc58086f27ed69b58b10776b6be9a268fa1a96f45f9af68c733f0939674325a415a55670875d1bb3d05ff562aa3ab9ae3a44822c13ddf4 WHIRLPOOL cc195567b7313ed20d6281fdfe775e2f9f6d5d58d2005a609505b5db18468d4885aa4e51608348d611e34961871d21de9935687667f9f8865c764f945ea39700
diff --git a/dev-ml/pomap/metadata.xml b/dev-ml/pomap/metadata.xml
new file mode 100644
index 00000000000..58b8f62421b
--- /dev/null
+++ b/dev-ml/pomap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mmottl/pomap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/pomap/pomap-3.0.2.ebuild b/dev-ml/pomap/pomap-3.0.2.ebuild
new file mode 100644
index 00000000000..343e225d8ac
--- /dev/null
+++ b/dev-ml/pomap/pomap-3.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Partially Ordered Map ADT for O'Caml"
+HOMEPAGE="http://bitbucket.org/mmottl/pomap"
+SRC_URI="http://bitbucket.org/mmottl/pomap/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/pomap/pomap-3.0.3.ebuild b/dev-ml/pomap/pomap-3.0.3.ebuild
new file mode 100644
index 00000000000..48431c8f4da
--- /dev/null
+++ b/dev-ml/pomap/pomap-3.0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Partially Ordered Map ADT for O'Caml"
+HOMEPAGE="http://bitbucket.org/mmottl/pomap"
+SRC_URI="http://bitbucket.org/mmottl/pomap/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+DEPEND="|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/pomap/pomap-3.0.5.ebuild b/dev-ml/pomap/pomap-3.0.5.ebuild
new file mode 100644
index 00000000000..766dfe89ecb
--- /dev/null
+++ b/dev-ml/pomap/pomap-3.0.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Partially Ordered Map ADT for O'Caml"
+HOMEPAGE="http://mmottl.github.io/pomap/"
+SRC_URI="https://github.com/mmottl/pomap/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+DEPEND="|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/postgresql-ocaml/Manifest b/dev-ml/postgresql-ocaml/Manifest
new file mode 100644
index 00000000000..a2bcec51798
--- /dev/null
+++ b/dev-ml/postgresql-ocaml/Manifest
@@ -0,0 +1,4 @@
+DIST postgresql-ocaml-2.0.5.tar.gz 79123 SHA256 e786c46edbd63aacd82e008098a2c801f445d59a29bd49713eae5cf5c157eaa8 SHA512 1d4b09b9135e1d6a98295bd51175ac44e6b51219703ad8ba5c0d429d81534989b43ed8922eff6511de4fc31b6dde1e6ca4f7bea91981e3d8c025d151258e41c7 WHIRLPOOL 04ae6fb1865fea75f286faf366ba4a976f260c502de1f898b48c8fb93b70ddedfdeeb9383e54efb2dd3b15e9b6d5302e1a5e0009188d8d83bbd69d4448774eef
+DIST postgresql-ocaml-2.0.6.tar.gz 79697 SHA256 1f3ae24c323f3b1f5876d647168eeca2182994feb53dad9ef540fd54837887cb SHA512 0cde0deb38df5bdce467941ca4e9bd3a9648c430a9e406eadc6aecffbe7b5aae27fb5fe3464954de98cba8ecece77e91416cd28f94cb3d3d7d08993d2238f2dc WHIRLPOOL f5f3a100074fb0e1d1dbc6ae13b98be28db76cf7dce5f1731bee44f099dd00f40dd0e13015432f6e1e1f55d3b522986bacf1ea369f1d1a881be10266d2decd8c
+DIST postgresql-ocaml-3.2.0.tar.gz 85619 SHA256 bdae08e08fffa0f863512ac54675db6fa2edd0bab63762cc9ffbedc656893426 SHA512 da35820cf1081641161e8e9c0ee5c0d1090fa61b1f0e13893feda83ae6a0167aac93e58db7448b3cf841bab345f3a4efa97b385ca7819019c6146fd17cd9f146 WHIRLPOOL fab8eee40cbf808faab9aca277a1a6306a1bb02d7fba9d2a45fdf8c586d6174367417b9760656a13622bc9fbff2d4b8218b7627a8c9f365db99eb9bd983cac34
+DIST postgresql-ocaml-3.2.1.tar.gz 85604 SHA256 e4679e22f10d4c366ad03b926ab63e65618e4da8359e16711d8f2d9dff8a7593 SHA512 36c4c894259d8bfaccbb1e5dc517fdbb025fe6d9fd24fa5e1d2120faf75aec472218d62c8816ef0055b1c0de934ff74a7eb22d8724d9e9790c21eaa6c4a56ed6 WHIRLPOOL c1476316e1b9b77ef0d5e8c76384a1bfb367d83cb527fed56afbea51e924cebef51af7de2e7d72ca6b117726d71147e8b842f57bf1aa003a7f9e7f06a59fdfbf
diff --git a/dev-ml/postgresql-ocaml/metadata.xml b/dev-ml/postgresql-ocaml/metadata.xml
new file mode 100644
index 00000000000..c959f120f88
--- /dev/null
+++ b/dev-ml/postgresql-ocaml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mmottl/postgresql-ocaml</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.5.ebuild b/dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.5.ebuild
new file mode 100644
index 00000000000..64fc4576279
--- /dev/null
+++ b/dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases"
+SRC_URI="http://bitbucket.org/mmottl/postgresql-ocaml/downloads/${P}.tar.gz"
+HOMEPAGE="http://bitbucket.org/mmottl/postgresql-ocaml"
+IUSE="examples"
+
+DEPEND="dev-db/postgresql[server]"
+RDEPEND="${DEPEND}"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~ppc x86"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.6.ebuild b/dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.6.ebuild
new file mode 100644
index 00000000000..ad1d8e23fba
--- /dev/null
+++ b/dev-ml/postgresql-ocaml/postgresql-ocaml-2.0.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases"
+SRC_URI="http://bitbucket.org/mmottl/postgresql-ocaml/downloads/${P}.tar.gz"
+HOMEPAGE="http://bitbucket.org/mmottl/postgresql-ocaml"
+IUSE="examples"
+
+DEPEND="dev-db/postgresql[server]"
+RDEPEND="${DEPEND}"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.0.ebuild b/dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.0.ebuild
new file mode 100644
index 00000000000..3f2ac2fec70
--- /dev/null
+++ b/dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases"
+SRC_URI="https://github.com/mmottl/postgresql-ocaml/releases/download/v${PV}/${P}.tar.gz"
+HOMEPAGE="http://mmottl.github.io/postgresql-ocaml/"
+IUSE="examples"
+
+RDEPEND="
+ dev-db/postgresql:=[server]
+"
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.5"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.1.ebuild b/dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.1.ebuild
new file mode 100644
index 00000000000..3f2ac2fec70
--- /dev/null
+++ b/dev-ml/postgresql-ocaml/postgresql-ocaml-3.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases"
+SRC_URI="https://github.com/mmottl/postgresql-ocaml/releases/download/v${PV}/${P}.tar.gz"
+HOMEPAGE="http://mmottl.github.io/postgresql-ocaml/"
+IUSE="examples"
+
+RDEPEND="
+ dev-db/postgresql:=[server]
+"
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.5"
+
+SLOT="0/${PV}"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/pxp/Manifest b/dev-ml/pxp/Manifest
new file mode 100644
index 00000000000..eff83f850bb
--- /dev/null
+++ b/dev-ml/pxp/Manifest
@@ -0,0 +1,2 @@
+DIST pxp-1.2.4.tar.gz 702365 SHA256 1cd3e946f19d800f412475adf56e6da87231f80be22d7ea71dd4eabf93876355 SHA512 1520dd732db17923c24d43c328e659db83ac00569e7d2153e5633dfbc3fad899db8e45523ea76915e5dd1cb71cda2500db3875deebdf47b375af5bd05ad383d6 WHIRLPOOL 26c54816a63b26cee4cbaa7c3c868f449c40291eff1a242ade45f5c08f89afd7ef8b12ff3da5b00608f8ede486d17b1fd1387f0042c42e79d08e76f43c97089f
+DIST pxp-1.2.7.tar.gz 735710 SHA256 2b0aca564f71c87825436e31a82de2ca3b3e99ee81a83840a525b0be63d73025 SHA512 11b49edc8e93a867b39d99ed6117460b3ecc7f9368564c815125662897f3cfbd87876b68c794bfd73b28cb0d8a898500ccd8ce0e1fca205bbce8b9759fa684d3 WHIRLPOOL 728f708c5dc332179884a4c2b6a222c514e8153c3bdf67847361df323886d61e320672f7dc7bd695343a641b34c9742c94f3cd9065541622670cb8b3df22380d
diff --git a/dev-ml/pxp/metadata.xml b/dev-ml/pxp/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/pxp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/pxp/pxp-1.2.4.ebuild b/dev-ml/pxp/pxp-1.2.4.ebuild
new file mode 100644
index 00000000000..e1ce8a24009
--- /dev/null
+++ b/dev-ml/pxp/pxp-1.2.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib eutils
+
+MY_P=${P/_beta/test}
+
+DESCRIPTION="validating XML parser library for O'Caml"
+HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="amd64 ~ppc x86"
+
+SLOT="0/${PV}"
+DEPEND=">=dev-ml/pcre-ocaml-4.31:=
+ >=dev-ml/ulex-0.5:=
+ >=dev-ml/ocamlnet-0.98:=
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+IUSE="examples +ocamlopt"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ #the included configure does not support many standard switches and is quite picky
+ ./configure || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ cd doc
+ dodoc ABOUT-FINDLIB README SPEC design.txt
+}
diff --git a/dev-ml/pxp/pxp-1.2.7.ebuild b/dev-ml/pxp/pxp-1.2.7.ebuild
new file mode 100644
index 00000000000..1937ee73d8e
--- /dev/null
+++ b/dev-ml/pxp/pxp-1.2.7.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit findlib eutils
+
+MY_P=${P/_beta/test}
+
+DESCRIPTION="validating XML parser library for O'Caml"
+HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+SLOT="0/${PV}"
+DEPEND=">=dev-ml/pcre-ocaml-4.31:=
+ >=dev-ml/ulex-0.5:=
+ >=dev-ml/ocamlnet-0.98:=
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+IUSE="examples +ocamlopt"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ #the included configure does not support many standard switches and is quite picky
+ ./configure || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ cd doc
+ dodoc ABOUT-FINDLIB README SPEC design.txt
+}
diff --git a/dev-ml/re2/Manifest b/dev-ml/re2/Manifest
new file mode 100644
index 00000000000..cbd7c943b74
--- /dev/null
+++ b/dev-ml/re2/Manifest
@@ -0,0 +1,5 @@
+DIST re2-109.55.02.tar.gz 470378 SHA256 08f3370009575277b49b7d40af0fc5e4487e0b397e7cca3f7116119d7de43161 SHA512 8c7b85078da66bc6d9cfa01a63f3d876cea99ac7afb023f781cbc4f271e1a4a0169b8474023bec5e52a8975df3710d431a0aa99aea2f056e01bf8f2b20050d74 WHIRLPOOL 091c09e2660c435aafb445a4e548663c2c6691f46e99d80fb856e7ef967cf5b6cd7d7791b49a13c58fc18ffb4ae1aa53615c2e8bfca142a02ad4f7bdd02f0e46
+DIST re2-109.55.04.tar.gz 470154 SHA256 5c41f42909833686e865deefcdf9c73da8dffdda342b16d700d7e762687694dd SHA512 7ff1dd90017c53fa514aada01802e145f20e674d738c4f236a01296bd7ebe331ed34d52f1e57e6b8ce6b1c172cb74e09ea2a0b4a2932f2b7aed97710da444b75 WHIRLPOOL e6b29b5a9ea358d6b0d369ec01205df7a329c69772429fee8994003c5299bd6f52aa879d1632a7eb538714521372f37eb9e52929a8e4a1129c12a72ba5265e62
+DIST re2-111.08.00.tar.gz 480459 SHA256 d84a04efd3344f15ff854b593449a49ed2017e6e206da4352789ca38149b6933 SHA512 fa23336ced21b632ddade387fe5fda45494ad414264d3826f18517804e7ef8509b43a63e9223773addfd3aec68e10c9877e125bf85f39adfd70a8131cc4b00e7 WHIRLPOOL 2d42b2e0449507a9d8171d094a4cb8a7a94fd555428857f691130b912107c067dd4a8c685b843555fc81f28f2f407dfc4e9a0b62ff44fbdf56b726d78444343f
+DIST re2-112.06.00.tar.gz 483809 SHA256 a538765872363fcb67f12b95c07455a0afd68f5ae9008b59bb85a996d97cc752 SHA512 ad121d894c39b014bdd540b07b1e03de7024ddb58306b752018dfebb2302282562c36664410e968c57affa6bf063783a8a171bf1664cded4cf835df90c4aaf39 WHIRLPOOL 89906deff18a904bbe8125a6d0a99322bf7bb9125880a4031f12eb060f08f13f4d393b415996ef4bec82972d9de4f9444d90066ff15cdad823053e8b341fdfdc
+DIST re2-112.35.00.tar.gz 488157 SHA256 a47e578231730270a41fd63012b9e354f531507383b03d1a30fa1540967e6fef SHA512 127a2f75363899940f3e771c4e7f1983529ae6d0f92dd05bdd936bf5dc7b221eb0b833abbe8f03f84ee3863666ca5df9e292a6629d2e2db345d75d5bf2af3a8d WHIRLPOOL 21203f892073114807320ff95593fb53569cbe6ea649e91ec25ac917e5a7c0394c47d9ffded3e0f95f3df168fc64da83c524604309d16efa964213ec8dbaa06f
diff --git a/dev-ml/re2/metadata.xml b/dev-ml/re2/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/re2/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/re2/re2-109.55.02.ebuild b/dev-ml/re2/re2-109.55.02.ebuild
new file mode 100644
index 00000000000..549b1b05c83
--- /dev/null
+++ b/dev-ml/re2/re2-109.55.02.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="OCaml bindings for RE2"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:=
+ dev-ml/core:=
+ dev-ml/bin-prot:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-libs/re2:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/re2/re2-109.55.04.ebuild b/dev-ml/re2/re2-109.55.04.ebuild
new file mode 100644
index 00000000000..549b1b05c83
--- /dev/null
+++ b/dev-ml/re2/re2-109.55.04.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="OCaml bindings for RE2"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:=
+ dev-ml/core:=
+ dev-ml/bin-prot:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-libs/re2:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/re2/re2-111.08.00.ebuild b/dev-ml/re2/re2-111.08.00.ebuild
new file mode 100644
index 00000000000..bbe0593d122
--- /dev/null
+++ b/dev-ml/re2/re2-111.08.00.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="OCaml bindings for RE2"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-${PV}:=
+ dev-ml/core:=
+ dev-ml/bin-prot:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-ml/pa_test:=
+ dev-libs/re2:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/re2/re2-112.06.00.ebuild b/dev-ml/re2/re2-112.06.00.ebuild
new file mode 100644
index 00000000000..cb8984f93bc
--- /dev/null
+++ b/dev-ml/re2/re2-112.06.00.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="OCaml bindings for RE2"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-112:=
+ dev-ml/core:=
+ dev-ml/bin-prot:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-ml/pa_test:=
+ dev-libs/re2:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/re2/re2-112.35.00.ebuild b/dev-ml/re2/re2-112.35.00.ebuild
new file mode 100644
index 00000000000..daca7730c3c
--- /dev/null
+++ b/dev-ml/re2/re2-112.35.00.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="OCaml bindings for RE2"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-ml/type-conv-112:=
+ dev-ml/core:=
+ dev-ml/bin-prot:=
+ dev-ml/sexplib:=
+ dev-ml/comparelib:=
+ dev-ml/pa_test:=
+ dev-libs/re2:=
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" )
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/react/Manifest b/dev-ml/react/Manifest
new file mode 100644
index 00000000000..9eb75488749
--- /dev/null
+++ b/dev-ml/react/Manifest
@@ -0,0 +1,2 @@
+DIST react-0.9.4.tbz 82964 SHA256 466ad4e2e7ff57c93c4e51511f53f2bdf32df46354458f4a158cd13bf3fbd4ab SHA512 6f1483ccc02d4aebf5836cb0585edf36119fd6a38c6279d1c35dee616a90e7394f4d6ccc92ef84df5da785121efd329875a0f281b130c6c5a30b8ea42f669f4e WHIRLPOOL cd48957762b6f940cc2ad40b535d12c1f6cd6631850ecb3e4df80b7298dc636d22e9d2b9b0c4188dc2a1b86fcf4652ced63a7ad4cc81922c98ae40560875dd9d
+DIST react-1.2.0.tbz 64665 SHA256 887aaea9191870bc0f37f945c02ec4c90497d949cd4dedc3d565c3fbec7ad04e SHA512 3f2037ca68ea9d61eebaf7dcd7a768c59d3ce5bdd33c3adec9eee9df875a1b958cb450398eb7d72ac1a4144dc7b6dab344156ba920aaea2e3d39cc0f515839be WHIRLPOOL 79042a4305297bf12ef17f1d117709a5c15430d4a7ba6225c283c999537e528b6f0773634fe281e7a5423531f1692fb7f552dbbf410663dee39669ba7d8fed3c
diff --git a/dev-ml/react/metadata.xml b/dev-ml/react/metadata.xml
new file mode 100644
index 00000000000..80acde625b0
--- /dev/null
+++ b/dev-ml/react/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <longdescription lang="en">
+ React is an OCaml module for functional reactive programming (FRP). It
+ provides support to program with time varying values : applicative
+ events and signals. React doesn't define any primitive event or
+ signal, this lets the client chooses the concrete timeline.
+
+ React is made of a single, independent, module and distributed under
+ the new BSD license.
+
+ Given an absolute notion of time Rtime helps you to manage a timeline
+ and provides time stamp events, delayed events and delayed signals.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-ml/react/react-0.9.4.ebuild b/dev-ml/react/react-0.9.4.ebuild
new file mode 100644
index 00000000000..9a5d7a9853a
--- /dev/null
+++ b/dev-ml/react/react-0.9.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="OCaml module for functional reactive programming"
+HOMEPAGE="http://erratique.ch/software/react"
+SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+DOCS=( "CHANGES" "README" )
diff --git a/dev-ml/react/react-1.2.0.ebuild b/dev-ml/react/react-1.2.0.ebuild
new file mode 100644
index 00000000000..e8113f77020
--- /dev/null
+++ b/dev-ml/react/react-1.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="OCaml module for functional reactive programming"
+HOMEPAGE="http://erratique.ch/software/react"
+SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86-fbsd"
+IUSE="doc +ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ dev-ml/opam
+"
+
+src_compile() {
+ pkg/build.ml \
+ native=$(usex ocamlopt true false) \
+ native-dynlink=$(usex ocamlopt true false) \
+ || die
+}
+
+src_test() {
+ if use ocamlopt ; then
+ ocamlbuild tests.otarget || die
+ cd _build/test || die
+ ./test.native || die
+ else
+ ewarn "Sorry, ${PN} tests require native support (ocamlopt)"
+ fi
+}
+
+src_install() {
+ opam-installer \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ || die
+ dodoc CHANGES.md README.md TODO.md
+ use doc && dohtml doc/*
+}
diff --git a/dev-ml/reactiveData/Manifest b/dev-ml/reactiveData/Manifest
new file mode 100644
index 00000000000..c27121febf2
--- /dev/null
+++ b/dev-ml/reactiveData/Manifest
@@ -0,0 +1 @@
+DIST reactiveData-0.1.tar.gz 17074 SHA256 fc755843daaf3bdf1190d9fbfb63e760d4a0378dea2ae4da7b371b696c4cde14 SHA512 4c1d000d7c8713d365473e924ad22cc285a0d30009e4f3a4c23cb2fed9678209860cbfe9787b4aef24c9d1fe3b8bf2f71609e45bd52abdff5e27adc3afa651c0 WHIRLPOOL 4d9de7aca80f7ed6c1f83247170eec7289da9af2030f462a7a5bfe153d532621c1d1ec38dfd4237654da43694bd5972e55a44224513125117b2e7e24d725a95b
diff --git a/dev-ml/reactiveData/metadata.xml b/dev-ml/reactiveData/metadata.xml
new file mode 100644
index 00000000000..46f20a3fc5e
--- /dev/null
+++ b/dev-ml/reactiveData/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">hhugo/reactiveData</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/reactiveData/reactiveData-0.1.ebuild b/dev-ml/reactiveData/reactiveData-0.1.ebuild
new file mode 100644
index 00000000000..6c493e0ec7e
--- /dev/null
+++ b/dev-ml/reactiveData/reactiveData-0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="Functional reactive programming with incremental changes in data structures"
+HOMEPAGE="https://github.com/hhugo/reactiveData"
+SRC_URI="https://github.com/hhugo/reactiveData/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/react:="
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ dev-ml/opam
+"
+
+src_compile() {
+ ocaml pkg/build.ml \
+ native=$(usex ocamlopt true false) \
+ native-dynlink=$(usex ocamlopt true false) \
+ || die
+}
+
+src_install() {
+ opam-installer \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ || die
+ dodoc README.md
+}
diff --git a/dev-ml/res/Manifest b/dev-ml/res/Manifest
new file mode 100644
index 00000000000..56d2cf677b6
--- /dev/null
+++ b/dev-ml/res/Manifest
@@ -0,0 +1,4 @@
+DIST res-4.0.3.tar.gz 69587 SHA256 264319e586b2695f4ce453eb950546f4898875bed11df5e514f84c8670269b5e SHA512 5da4720dc61d66164bde98bb3b686bad081d79dfde2e6b63b387d25edd7f9e361b37de3e542166e1a9a0b0e97e85d664f3cd61659b748a6cb9c747ee97a206ce WHIRLPOOL 91b83a6e81627315fa83b23176079a64f99a40003fbe9541644bc4edb6c1492dfc226272475ca4b8e04b7852a4e621c89693e75cc7025f7683a1bbc94a9d919a
+DIST res-4.0.4.tar.gz 72603 SHA256 bac9fddebca10e5cdb364babc49e62df0f6289cdadf3cef2810d9b4b81e23bd1 SHA512 a0ce715f78d71ffabcf8ce198ab0511e50fc2500c567f01c9c41fd7cca4b626da1500d18afb76cd87372410b03223f9dfa874a8120a7ee96b91f12bd5707fb57 WHIRLPOOL f512653024a963b587c56bf3e972286d6d215b8908005910a9b722e862f676f446c04794b9addb578b3f1a8ab344ef8a70c4c2ae0605d755de8fe2cf91c6f70b
+DIST res-4.0.6.tar.gz 74258 SHA256 6abc891faebdd15a94ce90d374dac9951f8a4db29eb00e32b7611f92c52868c0 SHA512 b957044d31cb9843b369508af5c4194de4d27cf104ebf0225be50bb31d5b4aa0c8fa061c59be8f78bfa607c5c18e9330da1e927982a9fd0d4ea9e0a46ada53d6 WHIRLPOOL e297d18afde75bfbdd2c875d33f2a8bad1abb9ab564c336310521dfa888b122a04e13028debb0b77e53af7c257e6ac1ba61c65f6938ea02db8b77fe8bb690bcc
+DIST res-4.0.7.tar.gz 74752 SHA256 be217e72e4beea6a1f6b7500ae3123a6d7a6cc53bf5b18d24ad71188ac63f160 SHA512 4a1f00d76847eaaf0756fd20f7e1062e30ba7fd432621269f7d18b293abe0bc4a461ff077b5c4e0fe83710f113d6fe8846826b70faed8cb7fc6a5653814d297e WHIRLPOOL 729e14a8dee91fb09e504e21127fb4035cb407401bcf89be12aacc3f5a9209d75dc2e54a56dd40b0ffa05f48ae310514d70442105d15c7b3482668998fb3567d
diff --git a/dev-ml/res/metadata.xml b/dev-ml/res/metadata.xml
new file mode 100644
index 00000000000..f7272010a44
--- /dev/null
+++ b/dev-ml/res/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="github">mmottl/res</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/res/res-4.0.3.ebuild b/dev-ml/res/res-4.0.3.ebuild
new file mode 100644
index 00000000000..5fec1470f25
--- /dev/null
+++ b/dev-ml/res/res-4.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
+HOMEPAGE="http://bitbucket.org/mmottl/res"
+SRC_URI="https://bitbucket.org/mmottl/res/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/res/res-4.0.4.ebuild b/dev-ml/res/res-4.0.4.ebuild
new file mode 100644
index 00000000000..5fec1470f25
--- /dev/null
+++ b/dev-ml/res/res-4.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
+HOMEPAGE="http://bitbucket.org/mmottl/res"
+SRC_URI="https://bitbucket.org/mmottl/res/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/res/res-4.0.6.ebuild b/dev-ml/res/res-4.0.6.ebuild
new file mode 100644
index 00000000000..f13083fb095
--- /dev/null
+++ b/dev-ml/res/res-4.0.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
+HOMEPAGE="http://mmottl.github.io/res/"
+SRC_URI="https://github.com/mmottl/res/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.5"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/res/res-4.0.7.ebuild b/dev-ml/res/res-4.0.7.ebuild
new file mode 100644
index 00000000000..f13083fb095
--- /dev/null
+++ b/dev-ml/res/res-4.0.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
+HOMEPAGE="http://mmottl.github.io/res/"
+SRC_URI="https://github.com/mmottl/res/releases/download/v${PV}/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.5"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
+
+src_install() {
+ oasis_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-ml/sexplib/Manifest b/dev-ml/sexplib/Manifest
new file mode 100644
index 00000000000..cb902ff1499
--- /dev/null
+++ b/dev-ml/sexplib/Manifest
@@ -0,0 +1,3 @@
+DIST sexplib-112.17.00.tar.gz 136611 SHA256 fb99512e850d9ceb8cc0214268786e42e6211a8bfb65765241988405b21447c8 SHA512 8f651fc4ff7964082deac05d7617a16f9f0740b2d66e4c22dc51254598b20f8eddf8110b42298e8a2506f4ca3111c14fa7942677bd1e6b56d93153bdb2b1660f WHIRLPOOL e520223d796dc92c9d030e78b2c9c2386c6ee1812ca327cec0df3b38c333a2b7d93fe43114dc1c999cda3c608e4ebd650fd37d5b793745e05e28228d19896009
+DIST sexplib-112.24.tar.gz 136763 SHA256 bfbbeaf0dbe55e3c2c36cb9487ac027af0cf1333d11a141e1fc277efde4d3907 SHA512 1545cec3b26e47c393a788feef438bf5ba50dc948578ab5821d631e8e36ebad622f141b38689b06ac1105190b6d429dec33acfb3fad8e5eacfd452d463b2e1a7 WHIRLPOOL 420be838412e3fc85f23d9abc05cffde928a542ed8f1010fb610b0fa28a421e7e6388782e572e350ddf2cf254e838d2aead623b295c56c38867d9664a20a6495
+DIST sexplib-112.35.00.tar.gz 136818 SHA256 b3944a654e64ff4d2d3732eb550108dfe5dc9a78ff91e2619e8f796ae97df2cf SHA512 b732a044aaa7a734f35fc280f97fd1393925f0ab7ead6c212af904977617436152e98eff5387e8e89b97a7dd302b77e6ff67c4fd4192a17f48f116713ab9c899 WHIRLPOOL fb413fb227437a353e4572c33e6c47214ae15febb146b17d61d5748a3abf5a416290f453c6b83541a5b71ebcafe0e530204fec3a95ef14fa23e627df9e3da97d
diff --git a/dev-ml/sexplib/metadata.xml b/dev-ml/sexplib/metadata.xml
new file mode 100644
index 00000000000..abf9563dd5c
--- /dev/null
+++ b/dev-ml/sexplib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/sexplib/sexplib-112.17.00.ebuild b/dev-ml/sexplib/sexplib-112.17.00.ebuild
new file mode 100644
index 00000000000..b75a3eff783
--- /dev/null
+++ b/dev-ml/sexplib/sexplib-112.17.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-ml/type-conv-109.60.01:=
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "README.md" "CHANGES.md" )
diff --git a/dev-ml/sexplib/sexplib-112.24.00.ebuild b/dev-ml/sexplib/sexplib-112.24.00.ebuild
new file mode 100644
index 00000000000..e11b1286fec
--- /dev/null
+++ b/dev-ml/sexplib/sexplib-112.24.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-ml/type-conv-109.60.01:=
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "README.md" "CHANGES.md" )
diff --git a/dev-ml/sexplib/sexplib-112.35.00.ebuild b/dev-ml/sexplib/sexplib-112.35.00.ebuild
new file mode 100644
index 00000000000..b75a3eff783
--- /dev/null
+++ b/dev-ml/sexplib/sexplib-112.35.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions"
+HOMEPAGE="http://bitbucket.org/yminsky/ocaml-core/wiki/Home"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-ml/type-conv-109.60.01:=
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}"
+
+DOCS=( "README.md" "CHANGES.md" )
diff --git a/dev-ml/textutils/Manifest b/dev-ml/textutils/Manifest
new file mode 100644
index 00000000000..20990baafde
--- /dev/null
+++ b/dev-ml/textutils/Manifest
@@ -0,0 +1 @@
+DIST textutils-112.17.00.tar.gz 60953 SHA256 605d9fde66dc2d777721c936aa521e17169c143efaf9ff29619a7f273a7d0052 SHA512 bc1143b3406538bb023ba82d80d8f2609312000b610809e9b37d032cf50689c38b385ce0fb6721ca6eb0d2c47d4f1db65a9569bda9b05c934c7cf61b2530539e WHIRLPOOL 96c352f8236354792da9dfb00adea51816ab62501558ece74d61d489b923e52ffb92780737ae0f5c21d3a67a12e790fdee22155713044de94148989c640ab4e0
diff --git a/dev-ml/textutils/metadata.xml b/dev-ml/textutils/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/textutils/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/textutils/textutils-112.17.00.ebuild b/dev-ml/textutils/textutils-112.17.00.ebuild
new file mode 100644
index 00000000000..abd008de696
--- /dev/null
+++ b/dev-ml/textutils/textutils-112.17.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Text output utilities"
+HOMEPAGE="https://ocaml.janestreet.com/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=dev-lang/ocaml-4.02[ocamlopt?]
+ >=dev-ml/core-109.24.00:=
+ >=dev-ml/pa_ounit-109.18.00:=
+ >=dev-ml/sexplib-109.20.00:=
+ dev-ml/camlp4:=
+"
+DEPEND="${RDEPEND}"
diff --git a/dev-ml/type-conv/Manifest b/dev-ml/type-conv/Manifest
new file mode 100644
index 00000000000..559a31f8b39
--- /dev/null
+++ b/dev-ml/type-conv/Manifest
@@ -0,0 +1,3 @@
+DIST type_conv-112.01.00.tar.gz 63507 SHA256 0dabf7cf351ea72e4c18d082c4e2c2ad9acdadd1af0142833db70670bacdbedb SHA512 46ac5a8562fcaffb31b76f542db770998a03d84cf2aa16f9fd24a7ac7e070fd1279d52308d5da9155e82effe8e47cd20d488249cc4d378ce6fb5e8f72d09ad0b WHIRLPOOL 2da73edfd5232cfbd96885542a1ef750850b5bf9a3a105ddab6ac5f49d35db2b2dc45497dcb92530a307641a32058e57a22956b30ecd4782073610dec59b2a88
+DIST type_conv-112.01.01.tar.gz 64103 SHA256 dbbc33b7ab420e8442d79ba4308ea6c0c16903b310d33525be18841159aa8855 SHA512 aedaea66c45d60d14950f4e7addec7ea1779a28724868e4858ed02e1bd87a2438b7724e6e9f14a6fd1fca903e3e1cc39d1ce40ce79b889b4762447450d9aae32 WHIRLPOOL 38cf9d4df69e1c57c319b36689adde628b1df6b044231dd3142973e584a54a4678e9783da2b15266530feab2e88edad826915e456fd4530cac450a24f30961b1
+DIST type_conv-112.01.02.tar.gz 64095 SHA256 342a241a43a2d494739244c8e41624bef25dfae809ebf15577d817ebb67f3890 SHA512 68acc043dc33db3928c6078c8bd5eac2f3346c39af2e7ff4605a397b3322032da5ae8be4ef8a1eba440b57c048f55b74ba47de4fc08cefe934eba34f35e235a4 WHIRLPOOL a53009600678d75405d6648030efe84896cf9cdbcde261265608691b9f6a8d28340acaf414e7de48b52c27b0b030a294612b80e1573759f0e4fdd70bd3142dcb
diff --git a/dev-ml/type-conv/metadata.xml b/dev-ml/type-conv/metadata.xml
new file mode 100644
index 00000000000..849ed8ebf13
--- /dev/null
+++ b/dev-ml/type-conv/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/type-conv/type-conv-112.01.00.ebuild b/dev-ml/type-conv/type-conv-112.01.00.ebuild
new file mode 100644
index 00000000000..28da4ebe9d7
--- /dev/null
+++ b/dev-ml/type-conv/type-conv-112.01.00.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Mini library required for some other preprocessing libraries"
+HOMEPAGE="http://janestreet.github.io/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ocaml-4.02[ocamlopt?]
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.2"
+
+DOCS=( "README.md" "CHANGES.md" )
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/type-conv/type-conv-112.01.01.ebuild b/dev-ml/type-conv/type-conv-112.01.01.ebuild
new file mode 100644
index 00000000000..0f32b9827eb
--- /dev/null
+++ b/dev-ml/type-conv/type-conv-112.01.01.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Mini library required for some other preprocessing libraries"
+HOMEPAGE="http://janestreet.github.io/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ocaml-4.02[ocamlopt?]
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.2"
+
+DOCS=( "README.md" "CHANGES.md" )
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/type-conv/type-conv-112.01.02.ebuild b/dev-ml/type-conv/type-conv-112.01.02.ebuild
new file mode 100644
index 00000000000..0f32b9827eb
--- /dev/null
+++ b/dev-ml/type-conv/type-conv-112.01.02.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Mini library required for some other preprocessing libraries"
+HOMEPAGE="http://janestreet.github.io/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ocaml-4.02[ocamlopt?]
+ dev-ml/camlp4:="
+DEPEND="${RDEPEND}
+ >=dev-ml/findlib-1.3.2"
+
+DOCS=( "README.md" "CHANGES.md" )
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/typehashlib/Manifest b/dev-ml/typehashlib/Manifest
new file mode 100644
index 00000000000..d926a123538
--- /dev/null
+++ b/dev-ml/typehashlib/Manifest
@@ -0,0 +1 @@
+DIST typehashlib-109.15.02.tar.gz 51713 SHA256 25a1c518527d8d9e200f5f5c4f0afa351cb29f98fae8e4e5bfb450827710058e SHA512 06ad1c714175134dbd73ac131da67c02f75160193ad1121a748566efa308561a6cb55df8df9d068eb041b3dd9b267f8409c654db07bbe0f2f3b5af87bd1c0444 WHIRLPOOL db00f9b735a47cea190ce3c893bcf1eb38d830c7119fcf0a018e53b19b5e2d5e156eea1f05a40085c714d41f7ec0fefe4d35a062faf370c4adbd556c3dc883d2
diff --git a/dev-ml/typehashlib/metadata.xml b/dev-ml/typehashlib/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/typehashlib/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/typehashlib/typehashlib-109.15.02.ebuild b/dev-ml/typehashlib/typehashlib-109.15.02.ebuild
new file mode 100644
index 00000000000..818974b3286
--- /dev/null
+++ b/dev-ml/typehashlib/typehashlib-109.15.02.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for deriving 'typehash' functions automatically"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-4.00.0:=
+ >=dev-ml/type-conv-${PV}:=
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/typerep/Manifest b/dev-ml/typerep/Manifest
new file mode 100644
index 00000000000..047df03a353
--- /dev/null
+++ b/dev-ml/typerep/Manifest
@@ -0,0 +1,3 @@
+DIST typerep-112.17.00.tar.gz 115452 SHA256 424cda508cc83ce1b8ea91bc10eb0c2f2e87c201d441c16333ffdf78a351cbb1 SHA512 c05b82414dafa0d1f750e48c81ee7f637b5fd30fda65abbfe59bdd87ef1c54657ad540dd108d34905f01fad177f35bb2e82ed5fe04754e2559925f7bc2114472 WHIRLPOOL 8eea8cae065bc89806eb5058b2d2e3ca6839e9d0832e36a2935282f2ee5cfc37f8f743a933a5c0e2ac5a3580970bd40eca18572df4fc284c1c2c85f9749cba68
+DIST typerep-112.24.tar.gz 113157 SHA256 4f1ab611a00aaf774e9774b26b687233e0c70d91f684415a876f094a9969eada SHA512 018ec81523406e89b71ac9a38f33821599e7c10392174e146bd1666bf49213d984c4c2ee072cc2f29c05d95805ef9afb68ffa1087de6f9cffea919c73ee32fd3 WHIRLPOOL bacc65e456fd375a95e7ef6d75951086dcd9a1a613ce731674c4d850cc4cc113515a9094bd0f934a145b5582339484d656cc9db2adcd5d6a0190fea236484578
+DIST typerep-112.35.00.tar.gz 115477 SHA256 a14d6f6d29be27d8bbae980d843cfc352039692ec3e7af2f616bbc6a7624c144 SHA512 5fa340461165c98e16a99564c83c6dd6e357d3f6d948281e122f26110bf78daf0615708f94a4b23b76484d9d49f03993507f2cb63134d978d317b00175fe0320 WHIRLPOOL 5a5ea8efeb36018a05b7546f0a54d4bdf4367a1ad5c320545bd274bde7250b054a16609d2953ebea8a0f5b05a36ae1714c2a04c5350ce6c387a35a3de6aa9b57
diff --git a/dev-ml/typerep/metadata.xml b/dev-ml/typerep/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/typerep/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/typerep/typerep-112.17.00.ebuild b/dev-ml/typerep/typerep-112.17.00.ebuild
new file mode 100644
index 00000000000..9052a9e2492
--- /dev/null
+++ b/dev-ml/typerep/typerep-112.17.00.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Library for creating runtime representation of OCaml types"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz
+ http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/type-conv-111.13:=
+ dev-ml/camlp4:="
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/typerep/typerep-112.24.00.ebuild b/dev-ml/typerep/typerep-112.24.00.ebuild
new file mode 100644
index 00000000000..7f0b9a7c15d
--- /dev/null
+++ b/dev-ml/typerep/typerep-112.24.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Library for creating runtime representation of OCaml types"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P%.*}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/type-conv-111.13:=
+ dev-ml/camlp4:="
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/typerep/typerep-112.35.00.ebuild b/dev-ml/typerep/typerep-112.35.00.ebuild
new file mode 100644
index 00000000000..c5f353aa6fc
--- /dev/null
+++ b/dev-ml/typerep/typerep-112.35.00.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Library for creating runtime representation of OCaml types"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/type-conv-111.13:=
+ dev-ml/camlp4:="
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-ml/typerep_extended/Manifest b/dev-ml/typerep_extended/Manifest
new file mode 100644
index 00000000000..7ac7ab27c16
--- /dev/null
+++ b/dev-ml/typerep_extended/Manifest
@@ -0,0 +1 @@
+DIST typerep_extended-112.17.00.tar.gz 71755 SHA256 f511d7f697d516b63584b910bf30c06367769be2a1190446ea58a4be4866f0e3 SHA512 ab1f31b95324aad47fabc19f752640d1f4a606906c47f8c98c2820233109a5a59c7094ca46c06453b4afe0befb8da1de04ea03d0b44ff0c3062d94c47c84eb40 WHIRLPOOL a57bd43d35ee7899dba27eefbe2a1ef98ebba930abf01c33fe4b0c129258ce13a7db8f4b0febdbb25d9cef3628b85e35fe2c2ac0c8c560c748f3ed37e5348f76
diff --git a/dev-ml/typerep_extended/metadata.xml b/dev-ml/typerep_extended/metadata.xml
new file mode 100644
index 00000000000..2193d772e35
--- /dev/null
+++ b/dev-ml/typerep_extended/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/typerep_extended/typerep_extended-112.17.00.ebuild b/dev-ml/typerep_extended/typerep_extended-112.17.00.ebuild
new file mode 100644
index 00000000000..7b771f824e0
--- /dev/null
+++ b/dev-ml/typerep_extended/typerep_extended-112.17.00.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Runtime types for OCaml (Extended)"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ >=dev-ml/typerep-112.17.00:=
+ dev-ml/sexplib:=
+ dev-ml/bin-prot:=
+ dev-ml/core_kernel:=
+ dev-ml/camlp4:="
<