forked from Lainports/freebsd-ports
34 lines
903 B
Makefile
34 lines
903 B
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= HTTP-BrowserDetect
|
|
PORTVERSION= 2.08
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:OALDERS
|
|
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-Path-Tiny>=0:${PORTSDIR}/devel/p5-Path-Tiny \
|
|
p5-Test-FailWarnings>=0:${PORTSDIR}/devel/p5-Test-FailWarnings \
|
|
p5-Test-Most>=0:${PORTSDIR}/devel/p5-Test-Most \
|
|
p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings
|
|
|
|
NO_ARCH= yes
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.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>
|