diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-09-27 11:27:19 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-09-27 11:27:19 +0000 |
commit | f8b2321eef53a1e7cc70ca01fdf9ec3c407ced20 (patch) | |
tree | bf3eeb311f39e691de2dad9b2525818c32e6ec14 /dev-java/fop/fop-0.94-r1.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-f8b2321eef53a1e7cc70ca01fdf9ec3c407ced20.tar.gz gentoo-2-f8b2321eef53a1e7cc70ca01fdf9ec3c407ced20.tar.bz2 gentoo-2-f8b2321eef53a1e7cc70ca01fdf9ec3c407ced20.zip |
Migrate to EAPI 2 for USE dependencies.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'dev-java/fop/fop-0.94-r1.ebuild')
-rw-r--r-- | dev-java/fop/fop-0.94-r1.ebuild | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/dev-java/fop/fop-0.94-r1.ebuild b/dev-java/fop/fop-0.94-r1.ebuild index c535801738d4..7cf948be9894 100644 --- a/dev-java/fop/fop-0.94-r1.ebuild +++ b/dev-java/fop/fop-0.94-r1.ebuild @@ -1,14 +1,15 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.94-r1.ebuild,v 1.4 2008/03/22 20:02:28 wltjr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.94-r1.ebuild,v 1.5 2008/09/27 11:27:19 betelgeuse Exp $ # TODO: if 'doc' use flag is used then should build also extra docs ('docs' ant target), currently it cannot # be built as it needs forrest which we do not have # TODO: package and use optional dependency jeuclid -EAPI=1 +EAPI=2 JAVA_PKG_IUSE="doc examples source" WANT_ANT_TASKS="ant-trax" + inherit eutils java-pkg-2 java-ant-2 DESCRIPTION="Formatting Objects Processor is a print formatter driven by XSL" @@ -27,7 +28,7 @@ COMMON_DEPEND=" dev-java/commons-io dev-java/commons-logging java-virtuals/servlet-api:2.2 - dev-java/xmlgraphics-commons:1 + dev-java/xmlgraphics-commons:1[jpeg] dev-java/xalan jai? ( dev-java/sun-jai-bin ) jimi? ( dev-java/sun-jimi )" @@ -44,16 +45,6 @@ DEPEND=">=virtual/jdk-1.4 # dev-java/xmlunit # )" -pkg_setup() { - if ! built_with_use dev-java/xmlgraphics-commons jpeg; then - msg="${CATEGORY}/${P} needs dev-java/xmlgraphics-commons built with" - msg="${msg} the jpeg use flag" - eerror ${msg} - die "Recompile dev-java/xmlgraphics-commons with the jpeg use flag" - fi - java-pkg-2_pkg_setup -} - src_unpack() { unpack ${A} cd "${S}" |