summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-01-19 11:36:43 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-01-19 11:36:43 +0000
commitb7ba304a7e046f98f1d084c6a004d64df33b234d (patch)
tree360d2c56259c8ca8dcc2daa32dd16ff9d628751b /net-www/awstats/awstats-6.7-r2.ebuild
parentLet the qt4 eclass check for qt3support. (diff)
downloadgentoo-2-b7ba304a7e046f98f1d084c6a004d64df33b234d.tar.gz
gentoo-2-b7ba304a7e046f98f1d084c6a004d64df33b234d.tar.bz2
gentoo-2-b7ba304a7e046f98f1d084c6a004d64df33b234d.zip
remove bogus USE=-cgi
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'net-www/awstats/awstats-6.7-r2.ebuild')
-rw-r--r--net-www/awstats/awstats-6.7-r2.ebuild21
1 files changed, 5 insertions, 16 deletions
diff --git a/net-www/awstats/awstats-6.7-r2.ebuild b/net-www/awstats/awstats-6.7-r2.ebuild
index f7d03e8bb77b..e16def396a8e 100644
--- a/net-www/awstats/awstats-6.7-r2.ebuild
+++ b/net-www/awstats/awstats-6.7-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/awstats/awstats-6.7-r2.ebuild,v 1.1 2007/12/23 23:41:36 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/awstats/awstats-6.7-r2.ebuild,v 1.2 2008/01/19 11:36:43 hollow Exp $
inherit eutils webapp versionator depend.apache
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="cgi geoip"
+IUSE="geoip"
RESTRICT="mirror"
@@ -25,15 +25,6 @@ RDEPEND=">=dev-lang/perl-5.6.1
want_apache
-pkg_setup() {
- if ! use cgi; then
- ewarn "You have not enabled the cgi USE flag."
- ewarn "This means you need to generate static"
- ewarn "HTML statistics instead of using awstats.pl"
- fi
- webapp_pkg_setup
-}
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -83,10 +74,8 @@ src_install() {
keepdir /var/lib/awstats
# Copy the app's main files
- if use cgi; then
- exeinto "${MY_CGIBINDIR}"
- doexe "${S}"/wwwroot/cgi-bin/*.pl
- fi
+ exeinto "${MY_CGIBINDIR}"
+ doexe "${S}"/wwwroot/cgi-bin/*.pl
exeinto "${MY_HTDOCSDIR}"/classes
doexe "${S}"/wwwroot/classes/*.jar