Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 26114 | Differences between
and this patch

Collapse All | Expand All

(-)cvsweb-1.93-r1.ebuild.orig (-3 / +12 lines)
Lines 2-7 Link Here
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: /home/cvsroot/gentoo-x86/net-www/cvsweb/cvsweb-1.93-r1.ebuild,v 1.10 2003/03/11 21:11:46 seemant Exp $
3
# $Header: /home/cvsroot/gentoo-x86/net-www/cvsweb/cvsweb-1.93-r1.ebuild,v 1.10 2003/03/11 21:11:46 seemant Exp $
4
4
5
inherit webapp-apache
6
5
A=${P}.tar.gz
7
A=${P}.tar.gz
6
S=${WORKDIR}/cvsweb
8
S=${WORKDIR}/cvsweb
7
DESCRIPTION="WWW interface to a CVS tree"
9
DESCRIPTION="WWW interface to a CVS tree"
Lines 13-18 Link Here
13
15
14
RDEPEND=">=dev-lang/perl-5 >=app-text/rcs-5.7"
16
RDEPEND=">=dev-lang/perl-5 >=app-text/rcs-5.7"
15
17
18
webapp-detect || NO_WEBSERVER=1
19
20
pkg_setup() {
21
        webapp-pkg_setup "${NO_WEBSERVER}"
22
        einfo "Installing into ${HTTPD_CGIBIN}."
23
}
24
16
src_unpack () {
25
src_unpack () {
17
	unpack ${A}
26
	unpack ${A}
18
	cd ${S}
27
	cd ${S}
Lines 20-34 Link Here
20
	for x in cvsweb.cgi cvsweb.conf
29
	for x in cvsweb.cgi cvsweb.conf
21
	do
30
	do
22
		cp ${x} ${x}.orig
31
		cp ${x} ${x}.orig
23
		sed -e "s:/usr/local/web/apache/conf/:/etc/httpd/:" ${x}.orig > ${x}
32
		sed -e "s:/usr/local/web/apache/conf/:${APACHECONF_DIR}:" ${x}.orig > ${x}
24
	done
33
	done
25
}
34
}
26
35
27
src_install () {
36
src_install () {
28
    cd ${S}
37
    cd ${S}
29
    insinto /etc/httpd
38
    insinto ${APACHECONF_DIR}
30
    doins cvsweb.conf
39
    doins cvsweb.conf
31
    insinto /usr/local/httpd/cgi-bin
40
    insinto ${HTTPD_CGIBIN}
32
    insopts -m755
41
    insopts -m755
33
    doins cvsweb.cgi
42
    doins cvsweb.cgi
34
    dodoc README TODO
43
    dodoc README TODO

Return to bug 26114