aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 14:09:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 14:09:59 +0000
commitfd959c7d6e612fba1dbc6276e192e436099ff1ba (patch)
treecc092a53e40e2ad0d9376058782881edf45ab7de /news
parent9a79d8476ed5a36fc119c248fe3554ef585d5773 (diff)
downloadports-fd959c7d6e612fba1dbc6276e192e436099ff1ba.tar.gz
ports-fd959c7d6e612fba1dbc6276e192e436099ff1ba.zip
Finish converting perl@ ports to new Options Framework
Notes
Notes: svn path=/head/; revision=305301
Diffstat (limited to 'news')
-rw-r--r--news/p5-News-Article/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/news/p5-News-Article/Makefile b/news/p5-News-Article/Makefile
index 5cf5a7c4ae0c..3dced38218cf 100644
--- a/news/p5-News-Article/Makefile
+++ b/news/p5-News-Article/Makefile
@@ -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>