summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-13 19:49:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-13 19:49:50 +0000
commit7c94d61ddce9978dac13860ca6f430e263e683fd (patch)
tree323e54c25bd363969a8dcdf11471982ef9fd4fee /dev-java
parentarm/ia64/sh love (diff)
downloadgentoo-2-7c94d61ddce9978dac13860ca6f430e263e683fd.tar.gz
gentoo-2-7c94d61ddce9978dac13860ca6f430e263e683fd.tar.bz2
gentoo-2-7c94d61ddce9978dac13860ca6f430e263e683fd.zip
Initial addition. Ebuild written by me.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jcharts/ChangeLog10
-rw-r--r--dev-java/jcharts/Manifest16
-rw-r--r--dev-java/jcharts/files/digest-jcharts-0.7.53
-rw-r--r--dev-java/jcharts/jcharts-0.7.5.ebuild68
-rw-r--r--dev-java/jcharts/metadata.xml12
5 files changed, 109 insertions, 0 deletions
diff --git a/dev-java/jcharts/ChangeLog b/dev-java/jcharts/ChangeLog
new file mode 100644
index 000000000000..1bfd50000125
--- /dev/null
+++ b/dev-java/jcharts/ChangeLog
@@ -0,0 +1,10 @@
+# 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.
+
diff --git a/dev-java/jcharts/Manifest b/dev-java/jcharts/Manifest
new file mode 100644
index 000000000000..81f6ec5bd439
--- /dev/null
+++ b/dev-java/jcharts/Manifest
@@ -0,0 +1,16 @@
+DIST jCharts-0.7.5.zip 2499046 RMD160 8acf331baac631c246805b49bb8c4f462ea27015 SHA1 dfa73472439de40a0009fcc6257873159111342f SHA256 add40a61a022f353421bfc578537871b7d716750896d689ada8ac294334956d6
+EBUILD jcharts-0.7.5.ebuild 1352 RMD160 cfde3e760fac197d38dc5c85a57c8c82230411cb SHA1 d2d4562cbab7a6b6f7ca0bbf1c1db6cabe9b3138 SHA256 75680515bcd18e95a28ac2dbbe47c4ef6416c6cb915f9595b27f30dae5e1daae
+MD5 a1e32422eeda34abd948843c34c90445 jcharts-0.7.5.ebuild 1352
+RMD160 cfde3e760fac197d38dc5c85a57c8c82230411cb jcharts-0.7.5.ebuild 1352
+SHA256 75680515bcd18e95a28ac2dbbe47c4ef6416c6cb915f9595b27f30dae5e1daae jcharts-0.7.5.ebuild 1352
+MISC ChangeLog 283 RMD160 d04d2dbca091d9da5b1ad1f2fe79baa1bd8925a4 SHA1 b96111b6379a85b2baf0547d52584f46e4bf15b4 SHA256 e8f79075dcaa66edb8aa257becf4ed1a2d521b85f416b9ad30cec869adf59cbf
+MD5 844392b2b7f3b0fea81f360d4502b59e ChangeLog 283
+RMD160 d04d2dbca091d9da5b1ad1f2fe79baa1bd8925a4 ChangeLog 283
+SHA256 e8f79075dcaa66edb8aa257becf4ed1a2d521b85f416b9ad30cec869adf59cbf ChangeLog 283
+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
diff --git a/dev-java/jcharts/files/digest-jcharts-0.7.5 b/dev-java/jcharts/files/digest-jcharts-0.7.5
new file mode 100644
index 000000000000..b27e3f11a405
--- /dev/null
+++ b/dev-java/jcharts/files/digest-jcharts-0.7.5
@@ -0,0 +1,3 @@
+MD5 fdbe9c5eea264dd75f76ff8ea2ba1482 jCharts-0.7.5.zip 2499046
+RMD160 8acf331baac631c246805b49bb8c4f462ea27015 jCharts-0.7.5.zip 2499046
+SHA256 add40a61a022f353421bfc578537871b7d716750896d689ada8ac294334956d6 jCharts-0.7.5.zip 2499046
diff --git a/dev-java/jcharts/jcharts-0.7.5.ebuild b/dev-java/jcharts/jcharts-0.7.5.ebuild
new file mode 100644
index 000000000000..fb731c163a5d
--- /dev/null
+++ b/dev-java/jcharts/jcharts-0.7.5.ebuild
@@ -0,0 +1,68 @@
+# 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
+}
diff --git a/dev-java/jcharts/metadata.xml b/dev-java/jcharts/metadata.xml
new file mode 100644
index 000000000000..fa154b4b2346
--- /dev/null
+++ b/dev-java/jcharts/metadata.xml
@@ -0,0 +1,12 @@
+<?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>