summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2007-10-26 16:13:20 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2007-10-26 16:13:20 +0000
commit8ce43d832d158512d80558ab4793740b483964ac (patch)
tree4b769676a0c122c8c36e1b098e6e202cb5cf3a87 /www-apps
parentlong desc typo (diff)
downloadgentoo-2-8ce43d832d158512d80558ab4793740b483964ac.tar.gz
gentoo-2-8ce43d832d158512d80558ab4793740b483964ac.tar.bz2
gentoo-2-8ce43d832d158512d80558ab4793740b483964ac.zip
Fixed message on installing the ebuild (see #179612).
(Portage version: 2.1.3.14)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/viewvc/ChangeLog5
-rw-r--r--www-apps/viewvc/viewvc-1.0.4.ebuild21
2 files changed, 16 insertions, 10 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog
index a986355ae000..d6317432f564 100644
--- a/www-apps/viewvc/ChangeLog
+++ b/www-apps/viewvc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-apps/viewvc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.14 2007/09/20 18:43:21 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.15 2007/10/26 16:13:20 wrobel Exp $
+
+ 26 Oct 2007; wrobel@gentoo.org viewvc-1.0.4.ebuild:
+ Fixed message on installing the ebuild (see #179612).
20 Sep 2007; Christoph Mende <angelos@gentoo.org> viewvc-1.0.4.ebuild:
Stable on amd64 wrt bug #183151
diff --git a/www-apps/viewvc/viewvc-1.0.4.ebuild b/www-apps/viewvc/viewvc-1.0.4.ebuild
index f19d5f8e4036..5b4c43c36ad5 100644
--- a/www-apps/viewvc/viewvc-1.0.4.ebuild
+++ b/www-apps/viewvc/viewvc-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild,v 1.8 2007/09/20 18:43:21 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild,v 1.9 2007/10/26 16:13:20 wrobel Exp $
inherit python eutils
@@ -42,15 +42,15 @@ pkg_setup() {
}
src_unpack() {
- unpack ${A} && cd ${S}
+ unpack "${A}" && cd "${S}"
python_version
local LIB_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"
local CONF_PATH="/usr/share/webapps/${PN}/viewvc.conf"
find bin -type f |
- xargs sed -ie " s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${LIB_DIR}\"|g
- s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${CONF_PATH}\",g"
- sed -i "s|template_dir = templates|template_dir = /usr/share/webapps/${PN}/templates|" \
+ xargs sed -i -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${LIB_DIR}\"|g
+ s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${CONF_PATH}\",g"
+ sed -i -e "s|template_dir = templates|template_dir = /usr/share/webapps/${PN}/templates|" \
viewvc.conf.dist
}
@@ -81,9 +81,12 @@ src_install() {
fi
fi
- cp -p bin/* ${D}/usr/share/webapps/${PN}/bin
- cp -rp templates ${D}/usr/share/webapps/${PN}
- cp -rp lib/* ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+ for SCRIPT in bin/*
+ do
+ [ ! -d ${SCRIPT} ] && cp -p ${SCRIPT} "${D}"/usr/share/webapps/${PN}/bin
+ done
+ cp -rp templates "${D}"/usr/share/webapps/${PN}
+ cp -rp lib/* "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
insinto /usr/share/webapps/${PN}
doins viewvc.conf.dist cvsgraph.conf.dist
@@ -94,7 +97,7 @@ src_install() {
pkg_postinst() {
python_version
- python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+ python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
local mansuffix=$(ecompress --suffix)
elog "Now read /usr/share/doc/${P}/INSTALL${mansuffix} to configure ${PN}"