summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-06-01 19:06:45 +0000
committerVlastimil Babka <caster@gentoo.org>2007-06-01 19:06:45 +0000
commit26eaf790188cd811175052333f55c9e49f64f4cf (patch)
treec3a08c488807ab9165505d39fa40e03b5b8fcbca /dev-java/saxon/saxon-8.4b-r3.ebuild
parentStable on ppc wrt bug 179988 (diff)
downloadhistorical-26eaf790188cd811175052333f55c9e49f64f4cf.tar.gz
historical-26eaf790188cd811175052333f55c9e49f64f4cf.tar.bz2
historical-26eaf790188cd811175052333f55c9e49f64f4cf.zip
Add examples useflag for bug #176681. Remove unused revision.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'dev-java/saxon/saxon-8.4b-r3.ebuild')
-rw-r--r--dev-java/saxon/saxon-8.4b-r3.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/saxon/saxon-8.4b-r3.ebuild b/dev-java/saxon/saxon-8.4b-r3.ebuild
index 178c0afe0f4f..efa1caf96dad 100644
--- a/dev-java/saxon/saxon-8.4b-r3.ebuild
+++ b/dev-java/saxon/saxon-8.4b-r3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/saxon/saxon-8.4b-r3.ebuild,v 1.5 2007/05/05 16:01:44 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saxon/saxon-8.4b-r3.ebuild,v 1.6 2007/06/01 19:06:45 caster Exp $
-JAVA_PKG_IUSE="doc source"
+JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2 eutils java-ant-2
@@ -41,6 +41,8 @@ src_unpack() {
cp -i "${FILESDIR}/build-${PV}.xml" build.xml || die
rm -v *.jar || die
+ rm samples/java/*.class || die
+
mkdir lib && cd lib
java-pkg_jar-from jdom-1.0
java-pkg_jar-from xom
@@ -59,5 +61,6 @@ src_install() {
java-pkg_dojavadoc dist/doc/api doc/*
java-pkg_dohtml doc/*
fi
+ use examples && java-pkg_doexamples samples
use source && java-pkg_dosrc src/*
}