summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/sac/sac-1.3-r1.ebuild')
-rw-r--r--dev-java/sac/sac-1.3-r1.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/dev-java/sac/sac-1.3-r1.ebuild b/dev-java/sac/sac-1.3-r1.ebuild
index bd275ebab682..11f3e6dd1e05 100644
--- a/dev-java/sac/sac-1.3-r1.ebuild
+++ b/dev-java/sac/sac-1.3-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sac/sac-1.3-r1.ebuild,v 1.2 2006/12/09 09:24:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sac/sac-1.3-r1.ebuild,v 1.3 2007/10/23 20:29:01 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -11,29 +13,25 @@ SRC_URI="http://www.w3.org/2002/06/sacjava-${PV}.zip"
LICENSE="W3C"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="doc source"
+IUSE=""
DEPEND=">=virtual/jdk-1.4
- dev-java/ant-core
- app-arch/unzip
- source? ( app-arch/zip )"
+ app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
- cp ${FILESDIR}/build.xml ${S}
+ cp "${FILESDIR}/build.xml" "${S}"
- cd ${S}
- rm -rf sac.jar META-INF/
+ cd "${S}"
+ rm -rv sac.jar META-INF/ || die
mkdir src
mv org src
}
-src_compile() {
- eant || die "Compiling failed"
-}
+EANT_DOC_TARGET=""
src_install() {
java-pkg_dojar dist/sac.jar