Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 20:05:02 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306568 - head/dns/zonecheck
Message-ID:  <201210282005.q9SK52VD089167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Sun Oct 28 20:05:02 2012
New Revision: 306568
URL: http://svn.freebsd.org/changeset/ports/306568

Log:
  - Convert options to the new format
  
  PR:		ports/172556
  Submitted by:	pgj
  Approved by:	maintainer
  Feature safe:	yes

Modified:
  head/dns/zonecheck/Makefile

Modified: head/dns/zonecheck/Makefile
==============================================================================
--- head/dns/zonecheck/Makefile	Sun Oct 28 20:03:23 2012	(r306567)
+++ head/dns/zonecheck/Makefile	Sun Oct 28 20:05:02 2012	(r306568)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	zonecheck
-# Date created:		10 July 2003
-# Whom:	      		Janos.Mohacsi@bsd.hu
-#
+# Created by: Janos.Mohacsi@bsd.hu
 # $FreeBSD$
-#
 
 PORTNAME=	zonecheck
 PORTVERSION=	3.0.5
@@ -30,13 +26,16 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 MAN1=		zonecheck.1
 DOCS=		BUGS INSTALL README TODO
 
-OPTIONS=	ZONECHECK_CGI	"Install with CGI support" off
+OPTIONS_DEFINE=		CGI
+OPTIONS_DEFAULT=	
 
-.include <bsd.port.pre.mk>
+CGI_DESC=	Install with CGI support
+
+.include <bsd.port.options.mk>
 
 ZONECHECK_TARGET=	common cli
 
-.if defined(WITH_ZONECHECK_CGI)
+.if ${PORT_OPTIONS:MCGI}
 ZONECHECK_TARGET+=	cgi
 PLIST_SUB+=	ZONECHECK_CGI=""
 .else
@@ -49,10 +48,10 @@ do-install:
 		-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
 		-DWWWDIR="${PREFIX}/www/${PORTNAME}"
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 .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?201210282005.q9SK52VD089167>