svn commit: r305118 - head/devel/meta-cvs
Pietro Cerutti
gahr at FreeBSD.org
Mon Oct 1 13:21:33 UTC 2012
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 at 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>
More information about the svn-ports-head
mailing list