summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-20 10:41:42 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-20 10:41:42 +0000
commit6d8fd168289f464bc2883a6b24d763039b041cc4 (patch)
tree0eecc14e8fca663a0f92ef739239cb7424f2c231 /dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild
parentInitial import, initial ebuild by Uli Schlachter <tobespammed at web dot de> ... (diff)
downloadgentoo-2-6d8fd168289f464bc2883a6b24d763039b041cc4.tar.gz
gentoo-2-6d8fd168289f464bc2883a6b24d763039b041cc4.tar.bz2
gentoo-2-6d8fd168289f464bc2883a6b24d763039b041cc4.zip
Add dev-java/xalan to DEPEND.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild')
-rw-r--r--dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild b/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild
index abeaf88baa24..458d0a85a153 100644
--- a/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild
+++ b/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild
@@ -1,28 +1,32 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild,v 1.2 2007/01/30 00:05:12 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild,v 1.3 2007/04/20 10:41:42 betelgeuse Exp $
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="ObjectWeb's Ant tasks"
HOMEPAGE="http://monolog.objectweb.org"
-SRC_URI="http://www.gentoo.org/~karltk/java/distfiles/owanttask-${PV}-gentoo.tar.bz2"
+MY_P="owanttask-${PV}"
+SRC_URI="http://www.gentoo.org/~karltk/java/distfiles/${MY_P}-gentoo.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
-DEPEND=">=virtual/jdk-1.4"
+COMMON_DEP="dev-java/xalan"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.4
>=dev-java/ant-core-1.7.0
- dev-java/xalan"
-S=${WORKDIR}/owanttask-${PV}
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-classpath.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-classpath.patch"
- cp -f ${FILESDIR}/MultipleCopy.java src/org/objectweb/util/ant
+ cp -f "${FILESDIR}/MultipleCopy.java" src/org/objectweb/util/ant
mkdir lib
cd lib
@@ -30,15 +34,11 @@ src_unpack() {
java-pkg_jar-from xalan
}
-src_compile() {
- eant jar
-}
-
src_install() {
java-pkg_dojar output/lib/ow_util_ant_tasks.jar
}
-pkg_preinst() {
+pkg_postinst() {
ewarn "The MultipleCopy task is not compatible with ant-1.7.0 and newer"
ewarn "Attempt to use it will break building."
}