summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2010-05-24 19:15:24 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2010-05-24 19:15:24 +0000
commitcfa3d543590907b14343aca2fcd0415e237a8cf8 (patch)
tree5a8490e7bff3a044fb6cdffdfb23b812161bd1a0 /dev-java/jansi
parentstable amd64, bug 318349 (diff)
downloadhistorical-cfa3d543590907b14343aca2fcd0415e237a8cf8.tar.gz
historical-cfa3d543590907b14343aca2fcd0415e237a8cf8.tar.bz2
historical-cfa3d543590907b14343aca2fcd0415e237a8cf8.zip
Initial import for jansi.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'dev-java/jansi')
-rw-r--r--dev-java/jansi/ChangeLog10
-rw-r--r--dev-java/jansi/jansi-1.1.ebuild37
-rw-r--r--dev-java/jansi/metadata.xml8
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/jansi/ChangeLog b/dev-java/jansi/ChangeLog
new file mode 100644
index 000000000000..dd5722ddebfe
--- /dev/null
+++ b/dev-java/jansi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jansi
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/ChangeLog,v 1.1 2010/05/24 19:15:24 elvanor Exp $
+
+*jansi-1.1 (24 May 2010)
+
+ 24 May 2010; Jean-Noël Rivasseau <elvanor@gentoo.org> +jansi-1.1.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/dev-java/jansi/jansi-1.1.ebuild b/dev-java/jansi/jansi-1.1.ebuild
new file mode 100644
index 000000000000..af9cb14defc9
--- /dev/null
+++ b/dev-java/jansi/jansi-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/jansi-1.1.ebuild,v 1.1 2010/05/24 19:15:24 elvanor Exp $
+
+EAPI="2"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2
+
+DESCRIPTION="Jansi is a small java library that allows you to use ANSI escape sequences in your console output"
+HOMEPAGE="http://jansi.fusesource.org/"
+
+SRC_URI="http://jansi.fusesource.org/repo/release/org/fusesource/jansi/jansi/${PV}/${P}-sources.jar"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5
+ dev-java/jna"
+
+DEPEND=">=virtual/jdk-1.5
+ dev-java/jna"
+
+src_compile() {
+ mkdir target
+ ejavac -classpath "$(java-pkg_getjars jna)" org/fusesource/jansi/*.java org/fusesource/jansi/internal/*.java -d target
+ jar -cf jansi.jar -C target .
+
+ use doc && mkdir target/html && javadoc org/fusesource/jansi/*.java org/fusesource/jansi/internal/*.java -d target/html
+}
+
+src_install() {
+ java-pkg_newjar "${PN}.jar"
+ use doc && java-pkg_dojavadoc "target/html/"
+ use source && java-pkg_dosrc "org"
+}
diff --git a/dev-java/jansi/metadata.xml b/dev-java/jansi/metadata.xml
new file mode 100644
index 000000000000..95667b00a6b6
--- /dev/null
+++ b/dev-java/jansi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>
+ Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
+ </longdescription>
+</pkgmetadata>