1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/p5-Net-HTTPS-NB/Makefile
Sunpoet Po-Chuan Hsieh af79b36947 - Add p5-Net-HTTPS-NB 0.12
Net::HTTPS::NB provides same interface as Net::HTTPS but it will never try
multiple reads when the read_response_headers() or read_entity_body() methods
are invoked. In addition allows non-blocking connect.

If read_response_headers() did not see enough data to complete the headers an
empty list is returned.

If read_entity_body() did not see new entity data in its read the value -1 is
returned.

WWW: http://search.cpan.org/dist/Net-HTTPS-NB/

Feature safe:	yes
2012-03-13 06:44:13 +00:00

33 lines
778 B
Makefile

# New ports collection makefile for: p5-Net-HTTPS-NB
# Date created: 2012-03-13
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-HTTPS-NB
PORTVERSION= 0.12
CATEGORIES= net www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Non-blocking HTTPS client
BUILD_DEPENDS= p5-IO-Socket-SSL>=0.98:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Net-HTTP>=0:${PORTSDIR}/net/p5-Net-HTTP
RUN_DEPENDS= p5-IO-Socket-SSL>=0.98:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Net-HTTP>=0:${PORTSDIR}/net/p5-Net-HTTP
PERL_CONFIGURE= yes
MAN3= Net::HTTPS::NB.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>