summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-12 23:37:10 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-12 23:37:10 +0000
commitbaf28ca5ce78a96a99556f37349f998f7951766b (patch)
treea55df0f0b4658e6b59f52105dc34b435b639bbb2 /dev-java/sun-javamail-bin
parentDep/Style fixes (diff)
downloadgentoo-2-baf28ca5ce78a96a99556f37349f998f7951766b.tar.gz
gentoo-2-baf28ca5ce78a96a99556f37349f998f7951766b.tar.bz2
gentoo-2-baf28ca5ce78a96a99556f37349f998f7951766b.zip
tidy
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/sun-javamail-bin')
-rw-r--r--dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild25
1 files changed, 3 insertions, 22 deletions
diff --git a/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild b/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild
index d4a12a98174d..049cb6c116df 100644
--- a/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild
+++ b/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild,v 1.8 2005/07/09 16:59:24 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.1.ebuild,v 1.9 2005/07/12 23:37:10 axxo Exp $
inherit java-pkg
@@ -34,30 +34,11 @@ pkg_nofetch() {
}
src_unpack() {
- if [ ! -f "${DISTDIR}/${At}" ] ; then
- echo " "
- echo "!!! Missing ${DISTDIR}/${At}"
- echo " "
- einfo
- einfo " Due to license restrictions, we cannot fetch the"
- einfo " distributables automagically."
- einfo
- einfo " 1. Visit ${HOMEPAGE}"
- einfo " 2. Download ${At}"
- einfo " 3. Move file to ${DISTDIR}"
- einfo " 4. Run emerge on this package again to complete"
- einfo
- die "User must manually download distfile"
- fi
- unzip -qq ${DISTDIR}/${At}
-}
-
-src_compile() {
- einfo " This is a binary-only ebuild."
+ unzip -qq ${DISTDIR}/${At} || die "failed too unpack"
}
src_install() {
- dodoc CHANGES.txt README.txt LICENSE.txt NOTES.txt
+ dodoc CHANGES.txt README.txt NOTES.txt
use doc && java-pkg_dohtml -r docs/
java-pkg_dojar mail.jar lib/*.jar
}