From b53f73413ad989d1ecaabff9f0aa544e60e517ac Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Mon, 1 Oct 2012 13:21:32 +0000 Subject: [PATCH] - Convert to OptionsNG Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG --- devel/meta-cvs/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/devel/meta-cvs/Makefile b/devel/meta-cvs/Makefile index d32bfbb8dfad..ecb279325ecd 100644 --- a/devel/meta-cvs/Makefile +++ b/devel/meta-cvs/Makefile @@ -13,7 +13,8 @@ MASTER_SITES= http://common-lisp.net/project/meta-cvs/downloads/ 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 +.include -.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 +.include