svn commit: r407765 - head/www/p5-HTTP-BrowserDetect
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Feb 1 19:49:34 UTC 2016
Author: sunpoet
Date: Mon Feb 1 19:49:32 2016
New Revision: 407765
URL: https://svnweb.freebsd.org/changeset/ports/407765
Log:
- Update to 2.08
- Add LICENSE_FILE
Changes: http://search.cpan.org/dist/HTTP-BrowserDetect/Changes
Modified:
head/www/p5-HTTP-BrowserDetect/Makefile
head/www/p5-HTTP-BrowserDetect/distinfo
Modified: head/www/p5-HTTP-BrowserDetect/Makefile
==============================================================================
--- head/www/p5-HTTP-BrowserDetect/Makefile Mon Feb 1 19:49:27 2016 (r407764)
+++ head/www/p5-HTTP-BrowserDetect/Makefile Mon Feb 1 19:49:32 2016 (r407765)
@@ -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, vers
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>
Modified: head/www/p5-HTTP-BrowserDetect/distinfo
==============================================================================
--- head/www/p5-HTTP-BrowserDetect/distinfo Mon Feb 1 19:49:27 2016 (r407764)
+++ head/www/p5-HTTP-BrowserDetect/distinfo Mon Feb 1 19:49:32 2016 (r407765)
@@ -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
More information about the svn-ports-all
mailing list