Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 20:06:21 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305399 - head/www/p5-libwww
Message-ID:  <201210062006.q96K6Lew031707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Oct  6 20:06:20 2012
New Revision: 305399
URL: http://svn.freebsd.org/changeset/ports/305399

Log:
  - Convert to new options framework
  - Cleanup Makefile header
  - Rename option: SSL -> HTTPS

Modified:
  head/www/p5-libwww/Makefile   (contents, props changed)

Modified: head/www/p5-libwww/Makefile
==============================================================================
--- head/www/p5-libwww/Makefile	Sat Oct  6 20:00:29 2012	(r305398)
+++ head/www/p5-libwww/Makefile	Sat Oct  6 20:06:20 2012	(r305399)
@@ -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:${PO
 		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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210062006.q96K6Lew031707>