Second "RFC" on pkg-data idea for ports

Kris Kennaway kris at
Tue Apr 13 20:10:59 PDT 2004

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, :-).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list