Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 04:13:39 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        FUJISHIMA Satsuki <sf@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/glib12 Makefile ports/devel/glib13         Makefile ports/x11-toolkits/gtk12 Makefile         ports/x11-toolkits/gtk13 Makefile
Message-ID:  <86k85wktjw.wl@archon.local.idaemons.org>
In-Reply-To: <200103111706.f2BH6dD35343@freefall.freebsd.org>
References:  <200103111706.f2BH6dD35343@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 11 Mar 2001 09:06:39 -0800 (PST),
FUJISHIMA Satsuki wrote:
> sf          2001/03/11 09:06:39 PST
> 
>   Modified files:
>     devel/glib12         Makefile 
>     devel/glib13         Makefile 
>     x11-toolkits/gtk12   Makefile 
>     x11-toolkits/gtk13   Makefile 
>   Log:
>   add MASTER_SITE_RINGSERVER.

To use MASTER_SITE_SUBDIR effectively, why not let it be the longest
common path of all the MASTER_SITES?  I'd suggest a patch as attached.

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"

Index: devel/glib12/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/glib12/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- devel/glib12/Makefile	2001/03/11 17:06:37	1.34
+++ devel/glib12/Makefile	2001/03/11 19:03:19
@@ -8,11 +8,11 @@
 PORTNAME=	glib
 PORTVERSION=	1.2.9
 CATEGORIES=	devel
-MASTER_SITES=	ftp://ftp.gimp.org/pub/gtk/v1.2/ \
-		ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
-		http://www.ameth.org/gimp/gtk/v1.2/ \
-		${MASTER_SITE_RINGSERVER}
-MASTER_SITE_SUBDIR=	graphics/gimp/gtk/v1.2
+MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
+		ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
+		http://www.ameth.org/gimp/%SUBDIR%/ \
+		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,}
+MASTER_SITE_SUBDIR=	gtk/v1.2
 
 MAINTAINER=	vanilla@FreeBSD.org
 
Index: devel/glib13/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/glib13/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- devel/glib13/Makefile	2001/03/11 17:06:37	1.36
+++ devel/glib13/Makefile	2001/03/11 19:03:45
@@ -8,11 +8,11 @@
 PORTNAME=	glib
 PORTVERSION=	1.3.2
 CATEGORIES=	devel
-MASTER_SITES=	ftp://ftp.gimp.org/pub/gtk/v1.3/ \
-		ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \
-		http://www.ameth.org/gimp/gtk/v1.3/ \
-		${MASTER_SITE_RINGSERVER}
-MASTER_SITE_SUBDIR=	graphics/gimp/gtk/v1.3
+MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
+		ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
+		http://www.ameth.org/gimp/%SUBDIR%/ \
+		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,}
+MASTER_SITE_SUBDIR=	gtk/v1.3
 
 MAINTAINER=	vanilla@FreeBSD.org
 
Index: x11-toolkits/gtk12/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/gtk12/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- x11-toolkits/gtk12/Makefile	2001/03/11 17:06:38	1.69
+++ x11-toolkits/gtk12/Makefile	2001/03/11 19:00:55
@@ -9,11 +9,11 @@
 PORTVERSION=	1.2.9
 #PORTREVISION=	1
 CATEGORIES=	x11-toolkits
-MASTER_SITES=	ftp://ftp.gimp.org/pub/gtk/v1.2/ \
-		ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
-		http://www.ameth.org/gimp/gtk/v1.2/ \
-		${MASTER_SITE_RINGSERVER}
-MASTER_SITE_SUBDIR=	graphics/gimp/gtk/v1.2
+MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
+		ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
+		http://www.ameth.org/gimp/%SUBDIR%/ \
+		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,}
+MASTER_SITE_SUBDIR=	gtk/v1.2
 DISTNAME=	gtk+-${PORTVERSION}
 
 MAINTAINER=	vanilla@FreeBSD.org
Index: x11-toolkits/gtk13/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/gtk13/Makefile,v
retrieving revision 1.71
diff -u -r1.71 Makefile
--- x11-toolkits/gtk13/Makefile	2001/03/11 17:06:39	1.71
+++ x11-toolkits/gtk13/Makefile	2001/03/11 19:01:34
@@ -9,11 +9,11 @@
 PORTVERSION=	1.3.2
 PORTREVISION=	1
 CATEGORIES=	x11-toolkits
-MASTER_SITES=	ftp://ftp.gimp.org/pub/gtk/v1.3/ \
-		ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \
-		http://www.ameth.org/gimp/gtk/v1.3/ \
-		${MASTER_SITE_RINGSERVER}
-MASTER_SITE_SUBDIR=	graphics/gimp/gtk/v1.3
+MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
+		ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
+		http://www.ameth.org/gimp/%SUBDIR%/ \
+		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,}
+MASTER_SITE_SUBDIR=	gtk/v1.3
 DISTNAME=	gtk+-${PORTVERSION}
 
 MAINTAINER=	vanilla@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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