summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-06 14:28:00 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-06 14:30:28 +0200
commit333e12f335f8bee2c03dc2660483b3459e0b71d8 (patch)
tree15be89b70f871cc6366755263d1fcf1004dbb1d5
parentdev-ml/react: convert to opam.eclass (diff)
downloadgentoo-333e12f3.tar.gz
gentoo-333e12f3.tar.bz2
gentoo-333e12f3.zip
dev-ml/reason-parser: update to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r--dev-ml/reason-parser/reason-parser-2.0.0.ebuild13
1 files changed, 1 insertions, 12 deletions
diff --git a/dev-ml/reason-parser/reason-parser-2.0.0.ebuild b/dev-ml/reason-parser/reason-parser-2.0.0.ebuild
index 6313382e5d9d..2ec81a735441 100644
--- a/dev-ml/reason-parser/reason-parser-2.0.0.ebuild
+++ b/dev-ml/reason-parser/reason-parser-2.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit findlib eutils
+inherit findlib eutils opam
DESCRIPTION="Meta Language Toolchain"
HOMEPAGE="https://github.com/facebook/reason"
@@ -15,7 +15,6 @@ KEYWORDS="~amd64"
IUSE="+ocamlopt"
DEPEND="
- dev-lang/ocaml:=[ocamlopt?]
>=dev-ml/menhir-20170418:=
dev-ml/merlin-extend:=
dev-ml/result:=
@@ -26,7 +25,6 @@ DEPEND="
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/ocamlbuild
- dev-ml/opam
"
S="${WORKDIR}/${PN}"
@@ -39,12 +37,3 @@ src_compile() {
--native-dynlink "$(usex ocamlopt true false)" \
|| die
}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- --mandir="${ED}/usr/share/man" \
- ${PN}.install || die
-}