summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-09-02 14:56:08 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-09-02 14:56:08 +0000
commit13558552923c9c85ce5c7d5dbfdab455b21c8d7f (patch)
tree2f73997503be3ac522f00fae278ea2608d2a0777 /dev-java
parent Add libsexy dependency to last-exit 5.0, thanks to Magnus <freidrichen@gmail... (diff)
downloadgentoo-2-13558552923c9c85ce5c7d5dbfdab455b21c8d7f.tar.gz
gentoo-2-13558552923c9c85ce5c7d5dbfdab455b21c8d7f.tar.bz2
gentoo-2-13558552923c9c85ce5c7d5dbfdab455b21c8d7f.zip
Version bump.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/proguard/ChangeLog7
-rw-r--r--dev-java/proguard/files/digest-proguard-3.103
-rw-r--r--dev-java/proguard/proguard-3.10.ebuild53
3 files changed, 62 insertions, 1 deletions
diff --git a/dev-java/proguard/ChangeLog b/dev-java/proguard/ChangeLog
index 655ab66f3f13..b6e108abba6d 100644
--- a/dev-java/proguard/ChangeLog
+++ b/dev-java/proguard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/proguard
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.8 2007/08/27 10:47:47 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/ChangeLog,v 1.9 2007/09/02 14:56:08 betelgeuse Exp $
+
+*proguard-3.10 (02 Sep 2007)
+
+ 02 Sep 2007; Petteri Räty <betelgeuse@gentoo.org> +proguard-3.10.ebuild:
+ Version bump.
*proguard-3.9 (27 Aug 2007)
diff --git a/dev-java/proguard/files/digest-proguard-3.10 b/dev-java/proguard/files/digest-proguard-3.10
new file mode 100644
index 000000000000..a17764122410
--- /dev/null
+++ b/dev-java/proguard/files/digest-proguard-3.10
@@ -0,0 +1,3 @@
+MD5 9c5c9d61f4f86df2bef8af0f581237b2 proguard3.10.tar.gz 1263018
+RMD160 219c40c4eafc337cfdfce4c8d81f435845d0d350 proguard3.10.tar.gz 1263018
+SHA256 c330c82431be38df6e5393694015b94bf81181f81064d929e5713cb0b75060ad proguard3.10.tar.gz 1263018
diff --git a/dev-java/proguard/proguard-3.10.ebuild b/dev-java/proguard/proguard-3.10.ebuild
new file mode 100644
index 000000000000..d12b4c7db0fb
--- /dev/null
+++ b/dev-java/proguard/proguard-3.10.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proguard/proguard-3.10.ebuild,v 1.1 2007/09/02 14:56:08 betelgeuse Exp $
+
+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/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/sun-j2me-bin
+ dev-java/ant-core"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S=${WORKDIR}/${PN}${PV}
+
+src_unpack() {
+ unpack ${A}
+ cp -i "${FILESDIR}/build.xml" "${S}"
+ rm -v "${S}"/lib/*.jar || die
+ cd "${S}" && java-ant_rewrite-classpath
+}
+
+EANT_DOC_TARGET=""
+EANT_BUILD_TARGET="proguard"
+EANT_GENTOO_CLASSPATH="sun-j2me-bin,ant-core"
+
+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
+
+ java-pkg_register-ant-task
+
+ use doc && dohtml -r docs/*
+ use examples && java-pkg_doexamples examples
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "Please see http://proguard.sourceforge.net/GPL_exception.html"
+ elog "for linking exception information about ${PN}"
+}