--- /dev/null
+# ChangeLog for dev-java/jcharts
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.1 2007/01/13 19:49:50 betelgeuse Exp $
+
+*jcharts-0.7.5 (13 Jan 2007)
+
+ 13 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +jcharts-0.7.5.ebuild:
+ Initial addition. Ebuild written by me.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST jCharts-0.7.5.zip 2499046 RMD160 8acf331baac631c246805b49bb8c4f462ea27015 SHA1 dfa73472439de40a0009fcc6257873159111342f SHA256 add40a61a022f353421bfc578537871b7d716750896d689ada8ac294334956d6
+EBUILD jcharts-0.7.5.ebuild 1455 RMD160 bf0c1add0e1d72fd9480513a3aedf7f55da4685f SHA1 a2371a13e744aaa209224497fbfe89c7b3667c83 SHA256 3fa57b6e27fefc86b2be02acea5bae8d59650ec1b7f5152b4da4cbac947bb72d
+MD5 6c8a4192d14791f679f8177c71930266 jcharts-0.7.5.ebuild 1455
+RMD160 bf0c1add0e1d72fd9480513a3aedf7f55da4685f jcharts-0.7.5.ebuild 1455
+SHA256 3fa57b6e27fefc86b2be02acea5bae8d59650ec1b7f5152b4da4cbac947bb72d jcharts-0.7.5.ebuild 1455
+MISC ChangeLog 375 RMD160 795e3672080103b4610bbedc6d6b94d6bae52db8 SHA1 4ac1815577a97a818fcf93a6d41037dde72be7c8 SHA256 a5cd4a3fe41a14790c586cd29b5fcbadd4951f5b546d46fa61afae26cdb6ec22
+MD5 1edf35f9c87e80a1f1d6bce4375a79fa ChangeLog 375
+RMD160 795e3672080103b4610bbedc6d6b94d6bae52db8 ChangeLog 375
+SHA256 a5cd4a3fe41a14790c586cd29b5fcbadd4951f5b546d46fa61afae26cdb6ec22 ChangeLog 375
+MISC metadata.xml 455 RMD160 66e8f2f0a033e851409cc828b60e2ee58cc6f0d3 SHA1 e7310a1d607d8ff1325ae2f8bc38e5dce2a96d45 SHA256 148ca08bf90898d798fd8c6f047115ecd696909c3950f965d1d76f2b3c5a435b
+MD5 a2d3c542795152f0a045624823d2a04a metadata.xml 455
+RMD160 66e8f2f0a033e851409cc828b60e2ee58cc6f0d3 metadata.xml 455
+SHA256 148ca08bf90898d798fd8c6f047115ecd696909c3950f965d1d76f2b3c5a435b metadata.xml 455
+MD5 462c3e554427d4752568b6a285231330 files/digest-jcharts-0.7.5 235
+RMD160 dacaff92e9030c2a586eec297a59e69834959005 files/digest-jcharts-0.7.5 235
+SHA256 246e087af1555a01d5df25eeb806c38d9157cba85ba5863103589a59f191b3b7 files/digest-jcharts-0.7.5 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFqTfvcxLzpIGCsLQRAmUAAJ4j3WnV45R2b7SI6zCa3moXzJ4JogCfSX3q
+x3jvl0/+ufp/0EUQiAk14Lc=
+=pWwO
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 fdbe9c5eea264dd75f76ff8ea2ba1482 jCharts-0.7.5.zip 2499046
+RMD160 8acf331baac631c246805b49bb8c4f462ea27015 jCharts-0.7.5.zip 2499046
+SHA256 add40a61a022f353421bfc578537871b7d716750896d689ada8ac294334956d6 jCharts-0.7.5.zip 2499046
--- /dev/null
+# Copyright 1999-2007 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.ebuild,v 1.1 2007/01/13 19:49:50 betelgeuse Exp $
+
+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="~x86"
+
+IUSE="doc examples source"
+
+COMMON_DEP="
+ =dev-java/batik-1.6*
+ =dev-java/servletapi-2.4*"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}
+ dev-java/ant-core
+ app-arch/unzip
+ source? ( app-arch/zip )"
+
+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.6):${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
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins -r demo/*
+ fi
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+
+ <longdescription lang="en">
+ jCharts is a 100% Java based charting utility that outputs a
+ variety of charts. This package has been designed from the
+ ground up by volunteers for displaying charts via Servlets,
+ JSP's, and Swing apps. First release was in December 2000.
+ </longdescription>
+</pkgmetadata>