Date: Tue, 13 Apr 2004 20:10:57 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Garance A Drosihn <drosih@rpi.edu> Cc: Martin <nakal@web.de> Subject: Re: Second "RFC" on pkg-data idea for ports Message-ID: <20040414031057.GA42629@xor.obsecurity.org> In-Reply-To: <p06020421bca222e97833@[128.113.24.47]> References: <p0602040cbca10a7dbe52@[128.113.24.47]> <20040413121925.GB29867@voodoo.oberon.net> <p0602041abca1e49dde40@[128.113.24.47]> <407C4035.8020609@ciam.ru> <p0602041fbca1ff481e60@[128.113.24.47]> <1081896823.772.58.camel@klotz.local> <p06020421bca222e97833@[128.113.24.47]>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Apr 13, 2004 at 07:22:26PM -0400, Garance A Drosihn wrote: > At 12:53 AM +0200 4/14/04, Martin wrote: > >Am Tue, den 13.04.2004 schrieb Garance A Drosihn um 23:40: > > > > > If someone has a better format, and a format which will be > > > as easy for a simple program to process, I will be willing > > > to try that format instead. I am not too hung up on this > > > specific format. > > > >I would personally like it to use XML. I'm developing a small > >application which is a kind of GUI for ports (works like a > >browser). It is very difficult to parse the Makefiles to find > >out which version number and which dependencies it has. Some > >versions (like KDE3) are just variables and I don't have an > >idea how to fetch them yet. > > If it is easy for you to execute commands, then something > like: > > /bin/make -f /usr/ports/shells/bash2/Makefile -V PORTVERSION > > might give you the result you want. But I do not know if > that will work for all ports. It should, modulo s,/bin,/usr/bin, :-). Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAfKvBWry0BWjoQKURAvUKAJ9VDBw9AHuMRDyYNirEEBcvZqwkdwCgtE+H Mss6nb7qI/X2d9S7BPV7V7g= =8Ys5 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414031057.GA42629>
