summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-01-21 00:00:54 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-01-21 00:00:54 +0000
commite50fb6d2ad27ee44df807d0294e1d71f5d28d785 (patch)
tree20b6737530380d33e4bfe17a8e7ec2d4ff7ab2eb /dev-java/datavision
parentFix manifest, bug #162944. (diff)
downloadgentoo-2-e50fb6d2ad27ee44df807d0294e1d71f5d28d785.tar.gz
gentoo-2-e50fb6d2ad27ee44df807d0294e1d71f5d28d785.tar.bz2
gentoo-2-e50fb6d2ad27ee44df807d0294e1d71f5d28d785.zip
Dependency on jcalendar changed from =dev-java/jcalendar-1.2* to >=dev-java/jcalendar-1.2
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-java/datavision')
-rw-r--r--dev-java/datavision/ChangeLog9
-rw-r--r--dev-java/datavision/datavision-1.0.0-r2.ebuild86
-rw-r--r--dev-java/datavision/files/digest-datavision-1.0.0-r23
3 files changed, 97 insertions, 1 deletions
diff --git a/dev-java/datavision/ChangeLog b/dev-java/datavision/ChangeLog
index 45714fa0e0d0..9b7fed42b6a7 100644
--- a/dev-java/datavision/ChangeLog
+++ b/dev-java/datavision/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/datavision
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/datavision/ChangeLog,v 1.14 2007/01/10 20:16:57 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/datavision/ChangeLog,v 1.15 2007/01/21 00:00:54 fordfrog Exp $
+
+*datavision-1.0.0-r2 (20 Jan 2007)
+
+ 20 Jan 2007; Miroslav Šulc <fordfrog@gentoo.org>
+ +datavision-1.0.0-r2.ebuild:
+ Dependency on jcalendar changed from =dev-java/jcalendar-1.2* to
+ >=dev-java/jcalendar-1.2
*datavision-1.0.0-r1 (10 Jan 2007)
diff --git a/dev-java/datavision/datavision-1.0.0-r2.ebuild b/dev-java/datavision/datavision-1.0.0-r2.ebuild
new file mode 100644
index 000000000000..6a57dec2604e
--- /dev/null
+++ b/dev-java/datavision/datavision-1.0.0-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/datavision/datavision-1.0.0-r2.ebuild,v 1.1 2007/01/21 00:00:54 fordfrog Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Open Source reporting tool similar to Crystal Reports"
+SRC_URI="mirror://sourceforge/datavision/${P}.tar.gz"
+HOMEPAGE="http://datavision.sourceforge.net/"
+IUSE="doc mysql postgres ruby"
+SLOT="1.0"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86 ~amd64"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/itext-1.02b
+ >=dev-java/jcalendar-1.2
+ =dev-java/bsf-2.3*
+ ruby? ( >=dev-java/jruby-0.7.0 )
+ mysql? ( >=dev-java/jdbc-mysql-3.0 )
+ postgres? ( >=dev-java/jdbc2-postgresql-7.3 )"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+# test? ( >=dev-java/junit-3.7 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/lib"
+
+ # lets avoid a new packed jar issue :)
+ rm -v *.jar
+
+ java-pkg_jar-from itext
+ java-pkg_jar-from bsf-2.3
+ java-pkg_jar-from jcalendar-1.2
+ use ruby && java-pkg_jar-from jruby
+
+ cd "${S}"
+ use mysql && java-pkg_jar-from jdbc-mysql
+ use postgres && java-pkg_jar-from jdbc2-postgresql-6
+}
+
+#Seems only useful in CVS when there are actually changes to doc sources
+#EANT_DOC_TARGET="docs.release"
+
+RESTRICT="test"
+#src_test() {
+ # Tests need X
+ #eant test -Djunit.jar="$(java-pkg_getjars --build-only junit)" \
+ # -Djava.awt.headless=true
+#}
+
+src_install() {
+ java-pkg_dojar lib/DataVision.jar
+
+ local docdir="/usr/share/doc/${PF}/"
+ java-pkg_dolauncher ${PN} \
+ --main jimm.datavision.DataVision \
+ --pwd ${docdir}
+
+ # Needed for help
+ dohtml docs/DataVision/*
+ dodir ${docdir}/docs
+ dosym ${docdir}/html ${docdir}/docs/DataVision
+
+ dodoc ChangeLog Credits README TODO
+ use doc && java-pkg_dojavadoc javadoc
+}
+
+pkg_postinst() {
+ if use mysql; then
+ elog
+ elog "MySQL example:"
+ elog "Driver class name: com.mysql.jdbc.Driver"
+ elog "Connection: jdbc:mysql://localhost/database"
+ fi
+
+ if use postgres; then
+ elog
+ elog "PostgreSQL example:"
+ elog "Driver class name:org.postgresql.Driver"
+ elog "Connection: jdbc:postgresql://localhost/database"
+ fi
+ elog "Because we need to change the current working directory"
+ elog "in the launcher for the help to work, the launcher can't be"
+ elog "used with relative paths. Patches are welcome."
+}
diff --git a/dev-java/datavision/files/digest-datavision-1.0.0-r2 b/dev-java/datavision/files/digest-datavision-1.0.0-r2
new file mode 100644
index 000000000000..f97d06a92710
--- /dev/null
+++ b/dev-java/datavision/files/digest-datavision-1.0.0-r2
@@ -0,0 +1,3 @@
+MD5 82017d881828b2342cd4f1552a25a77a datavision-1.0.0.tar.gz 3451018
+RMD160 dd960a52252d7220fb2f0e61df33abdf9744de11 datavision-1.0.0.tar.gz 3451018
+SHA256 f4caaaeebdeea0f11303976df626099d951e5602a5c0658c458488e9c617a051 datavision-1.0.0.tar.gz 3451018