/[gentoo-x86]/www-apps/rt/rt-3.4.2-r1.ebuild
Gentoo

Diff of /www-apps/rt/rt-3.4.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/Attic/rt-3.4.2-r1.ebuild,v 1.1 2005/06/21 02:12:38 rl03 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/Attic/rt-3.4.2-r1.ebuild,v 1.2 2005/07/29 18:21:25 rl03 Exp $
4 4
5inherit webapp eutils 5inherit webapp eutils
6 6
7IUSE="mysql postgres fastcgi apache2 lighttpd" 7IUSE="mysql postgres fastcgi apache2 lighttpd"
8 8
10HOMEPAGE="http://www.bestpractical.com/rt/" 10HOMEPAGE="http://www.bestpractical.com/rt/"
11SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz 11SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz
12 ftp://ftp.eu.uu.net/pub/unix/ticketing/${PN}/release/${P}.tar.gz 12 ftp://ftp.eu.uu.net/pub/unix/ticketing/${PN}/release/${P}.tar.gz
13 ftp://rhinst.ece.cmu.edu/${PN}/release/${P}.tar.gz" 13 ftp://rhinst.ece.cmu.edu/${PN}/release/${P}.tar.gz"
14 14
15KEYWORDS="~x86" 15KEYWORDS="~x86 ~ppc"
16 16
17DEPEND=" 17DEPEND="
18 >=net-www/webapp-config-1.11-r1
18 >=dev-lang/perl-5.8.3 19 >=dev-lang/perl-5.8.3
19 >=dev-perl/Params-Validate-0.02 20 >=dev-perl/Params-Validate-0.02
20 dev-perl/Cache-Cache 21 dev-perl/Cache-Cache
21 >=dev-perl/Exception-Class-1.14 22 >=dev-perl/Exception-Class-1.14
22 perl-core/CGI 23 perl-core/CGI
141 unpack ${A} 142 unpack ${A}
142 cd ${S} 143 cd ${S}
143 144
144 # add Gentoo-specific layout 145 # add Gentoo-specific layout
145 cat ${FILESDIR}/${PV}/config.layout-gentoo >> config.layout 146 cat ${FILESDIR}/${PV}/config.layout-gentoo >> config.layout
146 sed -e "s|PREFIX|${D}/${MY_HOSTROOTDIR}/${P}| 147 sed -e "s|PREFIX|${D}/${MY_HOSTROOTDIR}/${PF}|
147 s|HTMLDIR|${D}/${MY_HTDOCSDIR}|g" -i ./config.layout 148 s|HTMLDIR|${D}/${MY_HTDOCSDIR}|g" -i ./config.layout || die
148} 149}
149 150
150src_compile() { 151src_compile() {
151 152
152 local web="apache" 153 local web="apache"
175 webapp_src_preinst 176 webapp_src_preinst
176 177
177 make install 178 make install
178 179
179 # make sure we don't clobber existing site configuration 180 # make sure we don't clobber existing site configuration
180 rm -f ${D}/${MY_HOSTROOTDIR}/${P}/etc/RT_SiteConfig.pm 181 rm -f ${D}/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
181 182
182 # copy upgrade files 183 # copy upgrade files
183 cp -R etc/upgrade ${D}/${MY_HOSTROOTDIR}/${P} 184 cp -R etc/upgrade ${D}/${MY_HOSTROOTDIR}/${PF}
184 185
185 cd ${D} 186 cd ${D}
186 grep -Rl "${D}" * | xargs dosed 187 grep -Rl "${D}" * | xargs dosed
187 188
188 if ! useq lighttpd; then 189 if ! useq lighttpd; then

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20