summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-07-24 17:27:05 +0000
committerJustin Lecher <jlec@gentoo.org>2010-07-24 17:27:05 +0000
commit9786dc3d20458a08dc01cc7a0a51070d9554a5fb (patch)
tree0997284c382af29ac041b0070ece9c6087a88cf8 /sci-chemistry/vmd
parentalpha/arm/ia64/m68k/s390/sh/sparc stable wrt #329149 (diff)
downloadgentoo-2-9786dc3d20458a08dc01cc7a0a51070d9554a5fb.tar.gz
gentoo-2-9786dc3d20458a08dc01cc7a0a51070d9554a5fb.tar.bz2
gentoo-2-9786dc3d20458a08dc01cc7a0a51070d9554a5fb.zip
Added prefix changes, thanks rei4dan #327517; keyworded for ~-linux prefix
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/vmd')
-rw-r--r--sci-chemistry/vmd/ChangeLog5
-rw-r--r--sci-chemistry/vmd/vmd-1.8.7-r1.ebuild12
2 files changed, 10 insertions, 7 deletions
diff --git a/sci-chemistry/vmd/ChangeLog b/sci-chemistry/vmd/ChangeLog
index ac6fce09aae6..0e80ffc282bb 100644
--- a/sci-chemistry/vmd/ChangeLog
+++ b/sci-chemistry/vmd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/vmd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/ChangeLog,v 1.29 2010/05/28 18:21:25 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/ChangeLog,v 1.30 2010/07/24 17:27:05 jlec Exp $
+
+ 24 Jul 2010; Justin Lecher <jlec@gentoo.org> vmd-1.8.7-r1.ebuild:
+ Added prefix changes, thanks rei4dan #327517; keyworded for ~-linux prefix
28 May 2010; Justin Lecher <jlec@gentoo.org> -vmd-1.8.6.ebuild,
-vmd-1.8.6-r1.ebuild, -vmd-1.8.7.ebuild:
diff --git a/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild b/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild
index 8a1e54c4ea5d..0b857c61c7df 100644
--- a/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild
+++ b/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild,v 1.2 2010/05/18 08:06:48 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7-r1.ebuild,v 1.3 2010/07/24 17:27:05 jlec Exp $
EAPI="3"
@@ -14,7 +14,7 @@ SRC_URI="${P}.src.tar.gz"
SLOT="0"
LICENSE="vmd"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="tachyon"
RESTRICT="fetch"
@@ -98,10 +98,10 @@ src_prepare() {
-i configure || die "failed to set up netcdf"
local NUMPY_INCLUDE="numpy/core/include"
- sed -e "s:gentoo-python-include:$(python_get_includedir):" \
- -e "s:gentoo-python-lib:$(python_get_libdir):" \
+ sed -e "s:gentoo-python-include:${EPREFIX}$(python_get_includedir):" \
+ -e "s:gentoo-python-lib:${EPREFIX}$(python_get_libdir):" \
-e "s:gentoo-python-link:$(PYTHON):" \
- -e "s:gentoo-numpy-include:$(python_get_sitedir)/${NUMPY_INCLUDE}:" \
+ -e "s:gentoo-numpy-include:${EPREFIX}$(python_get_sitedir)/${NUMPY_INCLUDE}:" \
-i configure || die "failed setting up python"
sed -e "s:LINUXPPC:LINUX:g" \
@@ -137,7 +137,7 @@ src_compile() {
src_install() {
# install plugins
cd "${WORKDIR}"/plugins
- PLUGINDIR=${D}/usr/$(get_libdir)/${PN}/plugins make distrib || \
+ PLUGINDIR=${ED}/usr/$(get_libdir)/${PN}/plugins make distrib || \
die "failed to install plugins"
# install vmd