Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2007 12:14:41 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Martin Tournoij" <carpetsmoker@xs4all.nl>
Cc:        green@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: A new version of Tools/scripts/plist
Message-ID:  <op.tyf7irfl9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20070910083108.GA44257@glitch.rwxrwxrwx.net>
References:  <20070910083108.GA44257@glitch.rwxrwxrwx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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


-- 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tyf7irfl9aq2h7>