summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-06 14:29:17 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-06 14:30:28 +0200
commit319d34a0a150ee00b556be7e455860772bb2e391 (patch)
tree99d07d98a035500bc675e31b28df066b42f4f703 /dev-ml/reason
parentdev-ml/reason-parser: update to opam.eclass (diff)
downloadgentoo-319d34a0a150ee00b556be7e455860772bb2e391.tar.gz
gentoo-319d34a0a150ee00b556be7e455860772bb2e391.tar.bz2
gentoo-319d34a0a150ee00b556be7e455860772bb2e391.zip
dev-ml/reason: update to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/reason')
-rw-r--r--dev-ml/reason/reason-2.0.0.ebuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-ml/reason/reason-2.0.0.ebuild b/dev-ml/reason/reason-2.0.0.ebuild
index 1ef34e4b334f..0fc83b36497d 100644
--- a/dev-ml/reason/reason-2.0.0.ebuild
+++ b/dev-ml/reason/reason-2.0.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Meta Language Toolchain"
HOMEPAGE="https://github.com/facebook/reason"
SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
IUSE="+ocamlopt"
DEPEND="
- dev-lang/ocaml:=[ocamlopt?]
dev-ml/reason-parser:=
dev-ml/merlin-extend:=
dev-ml/result:=
@@ -25,18 +26,9 @@ RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/findlib
dev-ml/ocamlbuild
- dev-ml/opam"
+"
src_compile() {
emake precompile
emake build
}
-
-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
-}