summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-12-01 14:17:38 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-12-01 14:17:38 +0000
commit89d74ed71f21c869f76a116a871e4268fd0ab963 (patch)
tree4570df9e1ea0519220cf79759194bc1f827f5dc9 /dev-ml/menhir
parentversion bump (diff)
downloadgentoo-2-89d74ed71f21c869f76a116a871e4268fd0ab963.tar.gz
gentoo-2-89d74ed71f21c869f76a116a871e4268fd0ab963.tar.bz2
gentoo-2-89d74ed71f21c869f76a116a871e4268fd0ab963.zip
version bump
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-ml/menhir')
-rw-r--r--dev-ml/menhir/ChangeLog9
-rw-r--r--dev-ml/menhir/menhir-20140422.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-ml/menhir/ChangeLog b/dev-ml/menhir/ChangeLog
index e63aecfd2e59..e964b19def0b 100644
--- a/dev-ml/menhir/ChangeLog
+++ b/dev-ml/menhir/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/menhir
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/menhir/ChangeLog,v 1.1 2013/02/07 20:36:44 aballier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/menhir/ChangeLog,v 1.2 2014/12/01 14:17:38 aballier Exp $
+
+*menhir-20140422 (01 Dec 2014)
+
+ 01 Dec 2014; Alexis Ballier <aballier@gentoo.org> +menhir-20140422.ebuild:
+ version bump
*menhir-20130116 (07 Feb 2013)
diff --git a/dev-ml/menhir/menhir-20140422.ebuild b/dev-ml/menhir/menhir-20140422.ebuild
new file mode 100644
index 000000000000..65813fe42c02
--- /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
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/menhir/menhir-20140422.ebuild,v 1.1 2014/12/01 14:17:38 aballier Exp $
+
+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
+}