# Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= Net-Async-HTTP PORTVERSION= 0.40 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Use HTTP with IO::Async LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Future>=0.28:${PORTSDIR}/devel/p5-Future \ p5-HTTP-Cookies>=0:${PORTSDIR}/www/p5-HTTP-Cookies \ p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \ p5-IO-Async>=0.59:${PORTSDIR}/devel/p5-IO-Async \ p5-Struct-Dumb>=0:${PORTSDIR}/devel/p5-Struct-Dumb \ p5-URI>=0:${PORTSDIR}/net/p5-URI RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-IO-Async-SSL>=0.12:${PORTSDIR}/security/p5-IO-Async-SSL \ p5-Test-Identity>=0:${PORTSDIR}/devel/p5-Test-Identity \ p5-Test-Refcount>=0:${PORTSDIR}/devel/p5-Test-Refcount OPTIONS_DEFINE= SSL NO_ARCH= yes USE_PERL5= configure USES= perl5 SSL_BUILD_DEPENDS= p5-IO-Async-SSL>=0.12:${PORTSDIR}/security/p5-IO-Async-SSL SSL_RUN_DEPENDS= p5-IO-Async-SSL>=0.12:${PORTSDIR}/security/p5-IO-Async-SSL .include .if ${PERL_LEVEL} < 502000 BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils RUN_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils .endif .include