aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cricket
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-02 15:39:28 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-02 15:39:28 +0000
commitef28777df22846cd73457af02803fb7866459910 (patch)
treead90ec7fe5d4b47473ce7d7cb05237d061c7d525 /net-mgmt/cricket
parente2aa3513c93dfbbd352059df2e02ef614f421076 (diff)
downloadports-ef28777df22846cd73457af02803fb7866459910.tar.gz
ports-ef28777df22846cd73457af02803fb7866459910.zip
Notes
Diffstat (limited to 'net-mgmt/cricket')
-rw-r--r--net-mgmt/cricket/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile
index c47db8d71b70..52202b50cff2 100644
--- a/net-mgmt/cricket/Makefile
+++ b/net-mgmt/cricket/Makefile
@@ -11,9 +11,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= High performance, flexible monitoring system
RUN_DEPENDS= rrdtool>=0:databases/rrdtool \
- p5-libwww>=0:www/p5-libwww \
+ p5-CGI>0:www/p5-CGI \
p5-SNMP_Session>=0:net-mgmt/p5-SNMP_Session \
- p5-TimeDate>=0:devel/p5-TimeDate
+ p5-TimeDate>=0:devel/p5-TimeDate \
+ p5-libwww>=0:www/p5-libwww
USES= perl5 shebangfix
SHEBANG_FILES= util/metaQuery.pl
@@ -48,10 +49,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/cricket-conf.pl.sample \
${STAGEDIR}${PREFIX}/etc/cricket-conf.pl.dist
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 502200
-RUN_DEPENDS+= p5-CGI>0:www/p5-CGI
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>