# Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= HTTP-Tiny PORTVERSION= 0.028 CATEGORIES= www perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:DAGOLDEN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= A small, simple, correct HTTP/1.1 client LICENSE= ART10 GPLv1 LICENSE_COMB= dual OPTIONS_DEFINE= COOKIE HTTPS OPTIONS_DEFAULT=COOKIE HTTPS COOKIE_DESC= Cookie support PERL_CONFIGURE= yes MAN3= HTTP::Tiny.3 .include .if ${PORT_OPTIONS:MCOOKIE} BUILD_DEPENDS+= p5-HTTP-CookieJar>=0.001:${PORTSDIR}/www/p5-HTTP-CookieJar RUN_DEPENDS+= p5-HTTP-CookieJar>=0.001:${PORTSDIR}/www/p5-HTTP-CookieJar .endif .if ${PORT_OPTIONS:MHTTPS} BUILD_DEPENDS+= p5-Net-SSLeay>=1.49:${PORTSDIR}/security/p5-Net-SSLeay \ p5-Mozilla-CA>=20120823:${PORTSDIR}/www/p5-Mozilla-CA RUN_DEPENDS+= p5-Net-SSLeay>=1.49:${PORTSDIR}/security/p5-Net-SSLeay \ p5-Mozilla-CA>=20120823:${PORTSDIR}/www/p5-Mozilla-CA .endif .include .if ${PERL_LEVEL} < 501400 TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple .endif .include