aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTTP-BrowserDetect
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-02-01 19:49:32 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-02-01 19:49:32 +0000
commitd8bfe893cfaaa0909998d7d8c6a4a1fc2714a91f (patch)
tree0c9ed0f24ce50efc5fc236cd9bdd2447c3af1a4f /www/p5-HTTP-BrowserDetect
parentc6db35df2e489c99e6244467a920244bafc02afa (diff)
downloadports-d8bfe893cfaaa0909998d7d8c6a4a1fc2714a91f.tar.gz
ports-d8bfe893cfaaa0909998d7d8c6a4a1fc2714a91f.zip
- Update to 2.08
Notes
Notes: svn path=/head/; revision=407765
Diffstat (limited to 'www/p5-HTTP-BrowserDetect')
-rw-r--r--www/p5-HTTP-BrowserDetect/Makefile12
-rw-r--r--www/p5-HTTP-BrowserDetect/distinfo4
2 files changed, 12 insertions, 4 deletions
diff --git a/www/p5-HTTP-BrowserDetect/Makefile b/www/p5-HTTP-BrowserDetect/Makefile
index f1d0284fec30..92095a6cea96 100644
--- a/www/p5-HTTP-BrowserDetect/Makefile
+++ b/www/p5-HTTP-BrowserDetect/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= HTTP-BrowserDetect
-PORTVERSION= 2.07
+PORTVERSION= 2.08
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:OALDERS
@@ -13,6 +13,7 @@ COMMENT= Determine the Web browser, version, OS from an HTTP user agent string
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= p5-Path-Tiny>=0:${PORTSDIR}/devel/p5-Path-Tiny \
p5-Test-FailWarnings>=0:${PORTSDIR}/devel/p5-Test-FailWarnings \
@@ -23,4 +24,11 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+= p5-JSON-PP>=2.27300:${PORTSDIR}/converters/p5-JSON-PP
+RUN_DEPENDS+= p5-JSON-PP>=2.27300:${PORTSDIR}/converters/p5-JSON-PP
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-HTTP-BrowserDetect/distinfo b/www/p5-HTTP-BrowserDetect/distinfo
index 84a1a8924826..c9025ad36bec 100644
--- a/www/p5-HTTP-BrowserDetect/distinfo
+++ b/www/p5-HTTP-BrowserDetect/distinfo
@@ -1,2 +1,2 @@
-SHA256 (HTTP-BrowserDetect-2.07.tar.gz) = b865fbc6366a76b93da6727d331c20ce4cf0b46a50e275065952846ec52f5f0a
-SIZE (HTTP-BrowserDetect-2.07.tar.gz) = 91522
+SHA256 (HTTP-BrowserDetect-2.08.tar.gz) = 2f0b2f3f9bceb57b19eea2306929ee5d12795978d8f589ebbd45db8d0576542f
+SIZE (HTTP-BrowserDetect-2.08.tar.gz) = 86331