RFC: bsd.sites.mk - introduce some magic

Andrew Pantyukhin infofarmer at gmail.com
Wed Jul 26 15:35:57 UTC 2006


On 7/26/06, Shaun Amott <shaun at freebsd.org> wrote:
> On Wed, Jul 26, 2006 at 03:37:37PM +0100, Florent Thoumie wrote:
> > On Wed, 2006-07-26 at 17:18 +0400, Andrew Pantyukhin wrote:
> > > 2. Abbreviations
> > > Write MASTER_SITES=SF and mean SOURCEFORGE
> >
> > I don't quite like having 3 different ways to use a group of
> > MASTER_SITES.
>
> Agreed - the above changes are gratuitous, and simply add an unnecessary
> layer of obfustication. It also seems strange to pick out one or two
> MASTER_SITES sets only.

My rationale is simple: there are ~2594 ports fetching from sf
and ~2338 ports fetching from cpan. Every single porter knows
about these sites. Personally, I would appreciate it if I only had
to type SF or CPAN instead of their full-length equivalents. I
understand your point about obfuscation, but there are sf.net
and cpan.org, I'm *not* proposing something mzd->mozdev,
xg->xorg, but only the most obvious things. As far as I'm
concerned, we're only keeping SOURCEFORGE and
PERL_CPAN for backward compatibility.

> > > 3. Default subdirs
> > > With MASTER_SITES set to SF or SOURCEFORGE you
> > > get MASTER_SITE_SUBDIR?=${PORTNAME:L} for free!
> >
> > This is a really good thing.
>
> I agree.

Thanks, I'm really tired of typing it.


More information about the freebsd-ports mailing list