summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-22 09:06:42 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-22 09:06:42 +0000
commit817b8cfc7e9eb47cd3b1db4f3bd4ee1c5ee48d6a (patch)
tree46ace00a36ad22f7b7d4d1be06e203faab1c2403 /sci-libs
parentSanitize upgrade path from sys-apps/module-init-tools by running update_depmo... (diff)
downloadgentoo-2-817b8cfc7e9eb47cd3b1db4f3bd4ee1c5ee48d6a.tar.gz
gentoo-2-817b8cfc7e9eb47cd3b1db4f3bd4ee1c5ee48d6a.tar.bz2
gentoo-2-817b8cfc7e9eb47cd3b1db4f3bd4ee1c5ee48d6a.zip
sci-libs/ccpn-data: Some more PREFIX love
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/ccpn-data/ChangeLog6
-rw-r--r--sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild13
2 files changed, 12 insertions, 7 deletions
diff --git a/sci-libs/ccpn-data/ChangeLog b/sci-libs/ccpn-data/ChangeLog
index d7fa48354293..5b9158632282 100644
--- a/sci-libs/ccpn-data/ChangeLog
+++ b/sci-libs/ccpn-data/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/ccpn-data
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.13 2013/03/21 10:06:59 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.14 2013/03/22 09:06:42 jlec Exp $
+
+ 22 Mar 2013; Justin Lecher <jlec@gentoo.org>
+ ccpn-data-2.2.2_p121112-r1.ebuild:
+ Some more PREFIX love
*ccpn-data-2.2.2_p121112-r1 (21 Mar 2013)
diff --git a/sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild b/sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild
index c2f565137d5e..4fd10f8d5c9d 100644
--- a/sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild
+++ b/sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild,v 1.1 2013/03/21 10:06:59 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.2.2_p121112-r1.ebuild,v 1.2 2013/03/22 09:06:42 jlec Exp $
EAPI=5
@@ -36,7 +36,7 @@ src_prepare() {
}
src_install() {
- local i pydocs in_path
+ local i pydocs in_path ein_path
dodir /usr/share/doc/${PF}/html
sed \
@@ -48,12 +48,13 @@ src_install() {
linking() {
in_path=$(python_get_sitedir)/ccpn
- dosym ../../../../share/doc/${PF}/html ${in_path}/doc
+ ein_path="${in_path#${EPREFIX}}"
+ dosym ../../../../share/doc/${PF}/html ${ein_path}/doc
for i in ${pydocs}; do
- dosym /usr/share/doc/${PF}/html/${i} ${in_path}/${i}
+ dosym /usr/share/doc/${PF}/html/${i} ${ein_path}/${i}
done
- dosym /usr/share/ccpn/data ${in_path}/data
- dosym /usr/share/ccpn/model ${in_path}/model
+ dosym /usr/share/ccpn/data ${ein_path}/data
+ dosym /usr/share/ccpn/model ${ein_path}/model
}
python_foreach_impl linking