summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jdom/jdom-1.1.3.ebuild')
-rw-r--r--dev-java/jdom/jdom-1.1.3.ebuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/dev-java/jdom/jdom-1.1.3.ebuild b/dev-java/jdom/jdom-1.1.3.ebuild
index 5403ba96d4f1..13745ff9d7ae 100644
--- a/dev-java/jdom/jdom-1.1.3.ebuild
+++ b/dev-java/jdom/jdom-1.1.3.ebuild
@@ -13,18 +13,15 @@ HOMEPAGE="http://www.jdom.org"
LICENSE="JDOM"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
-COMMON_DEP="dev-java/saxpath
- >=dev-java/xerces-2.7"
+IUSE=""
+
RDEPEND=">=virtual/jre-1.6"
-# ${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.6"
-# ${COMMON_DEP}"
-IUSE=""
S="${WORKDIR}/${PN}"
java_prepare() {
- find "${S}" -name '*.jar' -delete || die
+ java-pkg_clean
rm -r build/apidocs || die
@@ -43,12 +40,9 @@ java_prepare() {
}
EANT_BUILD_TARGET="package"
-#EANT_GENTOO_CLASSPATH="saxpath,xerces-2"
src_install() {
java-pkg_dojar build/*.jar
-
- #java-pkg_register-dependency "jdom-jaxen-${SLOT}"
dodoc CHANGES.txt COMMITTERS.txt README.txt TODO.txt || die
use doc && java-pkg_dojavadoc build/apidocs
use examples && java-pkg_doexamples samples