From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 9 22:30:29 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F35D365 for ; Tue, 9 Oct 2012 22:30:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 5E6448FC33 for ; Tue, 9 Oct 2012 22:30:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q99MUTw1043780 for ; Tue, 9 Oct 2012 22:30:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q99MUTjx043779; Tue, 9 Oct 2012 22:30:29 GMT (envelope-from gnats) Resent-Date: Tue, 9 Oct 2012 22:30:29 GMT Resent-Message-Id: <201210092230.q99MUTjx043779@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gabor Pali Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37B5633A for ; Tue, 9 Oct 2012 18:33:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 217EF8FC0A for ; Tue, 9 Oct 2012 18:33:17 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q99IXG0C039843 for ; Tue, 9 Oct 2012 18:33:16 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q99IXGYN039842; Tue, 9 Oct 2012 18:33:16 GMT (envelope-from nobody) Message-Id: <201210091833.q99IXGYN039842@red.freebsd.org> Date: Tue, 9 Oct 2012 18:33:16 GMT From: Gabor Pali To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/172556: [dns/zonecheck] OptionsNG Conversion X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 22:30:29 -0000 >Number: 172556 >Category: ports >Synopsis: [dns/zonecheck] OptionsNG Conversion >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Oct 09 22:30:29 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Gabor Pali >Release: n/a >Organization: The FreeBSD Project >Environment: n/a >Description: - Convert options to OptionsNG format >How-To-Repeat: >Fix: See the attached patch. Patch attached with submission follows: diff --git a/dns/zonecheck/Makefile b/dns/zonecheck/Makefile index c8228ed..cb35335 100644 --- a/dns/zonecheck/Makefile +++ b/dns/zonecheck/Makefile @@ -30,13 +30,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 +CGI_DESC= Install with CGI support + +.include ZONECHECK_TARGET= common cli -.if defined(WITH_ZONECHECK_CGI) +.if ${PORT_OPTIONS:MCGI} ZONECHECK_TARGET+= cgi PLIST_SUB+= ZONECHECK_CGI="" .else @@ -49,10 +52,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 +.include >Release-Note: >Audit-Trail: >Unformatted: