From owner-freebsd-ports@FreeBSD.ORG Mon Jul 16 21:59:26 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72C6B16A403; Mon, 16 Jul 2007 21:59:26 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id EDE5613C4A7; Mon, 16 Jul 2007 21:59:25 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l6GLxOuN082671; Tue, 17 Jul 2007 01:59:24 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 17 Jul 2007 01:59:24 +0400 (MSD) From: Dmitry Morozovsky To: Pav Lucistnik In-Reply-To: <1184612752.82441.19.camel@ikaros.oook.cz> Message-ID: <20070717015620.S82541@woozle.rinet.ru> References: <20070715201435.Y39602@woozle.rinet.ru> <469B0894.9050408@FreeBSD.org> <20070716183849.S73148@woozle.rinet.ru> <1184612752.82441.19.camel@ikaros.oook.cz> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Tue, 17 Jul 2007 01:59:24 +0400 (MSD) Cc: ports@freebsd.org, Doug Barton Subject: Re: /var/db/ports/*/options auto-generation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 21:59:26 -0000 On Mon, 16 Jul 2007, Pav Lucistnik wrote: PL> > It's not exactly what I want as I need to repeat Tab-Enter pairs for each of PL> > OPTIONS contained port. What I want is generation options file for all the PL> > ports including defaults (possibly overrided in /etc/make.conf) WITH/WITHOUT PL> > lines... PL> PL> Ok, so what about make -V OPTIONS in the port directory, and some PL> creative awkery on the output? It's definitely possible, but it constructs single line of output which is rather hard to parse (though possible, surely). What about creating special target such as 'create-options-file' or 'update-options-file' acting depending of existance of /var/db/ports/*/options and then acting accordingly? Well, after a little bit of thought I suppose it should be presented to ports-mgr@ to decide... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------