summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-06-05 14:27:02 +0000
committerVlastimil Babka <caster@gentoo.org>2009-06-05 14:27:02 +0000
commit5faadf5712211fa03e98eab4ecc7ada9dfbf69f9 (patch)
treeaaceb74736c7461fb5ecda09de1608184285f852 /dev-java/jcharts
parentVersion bump to 0.2.7 (diff)
downloadhistorical-5faadf5712211fa03e98eab4ecc7ada9dfbf69f9.tar.gz
historical-5faadf5712211fa03e98eab4ecc7ada9dfbf69f9.tar.bz2
historical-5faadf5712211fa03e98eab4ecc7ada9dfbf69f9.zip
Revbump to use batik-1.7
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java/jcharts')
-rw-r--r--dev-java/jcharts/ChangeLog9
-rw-r--r--dev-java/jcharts/Manifest13
-rw-r--r--dev-java/jcharts/jcharts-0.7.5-r1.ebuild64
3 files changed, 73 insertions, 13 deletions
diff --git a/dev-java/jcharts/ChangeLog b/dev-java/jcharts/ChangeLog
index bfbc06d638d5..0ae443fd946b 100644
--- a/dev-java/jcharts/ChangeLog
+++ b/dev-java/jcharts/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jcharts
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.4 2008/04/26 12:09:06 betelgeuse Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.5 2009/06/05 14:27:02 caster Exp $
+
+*jcharts-0.7.5-r1 (05 Jun 2009)
+
+ 05 Jun 2009; Vlastimil Babka <caster@gentoo.org> +jcharts-0.7.5-r1.ebuild:
+ Revbump to use batik-1.7
26 Apr 2008; Petteri Räty <betelgeuse@gentoo.org> jcharts-0.7.5.ebuild:
Switch to slot deps and use java-pkg_doexamples.
diff --git a/dev-java/jcharts/Manifest b/dev-java/jcharts/Manifest
index 830ac78c091d..59be1d79ee4a 100644
--- a/dev-java/jcharts/Manifest
+++ b/dev-java/jcharts/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST jCharts-0.7.5.zip 2499046 RMD160 8acf331baac631c246805b49bb8c4f462ea27015 SHA1 dfa73472439de40a0009fcc6257873159111342f SHA256 add40a61a022f353421bfc578537871b7d716750896d689ada8ac294334956d6
+EBUILD jcharts-0.7.5-r1.ebuild 1354 RMD160 0da5be99d64679ef08b2f48f6fd7711a9bf2ee25 SHA1 488a7104f1a50a2c185599423b509c431f5969d9 SHA256 5f84d4ad962cad7323302643890ce00da9cc3fa138d744e6a5dc6b0a1e9c4e3a
EBUILD jcharts-0.7.5.ebuild 1355 RMD160 913e92ab616fa7222406e73a4762c921fdddf7ad SHA1 8c7d2ecfa09ae276ab7265f293b37986493aa206 SHA256 24899bd967bfcbbd1e38d2207fe538c4e91c3a9c0d755ed1a16c596c608c3a66
-MISC ChangeLog 697 RMD160 ad5cb6ea8b7fd61602a873993cc44157c8fc2fd4 SHA1 afcc876e7082cde56e5258574c4212501dc967c0 SHA256 52f323d62aec9a62ad3e1addb28dad7a29519bfb188d6a97686adb74f8d9f04a
+MISC ChangeLog 831 RMD160 0e0ab586b0a5733e1738419e2953286303fa4f3e SHA1 32aeb69015560f1d641320baf0b487c550c2cf08 SHA256 ddc2fc2bd7d9c0b0f5e9d02eadaa5d3273705f32873fabc5d1bc27f320c9e36f
MISC metadata.xml 455 RMD160 66e8f2f0a033e851409cc828b60e2ee58cc6f0d3 SHA1 e7310a1d607d8ff1325ae2f8bc38e5dce2a96d45 SHA256 148ca08bf90898d798fd8c6f047115ecd696909c3950f965d1d76f2b3c5a435b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkgTG1MACgkQcxLzpIGCsLT7aQCeMJJKOmTd35Z/OIEMjyMTCXNu
-b3gAn1cA8dSRSclZdzPywRnoPVAFM+Tg
-=tahy
------END PGP SIGNATURE-----
diff --git a/dev-java/jcharts/jcharts-0.7.5-r1.ebuild b/dev-java/jcharts/jcharts-0.7.5-r1.ebuild
new file mode 100644
index 000000000000..2ffe1ae02d6e
--- /dev/null
+++ b/dev-java/jcharts/jcharts-0.7.5-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/jcharts-0.7.5-r1.ebuild,v 1.1 2009/06/05 14:27:02 caster Exp $
+
+EAPI="1"
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="jCharts-${PV}"
+DESCRIPTION="jCharts is a 100% Java based charting utility that outputs a variety of charts"
+HOMEPAGE="http://jcharts.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/batik:1.7
+ dev-java/servletapi:2.4"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v *.{jar,war} lib/*.jar
+}
+
+_eant() {
+ cd build
+ local servletcp="$(java-pkg_getjars servletapi-2.4)"
+ eant ${1} \
+ -Dbatik.classpath="$(java-pkg_getjars batik-1.7):${servletcp}"
+}
+
+src_compile() {
+ # zip file includes javadocs and 1.6 fails to generate them so we just use
+ # the bundled ones
+ _eant jar
+}
+
+RESTRICT=test
+# tests need X11
+#src_test() {
+# _eant test
+#}
+
+src_install() {
+ java-pkg_newjar build/*.jar
+ dohtml docs/*.html
+ use doc && java-pkg_dojavadoc javadocs
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples demo
+}