diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2011-12-25 20:58:07 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2011-12-25 20:58:07 +0000 |
commit | 37fc97a8289c5bded4f1123e3e6664905a6a0f35 (patch) | |
tree | e8ff2708f1b2188b667c704985f100158408c34e /dev-java/proguard | |
parent | dev-java/jdbc-mysql: version bump (diff) | |
download | gentoo-2-37fc97a8289c5bded4f1123e3e6664905a6a0f35.tar.gz gentoo-2-37fc97a8289c5bded4f1123e3e6664905a6a0f35.tar.bz2 gentoo-2-37fc97a8289c5bded4f1123e3e6664905a6a0f35.zip |
dev-java/proguard: removed old versions
(Portage version: 2.1.10.43/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/proguard')
-rw-r--r-- | dev-java/proguard/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/proguard/proguard-4.3.ebuild | 97 | ||||
-rw-r--r-- | dev-java/proguard/proguard-4.4.ebuild | 65 |
3 files changed, 5 insertions, 163 deletions
diff --git a/dev-java/proguard/ChangeLog b/dev-java/proguard/ChangeLog index 71fd96810fa9..bb4f933a7519 100644 --- a/dev-java/proguard/ChangeLog +++ b/dev-java/proguard/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/proguard # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.24 2011/12/16 08:36:15 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.25 2011/12/25 20:58:07 fordfrog Exp $ + + 25 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> -proguard-4.3.ebuild, + -proguard-4.4.ebuild: + Removed old versions 16 Dec 2011; Naohiro Aota <naota@gentoo.org> proguard-4.5.ebuild: Add ~x86-fbsd wrt 182475 diff --git a/dev-java/proguard/proguard-4.3.ebuild b/dev-java/proguard/proguard-4.3.ebuild deleted file mode 100644 index c8f82eda0d53..000000000000 --- a/dev-java/proguard/proguard-4.3.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/proguard-4.3.ebuild,v 1.3 2009/11/25 09:56:31 maekke Exp $ - -JAVA_PKG_IUSE="doc source" -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Free Java class file shrinker, optimizer, and obfuscator." -HOMEPAGE="http://proguard.sourceforge.net/" -MY_P=${P/-/} -MY_P=${MY_P/_/} -SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples j2me" - -DEPEND=">=virtual/jdk-1.4 - j2me? ( dev-java/sun-j2me-bin ) - dev-java/ant-core" -RDEPEND=">=virtual/jre-1.4 - j2me? ( dev-java/sun-j2me-bin ) - dev-java/ant-core" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - find "${S}" -name "*.jar" | xargs rm -v -} - -src_compile() { - # create jars - mkdir dist - - einfo "Compiling ${PN}.jar" - mkdir -p build/proguard/classes - ejavac -sourcepath src -d build/proguard/classes src/proguard/ProGuard.java || die "Cannot compile 'proguard'" - jar -cf "${S}"/dist/${PN}.jar -C build/proguard/classes proguard || die "Cannot create ${PN}.jar" - - einfo "Compiling ${PN}gui.jar" - mkdir -p build/proguardgui/classes - ejavac -sourcepath src -d build/proguardgui/classes src/proguard/gui/ProGuardGUI.java || die "Cannot compile 'proguardgui'" - cp src/proguard/gui/*.gif build/proguardgui/classes/proguard/gui/ - cp src/proguard/gui/*.pro build/proguardgui/classes/proguard/gui/ - cp src/proguard/gui/*.properties build/proguardgui/classes/proguard/gui/ - jar -cf "${S}"/dist/${PN}gui.jar -C build/proguardgui/classes proguard || die "Cannot create ${PN}gui.jar" - - einfo "Compiling retrace.jar" - mkdir -p build/retrace/classes - ejavac -sourcepath src -d build/retrace/classes src/proguard/retrace/ReTrace.java || die "Cannot compile 'retrace'" - jar -cf "${S}"/dist/retrace.jar -C build/retrace/classes proguard || die "Cannot create retrace.jar" - - einfo "Compiling ${PN}-ant.jar" - mkdir -p build/ant/classes - ejavac -sourcepath src -classpath $(java-pkg_getjars ant-core) \ - -d build/ant/classes src/proguard/ant/ProGuardTask.java || die "Cannot compile 'proguard-ant'" - jar -cf "${S}"/dist/${PN}-ant.jar -C build/ant/classes proguard || die "Cannot create ${PN}-ant.jar" - - if use j2me ; then - einfo "Compiling ${PN}-wtk.jar" - mkdir -p build/wtk/classes - ejavac -sourcepath src -classpath $(java-pkg_getjars sun-j2me-bin) \ - -d build/wtk/classes src/proguard/wtk/ProGuardObfuscator.java || die "Cannot compile 'proguard-wtk'" - jar -cf "${S}"/dist/${PN}-wtk.jar -C build/wtk/classes proguard || die "Cannot create ${PN}-wtk.jar" - fi - - # generate javadoc - if use doc ; then - mkdir javadoc - local cp=$(java-pkg_getjars ant-core) - use j2me && cp="${cp}:$(java-pkg_getjars sun-j2me-bin)" - javadoc -d javadoc -sourcepath src -classpath $${cp} -subpackages proguard || die "Cannot compile javadoc" - fi -} - -src_install() { - java-pkg_dojar dist/* - java-pkg_dolauncher ${PN} --main proguard.ProGuard - java-pkg_dolauncher ${PN}gui --main proguard.gui.ProGuardGUI - java-pkg_dolauncher ${PN}_retrace --main proguard.retrace.ReTrace - - if use doc; then - dohtml -r docs/* - java-pkg_dojavadoc javadoc - fi - - if use examples; then - dohtml -r examples - fi -} - -pkg_postinst() { - elog "Please see http://proguard.sourceforge.net/GPL_exception.html" - elog "for linking exception information about ${PN}" -} diff --git a/dev-java/proguard/proguard-4.4.ebuild b/dev-java/proguard/proguard-4.4.ebuild deleted file mode 100644 index d4850cc7c671..000000000000 --- a/dev-java/proguard/proguard-4.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/proguard-4.4.ebuild,v 1.2 2009/12/07 23:11:02 maekke Exp $ - -EAPI="2" -JAVA_PKG_IUSE="doc examples source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Free Java class file shrinker, optimizer, and obfuscator." -HOMEPAGE="http://proguard.sourceforge.net/" -MY_P=${P/-/} -MY_P=${MY_P/_/} -SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="ant j2me" - -DEPEND=">=virtual/jdk-1.4 - j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )" -RDEPEND=">=virtual/jre-1.4 - >=dev-java/ant-core-1.7:0 - j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )" - -S=${WORKDIR}/${MY_P} - -java_prepare() { - find "${S}" -name "*.jar" | xargs rm -v -} - -EANT_BUILD_XML="build/build.xml" -EANT_BUILD_TARGET="basic" -EANT_DOC_TARGET="" - -src_compile() { - local j2mearg antarg - - use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)" - use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)" - - java-pkg-2_src_compile \ - $(use ant && echo anttask ${antarg}) \ - $(use j2me && echo wtkplugin ${j2mearg}) - - if use doc; then - mkdir javadoc || die - javadoc -d javadoc -sourcepath src -classpath $${cp} -subpackages proguard || die "Cannot compile javadoc" - fi -} - -src_install() { - java-pkg_dojar lib/* - java-pkg_dolauncher ${PN} --main proguard.ProGuard - java-pkg_dolauncher ${PN}gui --main proguard.gui.ProGuardGUI - java-pkg_dolauncher ${PN}_retrace --main proguard.retrace.ReTrace - - if use doc; then - dohtml -r docs/* - java-pkg_dojavadoc javadoc - fi - - use examples && java-pkg_doexamples examples -} |