From dd25fff37ff74a77585d8100b557daf4b4d008a2 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 23 Jun 2016 16:32:25 +0200 Subject: dev-ml/ocaml-gettext: drop backward compat for camlp4 Package-Manager: portage-2.3.0_rc1 --- dev-ml/ocaml-gettext/ocaml-gettext-0.3.5-r1.ebuild | 52 ++++++++++++++++++++++ dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild | 52 ---------------------- 2 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 dev-ml/ocaml-gettext/ocaml-gettext-0.3.5-r1.ebuild delete mode 100644 dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5-r1.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5-r1.ebuild new file mode 100644 index 000000000000..413b5f6f1857 --- /dev/null +++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit findlib eutils + +DESCRIPTION="Provides support for internationalization of OCaml program" +HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext" +SRC_URI="http://forge.ocamlcore.org/frs/download.php/1433/${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-lang/ocaml-3.12.1:= + >=dev-ml/ocaml-fileutils-0.4.0:= + >=dev-ml/camomile-0.8.3:= + sys-devel/gettext + dev-ml/camlp4:= + " +DEPEND="${RDEPEND} + doc? ( app-text/docbook-xsl-stylesheets dev-libs/libxslt ) + test? ( dev-ml/ounit )" + +src_prepare() { + has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch" +} + +src_configure() { + econf \ + --with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \ + $(use_enable doc) \ + $(use_enable test) +} + +src_compile() { + emake -j1 +} + +src_install() { + findlib_src_preinst + emake -j1 DESTDIR="${D}" \ + BINDIR="${ED}/usr/bin" \ + PODIR="${ED}/usr/share/locale/" \ + DOCDIR="${ED}/usr/share/doc/${PF}" \ + MANDIR="${ED}/usr/share/man" \ + install + dodoc CHANGELOG README THANKS TODO +} diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild deleted file mode 100644 index 788bd15dab27..000000000000 --- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit findlib eutils - -DESCRIPTION="Provides support for internationalization of OCaml program" -HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext" -SRC_URI="http://forge.ocamlcore.org/frs/download.php/1433/${P}.tar.gz" - -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -RDEPEND=">=dev-lang/ocaml-3.12.1:= - >=dev-ml/ocaml-fileutils-0.4.0:= - >=dev-ml/camomile-0.8.3:= - sys-devel/gettext - || ( dev-ml/camlp4:= =dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch" -} - -src_configure() { - econf \ - --with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \ - $(use_enable doc) \ - $(use_enable test) -} - -src_compile() { - emake -j1 -} - -src_install() { - findlib_src_preinst - emake -j1 DESTDIR="${D}" \ - BINDIR="${ED}/usr/bin" \ - PODIR="${ED}/usr/share/locale/" \ - DOCDIR="${ED}/usr/share/doc/${PF}" \ - MANDIR="${ED}/usr/share/man" \ - install - dodoc CHANGELOG README THANKS TODO -} -- cgit v1.2.3