summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jaxen')
-rw-r--r--dev-java/jaxen/jaxen-1.1.4-r1.ebuild24
1 files changed, 14 insertions, 10 deletions
diff --git a/dev-java/jaxen/jaxen-1.1.4-r1.ebuild b/dev-java/jaxen/jaxen-1.1.4-r1.ebuild
index 1f16dcc2a9e3..ceb123a9600b 100644
--- a/dev-java/jaxen/jaxen-1.1.4-r1.ebuild
+++ b/dev-java/jaxen/jaxen-1.1.4-r1.ebuild
@@ -9,23 +9,27 @@ JAVA_PKG_IUSE="doc examples source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A Java XPath Engine"
-HOMEPAGE="http://jaxen.codehaus.org/"
+HOMEPAGE="http://jaxen.org"
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}-src.tar.gz"
LICENSE="JDOM"
SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
-COMMON_DEP="
- dev-java/dom4j:1
+CDEPEND="
+ dev-java/xom:0
dev-java/jdom:0
- dev-java/xom:0"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.4
+ dev-java/dom4j:1"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.4"
+
+DEPEND="
+ ${CDEPEND}
test? ( dev-java/ant-junit:0 )
- ${COMMON_DEP}"
+ >=virtual/jdk-1.4"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="dom4j-1,jdom,xom"
@@ -40,7 +44,7 @@ src_test() {
}
src_install() {
- java-pkg_newjar target/${P}.jar
+ java-pkg_newjar "target/${P}.jar"
use doc && java-pkg_dojavadoc dist/docs/api
use examples && java-pkg_doexamples src/java/samples