summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocaml-doc')
-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
3 files changed, 29 insertions, 0 deletions
diff --git a/dev-ml/ocaml-doc/Manifest b/dev-ml/ocaml-doc/Manifest
new file mode 100644
index 000000000000..261e0738258f
--- /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 000000000000..a273949ac559
--- /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 000000000000..165784783b9e
--- /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/"
+}