summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-04 12:32:28 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-04 12:32:34 +0100
commit327eb3d7ca5f396d41c283e867b8f7b198d9ae84 (patch)
treefab5018c285727aa036c3222eb12d14d1d5d8510 /dev-ml
parentdev-ml/utop: bump to 1.18.2 (diff)
downloadgentoo-327eb3d7ca5f396d41c283e867b8f7b198d9ae84.tar.gz
gentoo-327eb3d7ca5f396d41c283e867b8f7b198d9ae84.tar.bz2
gentoo-327eb3d7ca5f396d41c283e867b8f7b198d9ae84.zip
dev-ml/menhir: bump to 20160303
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/menhir/Manifest1
-rw-r--r--dev-ml/menhir/menhir-20160303.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ml/menhir/Manifest b/dev-ml/menhir/Manifest
index 424c6c3e3835..5980dcba2fa9 100644
--- a/dev-ml/menhir/Manifest
+++ b/dev-ml/menhir/Manifest
@@ -1 +1,2 @@
DIST menhir-20151112.tar.gz 727051 SHA256 06616e300ed2e5f4f2c74c58873fcd4b5f8f033b4f375f201049dafe4cd20e3a SHA512 121a932a0918f8fcc08dd86a758a7f791c4b527ef110cdbd33356d3317820ec849e6d33b23b60c948a9ff995e3ca858581adbaf2b5622c7ff6e99ae83ce8cf7d WHIRLPOOL d1ce225fa23d4834b67d63c6ec1b90fdfd7dd34ce1ef74c76dfaf82d797345ac48a695290724cd359d0844524f7a165ef2bd2a0ade0ef3de08f0cab653a74759
+DIST menhir-20160303.tar.gz 750200 SHA256 c330934ff449e7af101df0f8a15df29712465a185de265fadab30f4402eaa7e0 SHA512 9d5dbdf863f8e3157933a79690835d98f806e8110d3fcfe2b6e4137522fe8a5d063d058e4956ba30ed71a3ac5b2a82020f598799c67c4b692e4712e15b7f290c WHIRLPOOL b9da5f330c36521bd7abb6ec9a9f6aa164aff764b6e8b2296ef70bddb8b3019d92f2466b9f28aaa3cdfb3216decbbf165c6cf3fdca0f22dd7010d685bf877779
diff --git a/dev-ml/menhir/menhir-20160303.ebuild b/dev-ml/menhir/menhir-20160303.ebuild
new file mode 100644
index 000000000000..497e91f36f20
--- /dev/null
+++ b/dev-ml/menhir/menhir-20160303.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 eutils
+
+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"
+
+RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ dev-ml/ocamlbuild"
+
+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
+}