summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-12-25 21:00:54 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-12-25 21:00:54 +0000
commit947a2a60422ff903eb36be2076fb1de69de35fc1 (patch)
treed41a0eb47572930e10aca9785c584542a80d5529 /dev-java/proguard
parentdev-java/proguard: removed old versions (diff)
downloadhistorical-947a2a60422ff903eb36be2076fb1de69de35fc1.tar.gz
historical-947a2a60422ff903eb36be2076fb1de69de35fc1.tar.bz2
historical-947a2a60422ff903eb36be2076fb1de69de35fc1.zip
dev-java/proguard: version bump
Package-Manager: portage-2.1.10.43/cvs/Linux x86_64
Diffstat (limited to 'dev-java/proguard')
-rw-r--r--dev-java/proguard/ChangeLog7
-rw-r--r--dev-java/proguard/Manifest4
-rw-r--r--dev-java/proguard/proguard-4.7.ebuild65
3 files changed, 74 insertions, 2 deletions
diff --git a/dev-java/proguard/ChangeLog b/dev-java/proguard/ChangeLog
index bb4f933a7519..384fd40aec0f 100644
--- a/dev-java/proguard/ChangeLog
+++ b/dev-java/proguard/ChangeLog
@@ -1,6 +1,11 @@
# 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.25 2011/12/25 20:58:07 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.26 2011/12/25 21:00:54 fordfrog Exp $
+
+*proguard-4.7 (25 Dec 2011)
+
+ 25 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> +proguard-4.7.ebuild:
+ Vesion bump
25 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> -proguard-4.3.ebuild,
-proguard-4.4.ebuild:
diff --git a/dev-java/proguard/Manifest b/dev-java/proguard/Manifest
index 13b96a384981..e7cde9d4e863 100644
--- a/dev-java/proguard/Manifest
+++ b/dev-java/proguard/Manifest
@@ -1,5 +1,7 @@
AUX build.xml 1018 RMD160 2d99298bd2b737a33601984baaaafc230546e469 SHA1 005dcd093e0dc57f0d94b5480b6f5effc1650be4 SHA256 2ff78260db48aba082012630cb496cf4060dcdf88dde7e8dd2be5bf4cd8da242
DIST proguard4.5.tar.gz 1827325 RMD160 9cb35113f19b48a556420c04726d3f66752e6a90 SHA1 3e0c50004354b94a622431837c7200762f43f176 SHA256 ccd621c0560817c252d999c66e1c975f307758e928104c14be02ec311e107e4e
+DIST proguard4.7.tar.gz 1902321 RMD160 7908adc6a29e8f98170402da1eeb972f3c4d18ee SHA1 e4d8cdaa26519f3793f4e40dde857271c4763dea SHA256 ea2c245257d59957ce8dee9476b9595ac99c0a9c5194d739a3a800af5fac99e7
EBUILD proguard-4.5.ebuild 1711 RMD160 b479a3d58cdd06e92c14767b9a9162da8c87b2c9 SHA1 ad31fb77b5be779ec9d5f36811cc9fd07444ddfd SHA256 982669e641b05d1281c149eebb0abf50ac538820faac9fce91a1f717b93f72d5
-MISC ChangeLog 3422 RMD160 d1451322663cda561561ba46c9372e3a4ea3c171 SHA1 2b17e7e44a9e6efe42dfc5e074043dd5f25798c0 SHA256 f92650cea771240aa02bd9ba9532c9f8518a681980eb9cbb6efd03a0c46a87af
+EBUILD proguard-4.7.ebuild 1716 RMD160 0c05af590200ad1a0f46288b66316e90d12e4945 SHA1 8f0dc1b0ccc23397796745d0b0e260425d294b45 SHA256 eb72eba90e0c26adfb86d0f3d260fe8861cd35567479ea18d7dba7ef642610e0
+MISC ChangeLog 3540 RMD160 b4acd485546b1104ccdded24fbdbcfbccc960724 SHA1 3de9e42c10a0c0eeea82eb6025689e15b1ca5e20 SHA256 13448391000aa5661d896f64e2c22fee4223a973053601b32e17893460900fa9
MISC metadata.xml 321 RMD160 4fede1943ae410e05c4fd59cb53d0b4dbdab156a SHA1 953686bdb4846c95816009390413d664bcf6e903 SHA256 54a8ab20271a859093e023d0b1ccfa55cb712577d69111362544d613c1f341ed
diff --git a/dev-java/proguard/proguard-4.7.ebuild b/dev-java/proguard/proguard-4.7.ebuild
new file mode 100644
index 000000000000..2bad730abbdf
--- /dev/null
+++ b/dev-java/proguard/proguard-4.7.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/proguard-4.7.ebuild,v 1.1 2011/12/25 21:00:54 fordfrog 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 ~x86-fbsd"
+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
+}