diff options
author | edwin <edwin@FreeBSD.org> | 2008-03-07 05:32:03 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2008-03-07 05:32:03 +0800 |
commit | 83cb5afef6bf2703c1c3b9d1c5c0d8c0dd66e608 (patch) | |
tree | 10eb9a103bc5f059a072d717fe248d8ba8037225 /Mk | |
parent | d8e763ecd13cf05327b0ace6b2c6cd59501ea799 (diff) | |
download | freebsd-ports-gnome-83cb5afef6bf2703c1c3b9d1c5c0d8c0dd66e608.tar.gz freebsd-ports-gnome-83cb5afef6bf2703c1c3b9d1c5c0d8c0dd66e608.tar.zst freebsd-ports-gnome-83cb5afef6bf2703c1c3b9d1c5c0d8c0dd66e608.zip |
Add MASTER_SITE_GOOGLE_CODE macro to bsd.site.mk
The attached patch will add a macro to bsd.sites.mk so that
ports that are hosted on Google Code can simply have MASTER_SITE=
set to ${MASTER_SITE_GOOGLE_CODE}
PR: ports/121435
Submitted by: Steven Kreuzer <skreuzer@exit2shell.com>
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.sites.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 91867d3ea64f..cc1300198041 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -595,6 +595,11 @@ MASTER_SITE_GNU_ALPHA+= \ ftp://ftp.ps.pl/mirrors/alpha.gnu.org/pub/gnu/%SUBDIR%/ .endif +.if !defined(IGNORE_MASTER_SITE_GOOGLE_CODE) +MASTER_SITE_GOOGLE_CODE+= \ + http://${PORTNAME}.googlecode.com/files/ +.endif + .if !defined(IGNORE_MASTER_SITE_HORDE) MASTER_SITE_HORDE+= \ http://ftp.horde.org/pub/%SUBDIR%/ \ |