Date: Thu, 6 Mar 2008 19:01:40 GMT From: Steven Kreuzer <skreuzer@exit2shell.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121435: Add MASTER_SITE_GOOGLE_CODE macro to bsd.site.mk Message-ID: <200803061901.m26J1eqR093865@www.freebsd.org> Resent-Message-ID: <200803061910.m26JA850015231@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121435 >Category: ports >Synopsis: Add MASTER_SITE_GOOGLE_CODE macro to bsd.site.mk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 06 19:10:08 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Steven Kreuzer >Release: 6.2-STABLE >Organization: >Environment: FreeBSD scruffy.exit2shell.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 13 17:11:11 EDT 2007 root@scruffy.exit2shell.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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} >How-To-Repeat: >Fix: Patch attached with submission follows: Index: bsd.sites.mk =================================================================== RCS file: /usr/share/cvs/freebsd/ports/Mk/bsd.sites.mk,v retrieving revision 1.438 diff -u -r1.438 bsd.sites.mk --- bsd.sites.mk 4 Mar 2008 22:20:54 -0000 1.438 +++ bsd.sites.mk 6 Mar 2008 19:01:10 -0000 @@ -595,6 +595,11 @@ 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%/ \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803061901.m26J1eqR093865>