From owner-freebsd-ports@FreeBSD.ORG Mon Sep 10 17:10:53 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C63916A418; Mon, 10 Sep 2007 17:10:53 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao103.cox.net (eastrmmtao103.cox.net [68.230.240.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5938413C428; Mon, 10 Sep 2007 17:10:52 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070910171050.HNWQ20760.eastrmmtao103.cox.net@eastrmimpo01.cox.net>; Mon, 10 Sep 2007 13:10:50 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id mhAq1X00i4iy4EG0000000; Mon, 10 Sep 2007 13:10:51 -0400 Date: Mon, 10 Sep 2007 12:14:41 -0500 To: "Martin Tournoij" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20070910083108.GA44257@glitch.rwxrwxrwx.net> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20070910083108.GA44257@glitch.rwxrwxrwx.net> User-Agent: Opera Mail/9.23 (Linux) Cc: green@freebsd.org, freebsd-ports@freebsd.org Subject: Re: A new version of Tools/scripts/plist 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, 10 Sep 2007 17:10:53 -0000 On Mon, 10 Sep 2007 03:31:08 -0500, Martin Tournoij wrote: > I've written a replacement for /ports/Tools/scripts/plist, the reason > this is a complete rewrite rather than an update is because I'm not > familair with ruby, and writing a new version in python was faster. > > Problems/additions in this rewrite: > - Automaticlly replace the default PLIST_SUB values. > > - Sensible sorting of the directory list, the current plist put > directory's in ths order: > share/someport/ > share/someport/adir/ > share/someport/adir/foobar > Which is the reverse of what it should be. > > - There are a number of directory's which are always created but > should not be added to the pkg-plist, I have no idea where these > directory's come from, see the comment on line 49 of my script. > > I wrote this script for personal purposes, but why not let other > people benefit, maybe it can be placed in Tools/scripts? Either > replacing the current plist or alongside it. > > Script is attached in this email, or you can view it online if you > like: > http://www.rwxrwxrwx.net/plist.py.txt I haven't use it, but I noticed that the mtree needs to be update to /usr/ports/Templates/BSD.local.dist and we don't use BSD.x11.dist any longer. I think it's safe for you to remove that workaround. I think you should go with 'make -V MTREE_FILE' instead of hardcore. You can check auto-plist[1] that I have written to get idea/copy and improvement in your one. [1] http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/portstools/auto-plist/ Cheers, Mezz > Regards, > Martin Tournoij -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org