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

Eitan Adler lists at eitanadler.com
Fri Oct 5 14:25:38 UTC 2012


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.

I don't see a reason to treat the website as something special.  That
said, I don't object to plan of moving the current WWW line to the
Makefile. I'm not sure why it was in pkg-descr in the first place.


-- 
Eitan Adler


More information about the freebsd-ports mailing list