Date: Thu, 13 Sep 2007 22:15:38 +0200 From: Martin Tournoij <carpetsmoker@xs4all.nl> To: freebsd-ports@freebsd.org Cc: green@freebsd.org, mezz7@cox.net Subject: Re: A new version of Tools/scripts/plist Message-ID: <20070913201538.GA60146@glitch.rwxrwxrwx.net> In-Reply-To: <op.tyf7irfl9aq2h7@mezz.mezzweb.com> References: <20070910083108.GA44257@glitch.rwxrwxrwx.net> <op.tyf7irfl9aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 10 Sep 2007 12:09, Jeremy Messenger wrote: > On Mon, 10 Sep 2007 03:31:08 -0500, Martin Tournoij <carpetsmoker@xs4all.nl> 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 Hello Mezz, Thanks for the tip on mtree file, somehow my grepping of /ports/Mk/* didn't find it. Your auto-plist script seems to be more or less the same as my script, I wasn't aware of it's existence ... Ah well, you can never have to many scripts I suppose... Regards, Martin Tournoij
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070913201538.GA60146>