Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2018 10:12:02 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469723 - head/www/awstats
Message-ID:  <201805121012.w4CAC2Ih065848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat May 12 10:12:01 2018
New Revision: 469723
URL: https://svnweb.freebsd.org/changeset/ports/469723

Log:
  www/awstats: fix/add RUN_DEPENDS by adding OPTIONs
  
  PR:		228081
  Submitted by:	rozhuk.im@gmail.com
  Approved by:	vidar@karlsen.tech (maintainer)

Modified:
  head/www/awstats/Makefile

Modified: head/www/awstats/Makefile
==============================================================================
--- head/www/awstats/Makefile	Sat May 12 10:10:02 2018	(r469722)
+++ head/www/awstats/Makefile	Sat May 12 10:12:01 2018	(r469723)
@@ -3,6 +3,7 @@
 
 PORTNAME=	awstats
 PORTVERSION=	7.7
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/AWStats/${PORTVERSION}
@@ -13,8 +14,6 @@ COMMENT=	Free real-time logfile analyzer to get advanc
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/docs/LICENSE.TXT
 
-RUN_DEPENDS=	p5-Net-XWhois>=0:net/p5-Net-XWhois
-
 USES=		cpe dos2unix perl5 shebangfix
 CPE_VENDOR=	laurent_destailleur
 
@@ -27,18 +26,26 @@ USE_PERL5=	run
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	DOCS IPV6
-OPTIONS_RADIO=	GEO
+OPTIONS_DEFINE=			DOCS IPV6
+OPTIONS_RADIO=			GEO
+OPTIONS_GROUP=			MODULES
+OPTIONS_DEFAULT=		HOSTINFO
 
-OPTIONS_RADIO_GEO=	GEOIP GEOIPFREE
-GEO_DESC=	Identify country of source IPs
-GEOIP_DESC=	Country lookups via Geo::IP
-GEOIPFREE_DESC=	Country lookups via Geo::IPfree
+OPTIONS_RADIO_GEO=		GEOIP GEOIPFREE
+GEO_DESC=			Identify country of source IPs
+GEOIP_DESC=			Country lookups via Geo::IP
+GEOIPFREE_DESC=			Country lookups via Geo::IPfree
 
-GEOIP_RUN_DEPENDS=	p5-Geo-IP>=0:net/p5-Geo-IP
-GEOIPFREE_RUN_DEPENDS=	p5-Geo-IPfree>=0:net/p5-Geo-IPfree
-IPV6_RUN_DEPENDS=	p5-Net-IP>=0:net-mgmt/p5-Net-IP \
-			p5-Net-DNS>=0:dns/p5-Net-DNS
+OPTIONS_GROUP_MODULES=		DECODEUTFKEYS HOSTINFO
+MODULES_DESC=			Plugin support not present in Perl CORE
+DECODEUTFKEYS_DESC=		DecodeUTFKeys (requires p5-URI)
+HOSTINFO_DESC=			HostInfo (requires p5-Net-XWhois)
+GEOIP_RUN_DEPENDS=		p5-Geo-IP>=0:net/p5-Geo-IP
+GEOIPFREE_RUN_DEPENDS=		p5-Geo-IPfree>=0:net/p5-Geo-IPfree
+IPV6_RUN_DEPENDS=		p5-Net-IP>=0:net-mgmt/p5-Net-IP \
+				p5-Net-DNS>=0:dns/p5-Net-DNS
+DECODEUTFKEYS_RUN_DEPENDS=	p5-URI>0:net/p5-URI
+HOSTINFO_RUN_DEPENDS=		p5-Net-XWhois>=0:net/p5-Net-XWhois
 
 pre-patch:
 # This file is so messed up, not even dos2unix can fix it



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805121012.w4CAC2Ih065848>