# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD: tags/RELEASE_12_1_0/www/p5-HTTP-BrowserDetect/Makefile 497888 2019-04-04 23:56:24Z sunpoet $

PORTNAME=	HTTP-BrowserDetect
PORTVERSION=	3.23
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
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-Hash-Merge>=0:textproc/p5-Hash-Merge \
		p5-Path-Tiny>=0:devel/p5-Path-Tiny \
		p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings \
		p5-Test-Most>=0:devel/p5-Test-Most \
		p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 502705
TEST_DEPENDS+=	p5-Scalar-List-Utils>=1.49:lang/p5-Scalar-List-Utils
.endif

.include <bsd.port.post.mk>
