diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-06-12 11:38:23 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-06-12 11:38:23 +0000 |
commit | a19d3ba9e6ef346c3541666647495425a00cfa53 (patch) | |
tree | 222aca646233b2569e8d72bae98609ddfa9ba0b2 /dev-java | |
parent | Changed SRC_URI to use mirror://berlios. (diff) | |
download | gentoo-2-a19d3ba9e6ef346c3541666647495425a00cfa53.tar.gz gentoo-2-a19d3ba9e6ef346c3541666647495425a00cfa53.tar.bz2 gentoo-2-a19d3ba9e6ef346c3541666647495425a00cfa53.zip |
Use java-pkg_dojavadoc and add source and examples use flags.
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/charva/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/charva/charva-1.0.1-r1.ebuild | 18 |
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 |