diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
commit | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch) | |
tree | e907cb121b30e3c1df1710719c0ddf4029597a47 /dev-lang/tuprolog/tuprolog-2.9.2.ebuild | |
parent | db063b515939ab15261136b24e4bc44386335c0c (diff) |
gentoo resync : 30.09.2020
Diffstat (limited to 'dev-lang/tuprolog/tuprolog-2.9.2.ebuild')
-rw-r--r-- | dev-lang/tuprolog/tuprolog-2.9.2.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild b/dev-lang/tuprolog/tuprolog-2.9.2.ebuild deleted file mode 100644 index ee49fbe50a3c..000000000000 --- a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures" -HOMEPAGE="http://tuprolog.unibo.it/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=">=virtual/jdk-1.7:= - dev-java/javassist:3" - -DEPEND="${RDEPEND} - dev-java/ant-core - test? ( - dev-java/ant-junit4:0 - dev-java/junit:4 - dev-java/hamcrest-core:1.3 - )" - -S="${WORKDIR}"/${P} - -EANT_GENTOO_CLASSPATH="javassist:3" - -src_prepare() { - epatch "${FILESDIR}"/${P}-no-ikvm.patch - epatch "${FILESDIR}"/${P}-no-dynamic-object-test.patch - - cp "${FILESDIR}"/build-${PV}.xml "${S}"/build.xml || die -} - -src_compile() { - eant jar $(use_doc) -} - -src_test() { - cd "${S}"/dist - java-pkg_jar-from junit:4 - java-pkg_jar-from hamcrest-core:1.3 - cd "${S}" - ANT_TASKS="ant-junit4" eant test || die "eant test failed" -} - -src_install() { - java-pkg_dojar dist/${PN}.jar - java-pkg_dojar dist/2p.jar - - if use doc ; then - java-pkg_dohtml -r docs/* || die - dodoc doc/tuprolog-guide.pdf - fi - - if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins doc/examples/*.pl - fi -} |