aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-libwww
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-10-07 04:06:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-10-07 04:06:20 +0800
commit47c16220792296e5b84acc5c415ccc80ace2febf (patch)
tree70434508516a47a45d883d03b1982a20838f0fca /www/p5-libwww
parentb7dcf0924b3dbecb1d48e63f14938a560cb2fd8c (diff)
downloadfreebsd-ports-gnome-47c16220792296e5b84acc5c415ccc80ace2febf.tar.gz
freebsd-ports-gnome-47c16220792296e5b84acc5c415ccc80ace2febf.tar.zst
freebsd-ports-gnome-47c16220792296e5b84acc5c415ccc80ace2febf.zip
- Convert to new options framework
- Cleanup Makefile header - Rename option: SSL -> HTTPS
Diffstat (limited to 'www/p5-libwww')
-rw-r--r--www/p5-libwww/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile
index 278cdb113b69..9357122b7961 100644
--- a/www/p5-libwww/Makefile
+++ b/www/p5-libwww/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-libwww
-# Date created: September 30th 1996
-# Whom: James FitzGibbon <jfitz@FreeBSD.org>
-#
+# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= libwww
PORTVERSION= 6.04
@@ -30,7 +26,7 @@ BUILD_DEPENDS= p5-Authen-NTLM>=1.02:${PORTSDIR}/security/p5-Authen-NTLM \
p5-WWW-RobotRules>=6:${PORTSDIR}/www/p5-WWW-RobotRules
RUN_DEPENDS:= ${BUILD_DEPENDS}
-OPTIONS= SSL "Enable https support" off
+OPTIONS_DEFINE= HTTPS
CONFIGURE_ARGS= --aliases
PERL_CONFIGURE= yes
@@ -56,7 +52,7 @@ MAN3= LWP.3 \
.include <bsd.port.options.mk>
-.if defined(WITH_SSL)
+.if ${PORT_OPTIONS:MHTTPS}
BUILD_DEPENDS+= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https
RUN_DEPENDS+= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \