aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Tiny/Makefile
blob: 57fb8a9d57c254e286ae94a1dbaf99435a9e399b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	HTTP-Tiny
PORTVERSION=	0.078
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Small, simple, correct HTTP/1.1 client

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes

PORTSCOUT=	limit:^[0-9\.]*$$

OPTIONS_DEFINE=	COOKIE HTTPS IO_SOCKET_IP
OPTIONS_DEFAULT=COOKIE HTTPS IO_SOCKET_IP
IO_SOCKET_IP_DESC=	Use IO::Socket:IP instead of IO::Socket::INET

COOKIE_BUILD_DEPENDS=	p5-HTTP-CookieJar>=0.001:www/p5-HTTP-CookieJar
COOKIE_RUN_DEPENDS=	p5-HTTP-CookieJar>=0.001:www/p5-HTTP-CookieJar
HTTPS_BUILD_DEPENDS=	p5-IO-Socket-SSL>=1.42:security/p5-IO-Socket-SSL \
			p5-Mozilla-CA>=20160104:www/p5-Mozilla-CA \
			p5-Net-SSLeay>=1.49:security/p5-Net-SSLeay
HTTPS_RUN_DEPENDS=	p5-IO-Socket-SSL>=1.42:security/p5-IO-Socket-SSL \
			p5-Mozilla-CA>=20160104:www/p5-Mozilla-CA \
			p5-Net-SSLeay>=1.49:security/p5-Net-SSLeay

.include <bsd.port.mk>