From owner-cvs-ports@FreeBSD.ORG Tue May 29 09:54:27 2012 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C92171065670; Tue, 29 May 2012 09:54:27 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 99E788FC0C; Tue, 29 May 2012 09:54:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id q4T9sRif055486; Tue, 29 May 2012 09:54:27 GMT (envelope-from bapt@repoman.freebsd.org) Received: (from bapt@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id q4T9sRal055485; Tue, 29 May 2012 09:54:27 GMT (envelope-from bapt) Message-Id: <201205290954.q4T9sRal055485@repoman.freebsd.org> From: Baptiste Daroussin Date: Tue, 29 May 2012 09:54:27 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/Mk bsd.options.desc.mk bsd.options.mk bsd.pkgng.mk bsd.port.mk ports/print/ghostscript8 Makefile.drivers ports/print/ghostscript9 Makefile.drivers X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 09:54:27 -0000 bapt 2012-05-29 09:54:27 UTC FreeBSD ports repository Modified files: Mk bsd.pkgng.mk bsd.port.mk print/ghostscript8 Makefile.drivers print/ghostscript9 Makefile.drivers Added files: Mk bsd.options.desc.mk bsd.options.mk Log: New options framework for the ports for maintainers: it introduces 3 different types of options: simple, multi and single: - simple options are the same as the current options (i.e. on or off.) - multi options are options where at least one must be set (1-N). - single options are options where one and only one must be set (exclusive options). for users: - OPTIONS_SET: globally enable some options - OPTIONS_UNSET: globally disable some options - ${UNIQUENAME}_SET: enable per-port choice of options - ${UNIQUENAME}_UNSET: disable per-port choice of options For compatibility the old OPTIONS framework is now working on top of the new one The options previously set with old OPTIONS are imported and converted transparently. A new knob NO_DIALOG if defined in the the config-conditional target is ignored (prevent the dialog(1) ui to show up. Thanks to all people involved: beat@, crees@, Bryan Drewery, linimon@, novel@ and others, for testing, comments, patches Revision Changes Path 1.1 +5 -0 ports/Mk/bsd.options.desc.mk (new) 1.1 +148 -0 ports/Mk/bsd.options.mk (new) 1.5 +30 -22 ports/Mk/bsd.pkgng.mk 1.712 +211 -135 ports/Mk/bsd.port.mk 1.8 +6 -1 ports/print/ghostscript8/Makefile.drivers 1.3 +5 -1 ports/print/ghostscript9/Makefile.drivers