summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-06-10 22:56:54 +0000
committerChuck Short <zul@gentoo.org>2004-06-10 22:56:54 +0000
commitc99f929a5e37649d7301ddb45c70d8e4586c0929 (patch)
tree64141a281e2d91237b17ec71efd381d6870a46b8 /net-www/apache/apache-2.0.49-r3.ebuild
parenttypo fix (Manifest recommit) (diff)
downloadgentoo-2-c99f929a5e37649d7301ddb45c70d8e4586c0929.tar.gz
gentoo-2-c99f929a5e37649d7301ddb45c70d8e4586c0929.tar.bz2
gentoo-2-c99f929a5e37649d7301ddb45c70d8e4586c0929.zip
Make doc easier to maintain.
Diffstat (limited to 'net-www/apache/apache-2.0.49-r3.ebuild')
-rw-r--r--net-www/apache/apache-2.0.49-r3.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-www/apache/apache-2.0.49-r3.ebuild b/net-www/apache/apache-2.0.49-r3.ebuild
index b4864915bf5b..f91e5bebb717 100644
--- a/net-www/apache/apache-2.0.49-r3.ebuild
+++ b/net-www/apache/apache-2.0.49-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.0.49-r3.ebuild,v 1.12 2004/06/09 17:57:03 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.0.49-r3.ebuild,v 1.13 2004/06/10 22:56:54 zul Exp $
inherit flag-o-matic eutils fixheadtails gnuconfig
@@ -26,7 +26,6 @@ DEPEND="dev-util/yacc
>=sys-apps/sed-4
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
- doc? ( =app-doc/apache-manual-2.0.49-r1 )
!mips? ( ldap? ( =net-nds/openldap-2* ) )"
apache_setup_vars() {
@@ -267,8 +266,12 @@ src_install () {
use !mips && use ldap && doins ${FILESDIR}/2.0.49/46_mod_ldap.conf
#drop in a convenient link to the manual
- if use docs; then
+ if use doc; then
+ MANUAL_VERSION="2.0.49-r3"
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/00_apache_manual.conf
dosym /usr/share/doc/${PF}/manual ${DATADIR}/htdocs/manual
+ sed -i -e "s:2.0.49:${MY_VERSION}:" ${D}/etc/apache2/conf/modules.d/00_apache_manual.conf
fi
#SLOT=2!!!