summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-31 04:08:31 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-31 04:08:31 +0000
commit822bb78161f58f8a8f986f971883b8e4c122d645 (patch)
treeadb3f64b229dacc74c9e181fafc8fa604c19e128 /app-misc/jitac
parentmoved to sci-mathematics herd. (diff)
downloadgentoo-2-822bb78161f58f8a8f986f971883b8e4c122d645.tar.gz
gentoo-2-822bb78161f58f8a8f986f971883b8e4c122d645.tar.bz2
gentoo-2-822bb78161f58f8a8f986f971883b8e4c122d645.zip
Revision bump to support new Java system
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'app-misc/jitac')
-rw-r--r--app-misc/jitac/ChangeLog7
-rw-r--r--app-misc/jitac/files/digest-jitac-0.2.0-r12
-rw-r--r--app-misc/jitac/files/digest-jitac-0.2.0-r23
-rw-r--r--app-misc/jitac/jitac-0.2.0-r2.ebuild38
4 files changed, 49 insertions, 1 deletions
diff --git a/app-misc/jitac/ChangeLog b/app-misc/jitac/ChangeLog
index 6ed7d6826808..8a52088e0998 100644
--- a/app-misc/jitac/ChangeLog
+++ b/app-misc/jitac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/jitac
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/jitac/ChangeLog,v 1.17 2006/02/17 20:10:01 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jitac/ChangeLog,v 1.18 2006/07/31 04:08:31 nichoj Exp $
+
+*jitac-0.2.0-r2 (31 Jul 2006)
+
+ 31 Jul 2006; Joshua Nichols <nichoj@gentoo.org> +jitac-0.2.0-r2.ebuild:
+ Revision bump to support new Java system
17 Feb 2006; Michael Hanselmann <hansmi@gentoo.org> jitac-0.2.0-r1.ebuild:
Stable on ppc.
diff --git a/app-misc/jitac/files/digest-jitac-0.2.0-r1 b/app-misc/jitac/files/digest-jitac-0.2.0-r1
index 774e52270bdd..1aeb87ca288b 100644
--- a/app-misc/jitac/files/digest-jitac-0.2.0-r1
+++ b/app-misc/jitac/files/digest-jitac-0.2.0-r1
@@ -1 +1,3 @@
MD5 19ac668f525dd9b60bb53ccc3265e577 jitac-0.2.0.src.jar 193331
+RMD160 b7edead136952f28f48da0ab25fa831bcd8751d5 jitac-0.2.0.src.jar 193331
+SHA256 a95130a52ec2e730bc0ec9f64863f5f17b5963fb73757783f04713d7b640eb5d jitac-0.2.0.src.jar 193331
diff --git a/app-misc/jitac/files/digest-jitac-0.2.0-r2 b/app-misc/jitac/files/digest-jitac-0.2.0-r2
new file mode 100644
index 000000000000..1aeb87ca288b
--- /dev/null
+++ b/app-misc/jitac/files/digest-jitac-0.2.0-r2
@@ -0,0 +1,3 @@
+MD5 19ac668f525dd9b60bb53ccc3265e577 jitac-0.2.0.src.jar 193331
+RMD160 b7edead136952f28f48da0ab25fa831bcd8751d5 jitac-0.2.0.src.jar 193331
+SHA256 a95130a52ec2e730bc0ec9f64863f5f17b5963fb73757783f04713d7b640eb5d jitac-0.2.0.src.jar 193331
diff --git a/app-misc/jitac/jitac-0.2.0-r2.ebuild b/app-misc/jitac/jitac-0.2.0-r2.ebuild
new file mode 100644
index 000000000000..3c9367d61054
--- /dev/null
+++ b/app-misc/jitac/jitac-0.2.0-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jitac/jitac-0.2.0-r2.ebuild,v 1.1 2006/07/31 04:08:31 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="An image to ASCII converter written in Java"
+HOMEPAGE="http://www.roqe.org/jitac/"
+SRC_URI="http://www.roqe.org/jitac/${P}.src.jar"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+DEPEND=">=virtual/jdk-1.3
+ dev-java/sun-jimi"
+RDEPEND=">=virtual/jre-1.3
+ dev-java/sun-jimi"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cd ${S}
+ jar -xvf ${DISTDIR}/${A} || die "failed to unpack"
+}
+
+src_compile() {
+ ejavac -classpath $(java-pkg_getjars sun-jimi):. $(find -name *.java)
+ find . -name "*.class" -or -name "*.bdf" -or -name "*.properties" | xargs jar -cf ${PN}.jar || die "failes to ceate jar"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ java-pkg_dolauncher ${PN} --main org.roqe.jitac.Jitac
+
+ dodoc org/roqe/jitac/README
+ use doc && java-pkg_dohtml -r org/roqe/jitac/docs/*
+}
+