diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2014-11-19 15:40:10 +0000 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2014-11-19 15:40:10 +0000 |
commit | a6b13ae47757041b78056b6b00461172ed602fba (patch) | |
tree | 6c2fae4e7d99ed4ab87b01345d72f6e01ba939f0 /www-apps/rt | |
parent | clean old python impl, add pypy3 support (diff) | |
download | gentoo-2-a6b13ae47757041b78056b6b00461172ed602fba.tar.gz gentoo-2-a6b13ae47757041b78056b6b00461172ed602fba.tar.bz2 gentoo-2-a6b13ae47757041b78056b6b00461172ed602fba.zip |
Fix bug 529854. Properly install all docs by letting dodoc -r do its thing.
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0)
Diffstat (limited to 'www-apps/rt')
-rw-r--r-- | www-apps/rt/ChangeLog | 5 | ||||
-rw-r--r-- | www-apps/rt/rt-4.2.9-r1.ebuild | 22 |
2 files changed, 14 insertions, 13 deletions
diff --git a/www-apps/rt/ChangeLog b/www-apps/rt/ChangeLog index 7fa2cc1158b0..1ef4e452451c 100644 --- a/www-apps/rt/ChangeLog +++ b/www-apps/rt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-apps/rt # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/ChangeLog,v 1.90 2014/11/18 20:25:29 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/ChangeLog,v 1.91 2014/11/19 15:40:10 titanofold Exp $ + + 19 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> rt-4.2.9-r1.ebuild: + Fix bug 529854. Properly install all docs by letting dodoc -r do its thing. *rt-4.2.9-r1 (18 Nov 2014) diff --git a/www-apps/rt/rt-4.2.9-r1.ebuild b/www-apps/rt/rt-4.2.9-r1.ebuild index 52ef1f460e87..7d765163ac6b 100644 --- a/www-apps/rt/rt-4.2.9-r1.ebuild +++ b/www-apps/rt/rt-4.2.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/rt-4.2.9-r1.ebuild,v 1.1 2014/11/18 20:25:29 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/rt-4.2.9-r1.ebuild,v 1.2 2014/11/19 15:40:10 titanofold Exp $ EAPI=5 @@ -193,8 +193,8 @@ pkg_setup() { src_prepare() { # add Gentoo-specific layout cat "${FILESDIR}"/config.layout-gentoo >> config.layout - sed -e "s|PREFIX|${D}/${MY_HOSTROOTDIR}/${PF}|g" \ - -e "s|HTMLDIR|${D}/${MY_HTDOCSDIR}|g" \ + sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \ + -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \ -e 's|/\+|/|g' \ -i ./config.layout || die @@ -259,17 +259,15 @@ src_install() { webapp_src_preinst emake install - dodoc "${S}"/docs/UPGRADING* - dodoc "${S}"/docs/*.pod - dodoc "${S}"/docs/network-diagram.svg - cp -R "${S}"/docs/customizing/ "${D}"/usr/share/doc/"${P}"/ - cp -R "${S}"/docs/extending/ "${D}"/usr/share/doc/"${P}"/ + dodoc -r docs + # Disable compression because `perldoc` doesn't decompress transparently + docompress -x /usr/share/doc # make sure we don't clobber existing site configuration - rm -f "${D}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm + rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm # fix paths - find "${D}" -type f -print0 | xargs -0 sed -i -e "s:${D}::g" + find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g" # copy upgrade files insinto "${MY_HOSTROOTDIR}/${PF}" @@ -278,9 +276,9 @@ src_install() { if use lighttpd ; then newinitd "${FILESDIR}"/${PN}.init.d.2 ${PN} newconfd "${FILESDIR}"/${PN}.conf.d.2 ${PN} - sed -i -e "s/@@PF@@/${PF}/g" "${D}"/etc/conf.d/${PN} || die + sed -i -e "s/@@PF@@/${PF}/g" "${ED}"/etc/conf.d/${PN} || die else - doins "${FILESDIR}"/{rt_apache2_fcgi.conf,rt_apache2.conf} + doins "${FILESDIR}"/rt_apache2{,_fcgi}.conf fi # require the web server's permissions |