summaryrefslogtreecommitdiff
blob: 0405c425633846bef4e9855df2d19ccdc6fca0f3 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/apache-manual/apache-manual-2.0.49-r1.ebuild,v 1.23 2004/06/24 21:38:21 agriffis Exp $

MY_VERSION="${PV}-r1"

DESCRIPTION="Configures the apache manual for local viewing"
HOMEPAGE="http://www.apache.org/"
SRC_URI="http://www.apache.org/dist/httpd/httpd-${PV}.tar.gz"

KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ia64 s390 arm ppc64"
SLOT="0"
LICENSE="Apache-2.0"
IUSE=""

DEPEND="=net-www/apache-2*
	>=sys-apps/sed-4"
RDEPEND=""

src_compile() {
	einfo "Nothing to do."
}

src_install() {
	insinto /etc/apache2/conf/modules.d
	doins ${FILESDIR}/00_apache_manual.conf
	sed -i -e "s:2.0.49:${MY_VERSION}:" ${D}/etc/apache2/conf/modules.d/00_apache_manual.conf
}