diff options
Diffstat (limited to 'dev-java/jsap')
-rw-r--r-- | dev-java/jsap/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jsap/files/jsap-2.1-build.xml.patch | 22 | ||||
-rw-r--r-- | dev-java/jsap/jsap-2.1-r1.ebuild | 73 | ||||
-rw-r--r-- | dev-java/jsap/jsap-2.1.ebuild | 66 |
4 files changed, 0 insertions, 162 deletions
diff --git a/dev-java/jsap/Manifest b/dev-java/jsap/Manifest index 69c43cc08af9..e866b49d9b24 100644 --- a/dev-java/jsap/Manifest +++ b/dev-java/jsap/Manifest @@ -1,2 +1 @@ -DIST JSAP-2.1-src.tar.gz 1281840 SHA256 5146bf75cba18fdf9299462a4127e95919c884494aaf3ed023cb2950217a0862 SHA512 5509d67b8af11cfbf94ca1a4d2b055b84c6c025ca26cd70390f63394d112a842fd39271181dfad0a88856964acd66f8abe49c72c58cc0086445d810837ba3352 WHIRLPOOL aecdc479d5d088429ca10a24a90b8aefc849ff7eef03276e9c2667a28420a2fefcf6d6541b1eee5d8c7891c3aa2c7392dc9e943084aaeac86bcc48d4a4d1dc78 DIST jsap-2.1.tar.gz 1281840 SHA256 5146bf75cba18fdf9299462a4127e95919c884494aaf3ed023cb2950217a0862 SHA512 5509d67b8af11cfbf94ca1a4d2b055b84c6c025ca26cd70390f63394d112a842fd39271181dfad0a88856964acd66f8abe49c72c58cc0086445d810837ba3352 WHIRLPOOL aecdc479d5d088429ca10a24a90b8aefc849ff7eef03276e9c2667a28420a2fefcf6d6541b1eee5d8c7891c3aa2c7392dc9e943084aaeac86bcc48d4a4d1dc78 diff --git a/dev-java/jsap/files/jsap-2.1-build.xml.patch b/dev-java/jsap/files/jsap-2.1-build.xml.patch deleted file mode 100644 index 8fae7e812bf7..000000000000 --- a/dev-java/jsap/files/jsap-2.1-build.xml.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- build.xml.original 2007-04-21 12:58:25.000000000 +0200 -+++ build.xml 2007-04-21 13:08:39.000000000 +0200 -@@ -124,8 +124,8 @@ - <!-- compile the JSAP API --> - <target name="compile-api" depends="init" > - <javac target="1.4" source="1.4" destdir="${build}" srcdir="${javasrc}"> --<!-- <exclude name="${testFiles}" /> -- <exclude name="${exampleFiles}" /> --> -+ <exclude name="${testFiles}" /> -+ <exclude name="${exampleFiles}" /> - <classpath refid="lib.class.path" /> - </javac> - <copy todir="${build}"> -@@ -168,7 +168,7 @@ - </target> - - <!-- make the jar --> -- <target name="jar" depends="clean,test"> -+ <target name="jar" depends="clean,compile-api"> - <mkdir dir="${dist}"/> - <jar basedir="${build}" jarfile="${dist}/${jarname}"> - <exclude name="${testFiles}" /> diff --git a/dev-java/jsap/jsap-2.1-r1.ebuild b/dev-java/jsap/jsap-2.1-r1.ebuild deleted file mode 100644 index db2a8a7959c9..000000000000 --- a/dev-java/jsap/jsap-2.1-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 java-ant-2 - -MY_PN="JSAP" -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Java Simple Arguments Parser (JSAP)" -HOMEPAGE="http://sourceforge.net/projects/jsap" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="test" - -CDEPEND=" - dev-java/xstream:0 - dev-java/ant-core:0" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - test? ( - dev-java/ant-junit:0 - )" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -S="${WORKDIR}/${MY_P}" - -EANT_BUILD_TARGET="jar" -EANT_JAVADOC_TARGET="javadoc" -EANT_ANT_TASKS="rundoc snip" -EANT_BUILD_TEST="test" -EANT_GENTOO_CLASSPATH=" - ant-core - xstream -" - -JAVA_ANT_REWRITE_CLASSPATH="yes" - -PATCHES=( - "${FILESDIR}/${P}-build.xml.patch" -) - -java_prepare() { - java-pkg_clean - epatch "${PATCHES[@]}" -} - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar "dist/${MY_P}.jar" - - if use doc; then - dohtml doc/*.html - java-pkg_dojavadoc doc/javadoc - dosym /usr/share/doc/${PF}/html/api /usr/share/doc/${PF}/html/javadoc - fi - - use source && java-pkg_dosrc src/java/com -} diff --git a/dev-java/jsap/jsap-2.1.ebuild b/dev-java/jsap/jsap-2.1.ebuild deleted file mode 100644 index 4e9f0e675eec..000000000000 --- a/dev-java/jsap/jsap-2.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -JAVA_PKG_IUSE="doc source" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Java Simple Arguments Parser (JSAP)" -HOMEPAGE="http://sourceforge.net/projects/jsap" -MY_PN=JSAP -MY_P=${MY_PN}-${PV} -SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" -IUSE="test" - -COMMON_DEP=" - >=dev-java/ant-core-1.7.0 - dev-java/xstream" - -DEPEND=">=virtual/jdk-1.4 - ${COMMON_DEP} - =dev-java/snip-0.11* - =dev-java/rundoc-0.11* - test? ( - dev-java/ant-junit - =dev-java/junit-3.8* - )" - -RDEPEND=">=virtual/jre-1.4 - ${COMMON_DEP}" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-build.xml.patch" - java-ant_rewrite-classpath - cd "${S}/lib" - - rm -v *.jar -} - -EANT_BUILD_TARGET="jar" -EANT_JAVADOC_TARGET="javadoc" -EANT_ANT_TASKS="rundoc snip" -EANT_GENTOO_CLASSPATH="ant-core xstream" - -src_test() { - ANT_TASKS="ant-junit rundoc snip" eant test -} - -src_install() { - java-pkg_newjar dist/${MY_P}.jar - - if use doc; then - dohtml doc/*.html - java-pkg_dojavadoc doc/javadoc - dosym /usr/share/doc/${PF}/html/api /usr/share/doc/${PF}/html/javadoc - fi - - use source && java-pkg_dosrc src/java/com -} |