aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTTP-Tiny
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-10-07 04:00:29 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-10-07 04:00:29 +0800
commitb7dcf0924b3dbecb1d48e63f14938a560cb2fd8c (patch)
treeea8eba1a2d577208264a25a4c035c51abe3ff27e /www/p5-HTTP-Tiny
parent54892934357aed03c5cfe39da403fc114bb4f35b (diff)
downloadfreebsd-ports-gnome-b7dcf0924b3dbecb1d48e63f14938a560cb2fd8c.tar.gz
freebsd-ports-gnome-b7dcf0924b3dbecb1d48e63f14938a560cb2fd8c.tar.zst
freebsd-ports-gnome-b7dcf0924b3dbecb1d48e63f14938a560cb2fd8c.zip
- Add LICENSE
- Convert to new options framework
Diffstat (limited to 'www/p5-HTTP-Tiny')
-rw-r--r--www/p5-HTTP-Tiny/Makefile8
1 files 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 <bsd.port.options.mk>
-.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 \