--- awstats-6.5.ebuild.orig 2005-08-13 09:36:03.000000000 +0200 +++ awstats-6.5.ebuild 2005-08-25 07:44:36.000000000 +0200 @@ -10,13 +10,15 @@ SRC_URI="http://awstats.sourceforge.net/files/${P}.tar.gz" LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ppc ~sparc x86" -IUSE="" +KEYWORDS="~ppc ~sparc ~x86" +IUSE="geoip" RDEPEND=">=dev-lang/perl-5.6.1 >=media-libs/libpng-1.2 perl-core/Time-Local - net-www/apache" + net-www/apache + geoip? ( dev-perl/Geo-IP )" + DEPEND="${RDEPEND} >=sys-apps/sed-4" @@ -126,5 +128,14 @@ ewarn "use the command" ewarn " webapp-config" ewarn "to install awstats for each virtual host. See proper man page." + ewarn + + if use geoip ; then + einfo + einfo "Add the following line to /etc/awstats/awstats..conf" + einfo "to enable GeoIP plugin:" + einfo "LoadPlugin=\"geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat\" " + einfo + fi }