Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 13:21:32 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305118 - head/devel/meta-cvs
Message-ID:  <201210011321.q91DLW8d053077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Oct  1 13:21:32 2012
New Revision: 305118
URL: http://svn.freebsd.org/changeset/ports/305118

Log:
  - Convert to OptionsNG
  
  Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG

Modified:
  head/devel/meta-cvs/Makefile   (contents, props changed)

Modified: head/devel/meta-cvs/Makefile
==============================================================================
--- head/devel/meta-cvs/Makefile	Mon Oct  1 13:20:34 2012	(r305117)
+++ head/devel/meta-cvs/Makefile	Mon Oct  1 13:21:32 2012	(r305118)
@@ -13,7 +13,8 @@ MASTER_SITES=	http://common-lisp.net/pro
 MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	A more capable version control system than CVS, built around CVS
 
-OPTIONS=	PDFDOC	"Build PDF documentation" off
+OPTIONS_DEFINE=	PDFDOC
+PDFDOC_DESC=	Build PDF documentation
 
 BUILD_DEPENDS=	clisp:${PORTSDIR}/lang/clisp \
     		lndir:${PORTSDIR}/devel/lndir
@@ -33,9 +34,9 @@ PORTDOCS=	Meta-CVS-PAPER \
 		QUICK-GUIDE \
 		SCRIPTING
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_PDFDOC) && !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MPDFDOC} && !defined(NOPORTDOCS)
 BUILD_DEPENDS+=	pdflatex:${PORTSDIR}/print/teTeX-base
 PORTDOCS+=	meta-cvs.pdf
 .endif
@@ -58,4 +59,4 @@ post-install:
 .endfor
 .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?201210011321.q91DLW8d053077>