summaryrefslogtreecommitdiff
blob: a61fb0b4ddd14b4be5ee9f5a038873fbfce42cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/cvsweb/cvsweb-1.93-r1.ebuild,v 1.7 2002/10/15 01:22:14 vapier Exp $

A=${P}.tar.gz
S=${WORKDIR}/cvsweb
DESCRIPTION="WWW interface to a CVS tree"
SRC_URI="http://stud.fh-heilbronn.de/~zeller/download/${A}"
HOMEPAGE="http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi"
KEYWORDS="x86 sparc sparc64"
SLOT="0"
LICENSE="BSD"

RDEPEND=">=sys-devel/perl-5 >=app-text/rcs-5.7"

src_unpack () {
	unpack ${A}
	cd ${S}
	local x
	for x in cvsweb.cgi cvsweb.conf
	do
		cp ${x} ${x}.orig
		sed -e "s:/usr/local/web/apache/conf/:/etc/httpd/:" ${x}.orig > ${x}
	done
}

src_install () {
    cd ${S}
    insinto /etc/httpd
    doins cvsweb.conf
    insinto /usr/local/httpd/cgi-bin
    insopts -m755
    doins cvsweb.cgi
    dodoc README TODO
}