diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /dev-lang/interprolog/interprolog-2.1.2.ebuild | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'dev-lang/interprolog/interprolog-2.1.2.ebuild')
-rw-r--r-- | dev-lang/interprolog/interprolog-2.1.2.ebuild | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/dev-lang/interprolog/interprolog-2.1.2.ebuild b/dev-lang/interprolog/interprolog-2.1.2.ebuild index 7f9f9e0938fe..fbd13ff599a8 100644 --- a/dev-lang/interprolog/interprolog-2.1.2.ebuild +++ b/dev-lang/interprolog/interprolog-2.1.2.ebuild @@ -1,12 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils java-pkg-2 java-ant-2 versionator +inherit java-pkg-2 java-ant-2 -MY_PV="$(delete_all_version_separators)" -MY_P="${PN}${MY_PV}" +MY_P="${PN}$(ver_rs 1- '')" DESCRIPTION="InterProlog is a Java front-end and enhancement for Prolog" HOMEPAGE="http://www.declarativa.com/interprolog/" @@ -17,13 +16,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" -DEPEND=">=virtual/jdk-1.4 +RDEPEND=">=virtual/jdk-1.4:= + dev-java/junit:0" + +DEPEND="${RDEPEND} app-arch/unzip dev-java/ant-core - =dev-java/junit-3.8*" - -RDEPEND=">=virtual/jdk-1.4 - =dev-java/junit-3.8* || ( dev-lang/xsb dev-lang/swi-prolog @@ -33,13 +31,11 @@ S="${WORKDIR}"/${MY_P} EANT_GENTOO_CLASSPATH="junit" -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-java1.4.patch +src_prepare() { + eapply "${FILESDIR}"/${P}-java1.4.patch + eapply_user - cp "${FILESDIR}"/build.xml "${S}" + cp "${FILESDIR}"/build.xml "${S}" || die mkdir "${S}"/src mv "${S}"/com "${S}"/src rm interprolog.jar junit.jar @@ -55,8 +51,8 @@ src_install() { if use doc ; then java-pkg_dohtml -r docs/* - dohtml INSTALL.htm faq.htm prologAPI.htm - dohtml -r images + dodoc INSTALL.htm faq.htm prologAPI.htm + dodoc -r images dodoc PaperEPIA01.doc fi } |