[CHANGE PROPOSAL] Moving WWW from pkg-descr to Makefile

Baptiste Daroussin bapt at freebsd.org
Fri Oct 5 15:17:42 UTC 2012


On Fri, Oct 05, 2012 at 10:25:07AM -0400, Eitan Adler wrote:
> On 5 October 2012 10:05, Baptiste Daroussin <bapt at freebsd.org> wrote:
> > Hi,
> >
> > I want to propose and make the actual move of the WWW information from the
> > pkg-descr to the Makefile itself via a WWW variable.
> >
> > doing this will have multiple benefits:
> >  * consistency all metadata bug this one are in Makefile
> >  * speedup make describe avoiding using grep to get the informations (make
> >    describe itself does not need speed but make index heavily use it and this
> >    will definitly benefit from speed up)
> >  * Third party tool will be able to probe the information more easily.
> >
> > Do anyone have any concern about this?
> 
> I've brought this up before in private, but I figure this is a good
> time to mention it.  I'd prefer to see a more generic way of supplying
> * arbitrary* meta-data about ports in the makefile. For example
> something like
> 
> META= WWW=https://example.com \
> CHANGELOG=https://example.com/cl \
> DESKTOP=kde \
> REDPORTS=some-special-options \
> PORTSCOUT=some-other-tool
> etc.

While the idea sounds good, how do you retrive the informations out of a simple
make command, and possibilty with limiting the parsing as much as possible?

equivalent of make -VWWW (for example for make describe)

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20121005/9bba2547/attachment.pgp


More information about the freebsd-ports mailing list