svn commit: r313794 - head/www/p5-HTTP-Tiny

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Mar 10 03:09:49 UTC 2013


Author: sunpoet
Date: Sun Mar 10 03:09:48 2013
New Revision: 313794
URL: http://svnweb.freebsd.org/changeset/ports/313794

Log:
  - Update to 0.028
  - Add option: COOKIE
  - Add TEST_DEPENDS
  
  Changes:	http://search.cpan.org/dist/HTTP-Tiny/Changes

Modified:
  head/www/p5-HTTP-Tiny/Makefile
  head/www/p5-HTTP-Tiny/distinfo

Modified: head/www/p5-HTTP-Tiny/Makefile
==============================================================================
--- head/www/p5-HTTP-Tiny/Makefile	Sun Mar 10 03:08:48 2013	(r313793)
+++ head/www/p5-HTTP-Tiny/Makefile	Sun Mar 10 03:09:48 2013	(r313794)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	HTTP-Tiny
-PORTVERSION=	0.025
+PORTVERSION=	0.028
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:DAGOLDEN
@@ -14,8 +14,9 @@ COMMENT=	A small, simple, correct HTTP/1
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-OPTIONS_DEFINE=	HTTPS
-OPTIONS_DEFAULT=HTTPS
+OPTIONS_DEFINE=	COOKIE HTTPS
+OPTIONS_DEFAULT=COOKIE HTTPS
+COOKIE_DESC=	Cookie support
 
 PERL_CONFIGURE=	yes
 
@@ -23,6 +24,11 @@ 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
@@ -30,4 +36,10 @@ RUN_DEPENDS+=	p5-Net-SSLeay>=1.49:${PORT
 		p5-Mozilla-CA>=20120823:${PORTSDIR}/www/p5-Mozilla-CA
 .endif
 
-.include <bsd.port.mk>
+.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>

Modified: head/www/p5-HTTP-Tiny/distinfo
==============================================================================
--- head/www/p5-HTTP-Tiny/distinfo	Sun Mar 10 03:08:48 2013	(r313793)
+++ head/www/p5-HTTP-Tiny/distinfo	Sun Mar 10 03:09:48 2013	(r313794)
@@ -1,2 +1,2 @@
-SHA256 (HTTP-Tiny-0.025.tar.gz) = d535f66e417d27b64c3a635fffd3e62aa3a83488038d39f5a0eac142f1b2034d
-SIZE (HTTP-Tiny-0.025.tar.gz) = 43240
+SHA256 (HTTP-Tiny-0.028.tar.gz) = f14b9ed2d32a49e91f47856d6abc4f073f3656801ded7d5761a59a58af94c141
+SIZE (HTTP-Tiny-0.028.tar.gz) = 45940


More information about the svn-ports-all mailing list