From b7dcf0924b3dbecb1d48e63f14938a560cb2fd8c Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sat, 6 Oct 2012 20:00:29 +0000 Subject: - Add LICENSE - Convert to new options framework --- www/p5-HTTP-Tiny/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/p5-HTTP-Tiny/Makefile b/www/p5-HTTP-Tiny/Makefile index 1db7a5fa5a8f..064355cae1ea 100644 --- a/www/p5-HTTP-Tiny/Makefile +++ b/www/p5-HTTP-Tiny/Makefile @@ -15,7 +15,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= A small, simple, correct HTTP/1.1 client -OPTIONS= HTTPS "https support" on +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +OPTIONS_DEFINE= HTTPS +OPTIONS_DEFAULT=HTTPS PERL_CONFIGURE= yes @@ -23,7 +27,7 @@ MAN3= HTTP::Tiny.3 .include -.if !defined(WITHOUT_HTTPS) +.if ${PORT_OPTIONS:MHTTPS} BUILD_DEPENDS+= p5-IO-Socket-SSL>=1.56:${PORTSDIR}/security/p5-IO-Socket-SSL \ p5-Mozilla-CA>=0:${PORTSDIR}/www/p5-Mozilla-CA RUN_DEPENDS+= p5-IO-Socket-SSL>=1.56:${PORTSDIR}/security/p5-IO-Socket-SSL \ -- cgit