59f1409cf3
- Add option: COOKIE - Add TEST_DEPENDS Changes: http://search.cpan.org/dist/HTTP-Tiny/Changes
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $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 <bsd.port.options.mk>
|
|
|
|
.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 <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|