RFC: bsd.sites.mk - introduce some magic

Florent Thoumie flz at xbsd.org
Wed Jul 26 14:37:55 UTC 2006


On Wed, 2006-07-26 at 17:18 +0400, Andrew Pantyukhin wrote:
> This patch introduces a very simple, but handy (imho) framework
> into bsd.sites.mk:
> 
> http://people.freebsd.org/~sat/diffs/bsd.sites.macros.diff
> 
> 1. (A tad) cleaner ports Makefiles:
> Write MASTER_SITES=FOOBAR instead of
> MASTER_SITES=${MASTER_SITE_FOOBAR} and get away
> with it
> 
> 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.

> 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.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060726/2c9a7c83/attachment.pgp


More information about the freebsd-ports mailing list