summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/charva/ChangeLog7
-rw-r--r--dev-java/charva/charva-1.0.1-r1.ebuild18
2 files changed, 15 insertions, 10 deletions
diff --git a/dev-java/charva/ChangeLog b/dev-java/charva/ChangeLog
index a63ea5409aa2..8c290a3d0e70 100644
--- a/dev-java/charva/ChangeLog
+++ b/dev-java/charva/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/charva
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/charva/ChangeLog,v 1.10 2006/07/06 03:39:54 nichoj Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/charva/ChangeLog,v 1.11 2007/06/12 11:38:23 betelgeuse Exp $
+
+ 12 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> charva-1.0.1-r1.ebuild:
+ Use java-pkg_dojavadoc and add source and examples use flags.
*charva-1.0.1-r1 (06 Jul 2006)
diff --git a/dev-java/charva/charva-1.0.1-r1.ebuild b/dev-java/charva/charva-1.0.1-r1.ebuild
index 3c21797c0838..8b5a5e3effe9 100644
--- a/dev-java/charva/charva-1.0.1-r1.ebuild
+++ b/dev-java/charva/charva-1.0.1-r1.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/charva/charva-1.0.1-r1.ebuild,v 1.1 2006/07/06 03:39:54 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/charva/charva-1.0.1-r1.ebuild,v 1.2 2007/06/12 11:38:23 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2
DESCRIPTION="A Java Windowing Toolkit for Text Terminals"
SRC_URI="http://www.pitman.co.za/projects/charva/download/${P}.tar.gz"
HOMEPAGE="http://www.pitman.co.za/projects/charva/"
-IUSE="doc"
RDEPEND=">=virtual/jre-1.3
sys-libs/ncurses"
DEPEND=">=virtual/jdk-1.3
@@ -18,7 +19,7 @@ KEYWORDS="~x86 ~ppc ~amd64"
src_unpack() {
unpack ${A}
- rm ${S}/c/src/libTerminal.so
+ rm -v "${S}/c/src/libTerminal.so"
sed -e "s,javac,javac $(java-pkg_javac-args)," -i ${S}/java/src/Makefile || die
}
@@ -26,15 +27,16 @@ src_compile() {
cd c/src
make -f Makefile.linux || die
- cd ${S}/java/src
+ cd "${S}/java/src"
make || die
}
src_install() {
- cd ${S}
java-pkg_dojar java/lib/${PN}.jar
- use doc && java-pkg_dohtml -r java/doc
- dodoc README
+ dodoc README || die
+ use doc && java-pkg_dojavadoc java/doc
+ use examples && java-pkg_doexamples java/src/example
+ use source && java-pkg_dosrc java/src/{charva,charvax}
cd c/src/
java-pkg_doso *.so