summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-07-05 00:17:58 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-07-05 00:17:58 +0000
commit8496fe6acc764e24d1eef9fdf29f88644ac9eede (patch)
tree969b3171b007a96a92dcab689d8d9e3abbad742b /sci-chemistry/jmol/jmol-11.0.3-r1.ebuild
parentAdd check for correct USE flag for x11-libs/gtk+-2. (diff)
downloadgentoo-2-8496fe6acc764e24d1eef9fdf29f88644ac9eede.tar.gz
gentoo-2-8496fe6acc764e24d1eef9fdf29f88644ac9eede.tar.bz2
gentoo-2-8496fe6acc764e24d1eef9fdf29f88644ac9eede.zip
Protecting netscape.jar from removal on amd64.
(Portage version: 2.1.2.9)
Diffstat (limited to 'sci-chemistry/jmol/jmol-11.0.3-r1.ebuild')
-rw-r--r--sci-chemistry/jmol/jmol-11.0.3-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-chemistry/jmol/jmol-11.0.3-r1.ebuild b/sci-chemistry/jmol/jmol-11.0.3-r1.ebuild
index 8bca784581df..a71a7f948d1b 100644
--- a/sci-chemistry/jmol/jmol-11.0.3-r1.ebuild
+++ b/sci-chemistry/jmol/jmol-11.0.3-r1.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/jmol/jmol-11.0.3-r1.ebuild,v 1.2 2007/06/22 22:43:14 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/jmol/jmol-11.0.3-r1.ebuild,v 1.3 2007/07/05 00:17:58 je_fro Exp $
inherit eutils webapp java-pkg-2 java-ant-2
DESCRIPTION="Jmol is a java molecular viever for 3-D chemical structures."
SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz"
HOMEPAGE="http://jmol.sourceforge.net/"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
LICENSE="LGPL-2.1"
IUSE="client-only vhosts"
@@ -48,7 +48,11 @@ src_unpack() {
rm -v "${S}"/*.jar "${S}"/plugin-jars/*.jar || die
cd "${S}/jars"
+
+# We still have to use netscape.jar on amd64 until a nice way to include plugin.jar comes along.
+ use amd64 && mv -v netscape.jar netscape.tempjar || die "Failed to move netscape.jar."
rm -v *.jar *.tar.gz || die
+ use amd64 && mv -v netscape.tempjar netscape.jar || die "Failed to move netscape.tempjar."
java-pkg_jar-from vecmath-objectclub vecmath-objectclub.jar vecmath1.2-1.14.jar
java-pkg_jar-from itext iText.jar itext-1.4.5.jar