Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 11:32:06 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307836 - head/Mk
Message-ID:  <201211271132.qARBW6VU054528@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Nov 27 11:32:06 2012
New Revision: 307836
URL: http://svnweb.freebsd.org/changeset/ports/307836

Log:
  - Add support for cloud.github.com when using USE_GITHUB
  
  Feature safe:	yes
  Approved by:	bapt (portmgr@)

Modified:
  head/Mk/bsd.sites.mk

Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk	Tue Nov 27 11:12:36 2012	(r307835)
+++ head/Mk/bsd.sites.mk	Tue Nov 27 11:32:06 2012	(r307836)
@@ -517,9 +517,10 @@ MASTER_SITE_GENTOO+= \
 #                 default: not set, mandatory
 #            
 .if defined(USE_GITHUB)
-MASTER_SITE_GITHUB+= https://nodeload.github.com/%SUBDIR%
-.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH}
-MASTER_SITES+=	GH
+MASTER_SITE_GITHUB+=		https://nodeload.github.com/%SUBDIR%
+MASTER_SITE_GITHUB_CLOUD+=	http://cloud.github.com/downloads/%SUBDIR%
+.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC}
+MASTER_SITES+=	GH GHC
 .endif
 GH_PROJECT?=	${PORTNAME}
 GH_TAGNAME?=	${DISTVERSION}
@@ -1427,6 +1428,7 @@ MASTER_SITE_KERNEL_ORG+= \
 
 MASTER_SITES_ABBREVS=	CPAN:PERL_CPAN \
 			GH:GITHUB \
+			GHC:GITHUB_CLOUD \
 			NL:NETLIB \
 			SF:SOURCEFORGE \
 			SFJP:SOURCEFORGE_JP \
@@ -1441,6 +1443,7 @@ MASTER_SITES_SUBDIRS=	\
 			DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
 			GCC:releases/${DISTNAME} \
 			GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \
+			GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
 			GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
 			GNU:${PORTNAME} \
 			HORDE:${PORTNAME} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211271132.qARBW6VU054528>