dev-java/jgraph: clean up old.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
Patrice Clement
2019-04-01 11:06:38 +02:00
parent b9ba680af1
commit 3022b6645f
2 changed files with 0 additions and 48 deletions
-1
View File
@@ -1,2 +1 @@
DIST jgraph-5.12.0.4-lgpl-src.jar 3460750 BLAKE2B 0d2c50673eb652e4335a2d4fe9edcd93745595302c9ce674e8bb05ceab5edcb6b4a190e4d4da14bdb552ca7d35421473d0931addb02c2d1326d81eb442c372d1 SHA512 0832afeb28c4d5abb9288de4e1b74eefc432bb98f622e71f0d192bf9f01741feb406ba0473b923e0cb93401120c1456a00eec4653355c37bff7e9e1863e81b5d
DIST jgraph-5.12.0.4.jar 3460750 BLAKE2B 0d2c50673eb652e4335a2d4fe9edcd93745595302c9ce674e8bb05ceab5edcb6b4a190e4d4da14bdb552ca7d35421473d0931addb02c2d1326d81eb442c372d1 SHA512 0832afeb28c4d5abb9288de4e1b74eefc432bb98f622e71f0d192bf9f01741feb406ba0473b923e0cb93401120c1456a00eec4653355c37bff7e9e1863e81b5d
-47
View File
@@ -1,47 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Open-source graph component for Java"
SRC_URI="mirror://sourceforge/${PN}/${P}-lgpl-src.jar"
HOMEPAGE="https://www.jgraph.com"
IUSE="doc examples source"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
JAVA_PKG_FILTER_COMPILER="jikes"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd "${S}"
rm -v *.class || die
# don't do javadoc always
sed -i -e 's/depends="compile, doc"/depends="compile"/' build.xml || \
die "sed failed"
rm -rf doc/api || die
rm lib/jgraph.jar || die
}
EANT_DOC_TARGET="apidoc"
src_install() {
java-pkg_dojar build/lib/${PN}.jar
dodoc README WHATSNEW ChangeLog || die
use doc && java-pkg_dojavadoc build/doc/api
use source && java-pkg_dosrc src/org
use examples && java-pkg_doexamples examples
}