summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-05-11 08:58:39 +0000
committerJustin Lecher <jlec@gentoo.org>2011-05-11 08:58:39 +0000
commit06a5d51bea89b41a8ee39c7b4f1afec536150992 (patch)
treea4533bba43be0821ae366c3ef70f18d2f9cf4553 /sci-visualization
parentVersion bump (diff)
downloadgentoo-2-06a5d51bea89b41a8ee39c7b4f1afec536150992.tar.gz
gentoo-2-06a5d51bea89b41a8ee39c7b4f1afec536150992.tar.bz2
gentoo-2-06a5d51bea89b41a8ee39c7b4f1afec536150992.zip
Fixes for Prefixed installation
(Portage version: 2.2.0_alpha32/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/qtiplot/ChangeLog5
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild19
2 files changed, 16 insertions, 8 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
index 7442947a4bc9..245b9af63425 100644
--- a/sci-visualization/qtiplot/ChangeLog
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-visualization/qtiplot
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.78 2011/05/09 15:26:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.79 2011/05/11 08:58:39 jlec Exp $
+
+ 11 May 2011; Justin Lecher <jlec@gentoo.org> qtiplot-0.9.8.6.ebuild:
+ Fixes for Prefixed installation
*qtiplot-0.9.8.6 (09 May 2011)
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild
index 1b96909d9d9a..db8835aa0f53 100644
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild
+++ b/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild,v 1.1 2011/05/09 15:26:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild,v 1.2 2011/05/11 08:58:39 jlec Exp $
EAPI=3
@@ -109,13 +109,18 @@ src_prepare() {
echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
- sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/INSTALLS.*documentation/d' \
+ sed \
+ -e "s:doc/${PN}/manual:doc/${PN}/html:" \
+ -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \
+ -e '/INSTALLS.*documentation/d' \
-e '/INSTALLS.*manual/d' \
- -i qtiplot/qtiplot.pro || die
+ -e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \
+ -e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \
+ -i qtiplot/qtiplot.pro || die
+
+ sed \
+ -e "/^target.path/s:/usr:${EPREFIX}/usr:g" \
+ -i fitPlugins/*/*.pro || die
sed -e '/manual/d' -i qtiplot.pro || die