freebsd-ports/Mk
Edwin Groothuis 3458dfa8a7 Implement Adam Weinbergers idea of an overridable bsd.sites.mk:
His idea was:

    What do you guys think of changing the +='s in bsd.sites.mk to
    ?='s? The deal is this: say I have a specific AfterStep dist
    site that I want to use, and I don't want the default listed
    sites to be attempted at all.

    As it stands now, there are two current solutions that I see:
    * edit bsd.sites.mk after every cvsup
    * put like 100 entries for that site in MASTER_SITE_AFTERSTEP
      in /etc/make.conf and turn on RANDOMIZE_MASTER_SITES

His solution was:

    Change the bsd.sites.mk to MASTER_SITE_AFTERSTEP?=, and then I
    can define MASTER_SITE_AFTERSTEP to be whatever I want it to
    be.

The final solution is:

    Add an .if !defined(IGNORE_MASTER_SITE_xxx) / .endif around all
    MASTER_SITE definitions:

    +.if !defined(IGNORE_MASTER_SITE_XORG)
     MASTER_SITE_XORG+= \
	     ftp://ftp.x.org/pub/%SUBDIR%/ \
	     ftp://ftp.gwdg.de/pub/x11/x.org/pub/%SUBDIR%/ \
     [...]
    +.endif

This way, if you want to ignore the default MASTER_SITE_xxx and use
a certain mastersite for this collection, you set this in your
/etc/make.conf:

    IGNORE_MASTER_SITE_xxx=yes
    MASTER_SITE_xxx=http://z.x.y/

While if you prefer a certain mastersite for this collection, you
set this in your /etc/make.conf:

    MASTER_SITE_xxx=http://z.x.y/
2005-03-13 22:34:11 +00:00
..
bsd.autotools.mk Remove trailing spaces. 2005-01-09 10:12:07 +00:00
bsd.emacs.mk - conform to the last xemacs-devel-mule updates 2005-02-26 06:21:34 +00:00
bsd.gcc.mk * Change bento to pointyhat names in comments. [1] 2005-02-07 11:17:50 +00:00
bsd.gnome.mk Update with all the new GNOME 2.10 components. 2005-03-12 10:40:28 +00:00
bsd.gnustep.mk Remove trailing spaces. 2005-01-09 10:12:07 +00:00
bsd.gstreamer.mk - Add graphics/gstreamer-plugins-cairo 2005-03-08 07:17:24 +00:00
bsd.java.mk Add JAVA_VERSION, JAVA_OS and JAVA_VENDOR to SUB_LIST. 2005-02-27 23:49:33 +00:00
bsd.kde4.mk Remove trailing spaces. 2005-01-09 10:12:07 +00:00
bsd.kde.mk Remove trailing spaces. 2005-01-09 10:12:07 +00:00
bsd.openssl.mk - reflect fips import in the base 2004-11-23 06:16:27 +00:00
bsd.php.mk - Teach USE_PHP about new pecl extension radius 2005-03-11 16:53:44 +00:00
bsd.port.mk * Add info files to TMPPLIST, only if INFO is specified. [1] 2005-02-28 21:09:05 +00:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk * Add info files to TMPPLIST, only if INFO is specified. [1] 2005-02-28 21:09:05 +00:00
bsd.python.mk Resurrect lang/python-devel port with Python 2.5 development snapshot 2005-01-29 05:01:02 +00:00
bsd.ruby.mk The slippery pthread support for systems prior to 502102 has been 2005-02-05 04:59:26 +00:00
bsd.sdl.mk Remove trailing spaces. 2005-01-09 10:12:07 +00:00
bsd.sites.mk Implement Adam Weinbergers idea of an overridable bsd.sites.mk: 2005-03-13 22:34:11 +00:00