diff options
author | Adrian Almenar <strider@gentoo.org> | 2003-09-09 04:36:23 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2003-09-09 04:36:23 +0000 |
commit | b051a53096edaedb53cc3fb3260561924985a0c7 (patch) | |
tree | 8d0650dc0400c06d7414e38185da63d6c8e27fce /dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild | |
parent | Updated ebuilds to fix fetch Restriction. (diff) | |
download | historical-b051a53096edaedb53cc3fb3260561924985a0c7.tar.gz historical-b051a53096edaedb53cc3fb3260561924985a0c7.tar.bz2 historical-b051a53096edaedb53cc3fb3260561924985a0c7.zip |
Updated ebuilds to fix fetch Restriction.
Diffstat (limited to 'dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild')
-rw-r--r-- | dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild index 9a7973f59943..eb4fcb9656b4 100644 --- a/dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild +++ b/dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild,v 1.10 2003/09/06 22:26:46 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.4.1.ebuild,v 1.11 2003/09/09 04:36:03 strider Exp $ At="j2sdk-1_4_1-doc.zip" S="${WORKDIR}/docs" -SRC_URI="" +SRC_URI="j2sdk-1_4_1-doc.zip" DESCRIPTION="Javadoc for Java SDK version 1.4.1" HOMEPAGE="http://java.sun.com/j2se/1.4.1/download.html" LICENSE="sun-j2sl" @@ -13,11 +13,12 @@ KEYWORDS="x86 ~ppc sparc -alpha" DEPEND=">=app-arch/unzip-5.50-r1" RESTRICT="fetch" +pkg_nofetch() { + einfo "Please download ${SRC_URI} from ${HOMEPAGE} and move it to ${DISTDIR}" +} + src_unpack() { - if [ ! -f ${DISTDIR}/${At} ] ; then - die "Please download ${At} from ${HOMEPAGE} and move it to ${DISTDIR}" - fi - unpack ${At} || die + unpack ${At} || die "Failed Unpacking" } src_install(){ |