summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2008-03-29 02:20:13 +0000
committerAlistair Bush <ali_bush@gentoo.org>2008-03-29 02:20:13 +0000
commitcecf6c18f25a1b34e85d894489d65a740e668fe0 (patch)
treeb2a7630df6a2ec36a2035efda0658d50df5c22eb /dev-java/proguard
parentAdded a patch to make freedict.eclass ready for eclass-manpages. Thanks, mren... (diff)
downloadhistorical-cecf6c18f25a1b34e85d894489d65a740e668fe0.tar.gz
historical-cecf6c18f25a1b34e85d894489d65a740e668fe0.tar.bz2
historical-cecf6c18f25a1b34e85d894489d65a740e668fe0.zip
Version Bump. see #214636
Package-Manager: portage-2.1.4.4
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.2.ebuild92
3 files changed, 101 insertions, 2 deletions
diff --git a/dev-java/proguard/ChangeLog b/dev-java/proguard/ChangeLog
index 5a07cd0cb19b..304b1ee4b76b 100644
--- a/dev-java/proguard/ChangeLog
+++ b/dev-java/proguard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/proguard
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.11 2008/02/21 11:37:42 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.12 2008/03/29 02:20:13 ali_bush Exp $
+
+*proguard-4.2 (29 Mar 2008)
+
+ 29 Mar 2008; Alistair Bush <ali_bush@gentoo.org> +proguard-4.2.ebuild:
+ Version Bump. see #214636.
*proguard-4.1 (21 Feb 2008)
diff --git a/dev-java/proguard/Manifest b/dev-java/proguard/Manifest
index 108bbae9bbdc..f47b94947e3a 100644
--- a/dev-java/proguard/Manifest
+++ b/dev-java/proguard/Manifest
@@ -1,7 +1,9 @@
AUX build.xml 1018 RMD160 2d99298bd2b737a33601984baaaafc230546e469 SHA1 005dcd093e0dc57f0d94b5480b6f5effc1650be4 SHA256 2ff78260db48aba082012630cb496cf4060dcdf88dde7e8dd2be5bf4cd8da242
DIST proguard3.10.tar.gz 1263018 RMD160 219c40c4eafc337cfdfce4c8d81f435845d0d350 SHA1 255768b05d9a5c5cee698482f18dce7ff5ff1f96 SHA256 c330c82431be38df6e5393694015b94bf81181f81064d929e5713cb0b75060ad
DIST proguard4.1.tar.gz 1651195 RMD160 a56916316b6811dec3e29aab1c4a799e4052dbf6 SHA1 860201ceb4f23136ef7546353a0b3e514996e224 SHA256 048af8aa942f63718f1f1e6473caa7af69f6fe05b9ba9442df928efe0f715ec8
+DIST proguard4.2.tar.gz 1667147 RMD160 c38aa1ac68c15c00b741f1bdd3573ca2f82a9819 SHA1 9562852ea382b1d0dbbc294f7b6bec563bad21b6 SHA256 cc3ca45f3fa6ca06edb5a855e72f7870af718f2a2fa60a0725007e88242d6196
EBUILD proguard-3.10.ebuild 1423 RMD160 13748a159c97a05147bbc52cbce877d2a1c0b3c9 SHA1 2f557c005937b8fa7387103d282ac8381949d213 SHA256 235f5a034d2b1eb0c31f585432f38055d82a99afb42f9f6aa3b1350cb71172b1
EBUILD proguard-4.1.ebuild 3191 RMD160 4a4062eff8b21d57fd7627cd26d954bf754b6be7 SHA1 66e3016fc7182befdea57b5b84e4cca5b6536b30 SHA256 373b7440dcc108420aad4139bf0dfa31302ec81d050bd3c3e15b636e1c1f55ea
-MISC ChangeLog 1583 RMD160 c3aeddaf17b151f603dca3f3b56699330fceb89d SHA1 d665624b3c11ca59dfcb275a88caf701cd3b1a48 SHA256 9f9814585651517d10ac6aa7349da6e36c58a1c2fcaae9174701b1b692d9dc15
+EBUILD proguard-4.2.ebuild 3165 RMD160 5ae6b36d854ceb03be7d71d31b58bb1079d2057d SHA1 ce10016f92f5cb432f97919d5d4758157d4af6f4 SHA256 1b06dbb6b90efbe08d39f210a85129c10c5cb570f6be3ca9e7bbb557680bfe77
+MISC ChangeLog 1715 RMD160 51a5c9c1fe27c8d9c018f5654368c1e345f49ff2 SHA1 a4b7a8bfda01fe10669d38878b68a0488edcb74d SHA256 726f3a6d5f60dbafa5b97d08b2f87ce4b8cbf6468b0953d2cde84cc50132b205
MISC metadata.xml 158 RMD160 94cf6dcaf672d8ae3f8958288e448ab2d7da1c80 SHA1 023da9fae1586e478d196e34edf238b7747bb84f SHA256 1432f3cd35ba44f6867c38d841ce078e018172e75cc47bad2c59aa8336c48fc8
diff --git a/dev-java/proguard/proguard-4.2.ebuild b/dev-java/proguard/proguard-4.2.ebuild
new file mode 100644
index 000000000000..a61d641ff7cc
--- /dev/null
+++ b/dev-java/proguard/proguard-4.2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/proguard-4.2.ebuild,v 1.1 2008/03/29 02:20:13 ali_bush 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 )"
+RDEPEND=">=virtual/jre-1.4
+ j2me? ( dev-java/sun-j2me-bin )"
+
+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 || "Cannot compile 'proguardgui'"
+ 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 --build-only 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 --build-only 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}"
+}