Re: Second "RFC" on pkg-data idea for ports

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Tue, 13 Apr 2004 20:10:57 -0700
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

Received on Tue Apr 13 2004 - 18:10:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC