From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1Eoz4V-0000YD-7d for garchives@archives.gentoo.org; Wed, 21 Dec 2005 08:11:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBL8BBcg015214; Wed, 21 Dec 2005 08:11:11 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBL8BBEA021517 for ; Wed, 21 Dec 2005 08:11:11 GMT Received: from xproxy.gmail.com ([66.249.82.194]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1Eoz42-0005Pn-Px for gentoo-java@lists.gentoo.org; Wed, 21 Dec 2005 08:11:10 +0000 Received: by xproxy.gmail.com with SMTP id s8so59089wxc for ; Wed, 21 Dec 2005 00:11:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QpMlgaliKvODwgrURdf/Wwz0L0Mqtax7Kra1CVjA8yYcYeOLvvH0IQAFnvtBm1diYSA7ZpY/P58Sj68Oc0Yzpd3LzdhlykXam6nk/j1q3XrDBTCfhIva75VJG1oTGQKXPHeSDloo5QJsm2CwvB42f/fvVmteNfZJOMINKvgrSmA= Received: by 10.70.42.8 with SMTP id p8mr483516wxp; Wed, 21 Dec 2005 00:11:10 -0800 (PST) Received: by 10.70.21.13 with HTTP; Wed, 21 Dec 2005 00:11:10 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2005 09:11:10 +0100 From: Ernst de Haan To: gentoo-java@lists.gentoo.org Subject: [gentoo-java] Re: Installing Javadoc documentation with java-pkg_dohtml In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4346_4732761.1135152670504" References: X-Archives-Salt: bb0ee62d-86b0-48e2-98d3-2ac328dbf796 X-Archives-Hash: 751524c13921bb410f976876bb00d2db ------=_Part_4346_4732761.1135152670504 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > While I'm at it, attached is the current version of my xmlenc ebuild. > As this is my very first Ebuild, feedback is highly appreciated. This time as a plain text .ebuild file. Comments are highly appreciated! Ernst de Haan ------=_Part_4346_4732761.1135152670504 Content-Type: text/plain; name=xmlenc-0.51.ebuild.txt; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xmlenc-0.51.ebuild.txt" # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /cvsroot/xins/xins-ebuild/xins-1.3.0.ebuild,v 1.1 2005/12/16 13:03:19 znerd Exp $ inherit java-pkg eutils DESCRIPTION="Performance-optimized XML output library for Java" HOMEPAGE="http://xmlenc.sourceforge.net/" SRC_URI="mirror://sourceforge/xmlenc/${P}.tgz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~amd64" IUSE="debug doc jikes source" RDEPEND=">=virtual/jre-1.3" DEPEND=">=virtual/jdk-1.3 >=dev-java/ant-core-1.6 jikes? ( dev-java/jikes ) source? ( app-arch/zip )" src_compile() { local antflags="jar" use debug && antflags="-Djavac.debug=true ${antflags}" use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" einfo "Ant flags: ${antflags}" ant ${antflags} || die "Compilation failed." use doc && ( ant javadoc || die "Javadoc generation failed." ) } src_install() { java-pkg_dojar build/xmlenc.jar use doc && java-pkg_dohtml -r build/javadoc/* use source && java-pkg_dosrc src/main/* } ------=_Part_4346_4732761.1135152670504-- -- gentoo-java@gentoo.org mailing list