Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2012 14:09:59 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305301 - in head: databases/p5-DBI news/p5-News-Article
Message-ID:  <201210051409.q95E9x6R083407@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Oct  5 14:09:59 2012
New Revision: 305301
URL: http://svn.freebsd.org/changeset/ports/305301

Log:
  Finish converting perl@ ports to new Options Framework

Modified:
  head/databases/p5-DBI/Makefile
  head/news/p5-News-Article/Makefile

Modified: head/databases/p5-DBI/Makefile
==============================================================================
--- head/databases/p5-DBI/Makefile	Fri Oct  5 13:43:45 2012	(r305300)
+++ head/databases/p5-DBI/Makefile	Fri Oct  5 14:09:59 2012	(r305301)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	p5-DBI
-# Date created:				October 17th 1996
-# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
-#
+# Created by: James FitzGibbon <jfitz@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	DBI
 PORTVERSION=	1.622
@@ -17,7 +13,8 @@ COMMENT=	The perl5 Database Interface.  
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-OPTIONS=	PROXY "Build DBI::Proxy" off
+OPTIONS_DEFINE=	PROXY DOCS
+PROXY_DESC=	Build DBI::Proxy
 
 CONFLICTS=	p5-DBI-1.3*
 
@@ -76,12 +73,12 @@ MAN3=		Bundle::DBI.3 \
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PROXY)
+.if ${PORT_OPTIONS:MPROXY}
 BUILD_DEPENDS+=	p5-PlRPC>=0.2001:${PORTSDIR}/net/p5-PlRPC
 RUN_DEPENDS+=	p5-PlRPC>=0.2001:${PORTSDIR}/net/p5-PlRPC
 .endif
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	Changes README
 
 post-install:

Modified: head/news/p5-News-Article/Makefile
==============================================================================
--- head/news/p5-News-Article/Makefile	Fri Oct  5 13:43:45 2012	(r305300)
+++ head/news/p5-News-Article/Makefile	Fri Oct  5 14:09:59 2012	(r305301)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-News-Article
-# Date created: January 2, 1998
-# Whom: Don Croyle <croyle@gelemna.org>
-#
+# Created by: Don Croyle <croyle@gelemna.org>
 # $FreeBSD$
-#
 
 PORTNAME=	News-Article
 PORTVERSION=	1.27
@@ -23,13 +19,15 @@ PERL_CONFIGURE=	yes
 MAN3=		News::Article.3 News::AutoReply.3 News::FormArticle.3 \
 		News::FormReply.3
 
-OPTIONS=	PGP_SIGN "PGP::Sign support for header signing" on
+OPTIONS_DEFINE=	PGP_SIGN
+OPTIONS_DEFAULT=	PGP_SIGN
+PGP_SIGN_DESC=	PGP::Sign support for header signing
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_PGP_SIGN)
+.if ${PORT_OPTIONS:MPGP_SIGN}
 BUILD_DEPENDS+=	p5-PGP-Sign>=0:${PORTSDIR}/security/p5-PGP-Sign
 RUN_DEPENDS+=	p5-PGP-Sign>=0:${PORTSDIR}/security/p5-PGP-Sign
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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