summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-05-17 21:45:09 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-05-17 21:45:09 +0000
commit1c2dc5f6de548bd8d58ffbf388ccc9b72c3eab51 (patch)
tree22173a57efb8c03542fc3bbfc0e9b28a703f7fd5 /dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild
parentFix LICENSE to Apache-2.0. (diff)
downloadhistorical-1c2dc5f6de548bd8d58ffbf388ccc9b72c3eab51.tar.gz
historical-1c2dc5f6de548bd8d58ffbf388ccc9b72c3eab51.tar.bz2
historical-1c2dc5f6de548bd8d58ffbf388ccc9b72c3eab51.zip
Let the eclass handle the source use flag dependencies and remove generation 1 ebuild.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild')
-rw-r--r--dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild
index 7f0201d8968d..0a6ffb201542 100644
--- a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild
+++ b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.10 2007/03/17 16:53:59 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.11 2007/05/17 21:45:09 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 eutils
@@ -11,20 +13,19 @@ SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="doc source elibc_FreeBSD"
+IUSE="elibc_FreeBSD"
COMMON_DEP="sys-libs/ncurses"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
- source? ( app-arch/zip )
${COMMON_DEP}"
RESTRICT="test"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/termcap-to-ncurses.patch
+ cd "${S}"
+ epatch "${FILESDIR}/termcap-to-ncurses.patch"
# bug #157387, reported upstream
epatch "${FILESDIR}/${P}-gmake.patch"