diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/gnuprologjava/gnuprologjava-0.2.6.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/gnuprologjava/gnuprologjava-0.2.6.ebuild')
-rw-r--r-- | dev-lang/gnuprologjava/gnuprologjava-0.2.6.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-lang/gnuprologjava/gnuprologjava-0.2.6.ebuild b/dev-lang/gnuprologjava/gnuprologjava-0.2.6.ebuild new file mode 100644 index 000000000000..c94727fc1877 --- /dev/null +++ b/dev-lang/gnuprologjava/gnuprologjava-0.2.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="GNU Prolog for Java is an implementation of ISO Prolog as a Java library" +HOMEPAGE="http://www.gnu.org/software/gnuprologjava" +SRC_URI="mirror://gnu/gnuprologjava/${P}-src.zip" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=virtual/jdk-1.6:=" +DEPEND="${RDEPEND} + dev-java/ant-core" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-manual.patch +} + +src_compile() { + eant jar + if use doc ; then + eant doc + fi + mv build/${P}.jar build/${PN}.jar || die +} + +src_install() { + java-pkg_dojar build/${PN}.jar + + if use doc ; then + java-pkg_dohtml -r build/api || die + java-pkg_dohtml -r build/manual || die + fi + + dodoc NEWS.txt docs/readme.txt +} |