summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-11-01 15:16:44 +0000
committerMichael Imhof <tantive@gentoo.org>2003-11-01 15:16:44 +0000
commit17e21531644242d1cc71fea9cb174e49d17461f3 (patch)
treee6e28c960f894eacbe41c5296bc1b7ebc2c2d03f /sys-apps/apcupsd/apcupsd-3.10.6.ebuild
parentNew beta version (diff)
downloadhistorical-17e21531644242d1cc71fea9cb174e49d17461f3.tar.gz
historical-17e21531644242d1cc71fea9cb174e49d17461f3.tar.bz2
historical-17e21531644242d1cc71fea9cb174e49d17461f3.zip
changes for apache2
Diffstat (limited to 'sys-apps/apcupsd/apcupsd-3.10.6.ebuild')
-rw-r--r--sys-apps/apcupsd/apcupsd-3.10.6.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/apcupsd/apcupsd-3.10.6.ebuild b/sys-apps/apcupsd/apcupsd-3.10.6.ebuild
index dd0240310c4a..1fe1703a00e8 100644
--- a/sys-apps/apcupsd/apcupsd-3.10.6.ebuild
+++ b/sys-apps/apcupsd/apcupsd-3.10.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apcupsd/apcupsd-3.10.6.ebuild,v 1.2 2003/11/01 14:45:52 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apcupsd/apcupsd-3.10.6.ebuild,v 1.3 2003/11/01 15:16:35 tantive Exp $
IUSE="doc snmp usb"
@@ -65,11 +65,14 @@ src_compile() {
src_install () {
make DESTDIR=${D} install || die "installed failed"
- insinto /etc/apache/conf/addon-modules
+ use apache2 || insinto /etc/apache/conf/addon-modules
+ use apache2 && insinto /etc/apache2/conf/addon-modules
+
newins ${FILESDIR}/${PV}/apache.conf apcupsd.conf
insinto /etc/apcupsd
newins examples/safe.apccontrol safe.apccontrol
+
if [ "`use doc`x" != "x" ]
then
einfo "Installing full documentation into /usr/share/doc/${P}..."