From owner-freebsd-ports  Sun Nov  8 17:08:47 1998
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id RAA15989
          for freebsd-ports-outgoing; Sun, 8 Nov 1998 17:08:47 -0800 (PST)
          (envelope-from owner-freebsd-ports@FreeBSD.ORG)
Received: from alpha.xerox.com (omega.Xerox.COM [13.1.64.95])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA15978;
          Sun, 8 Nov 1998 17:08:44 -0800 (PST)
          (envelope-from fenner@parc.xerox.com)
Received: from mango.parc.xerox.com ([13.1.102.232]) by alpha.xerox.com with SMTP id <430621(4)>; Sun, 8 Nov 1998 17:08:22 PST
Received: from mango.parc.xerox.com (localhost.parc.xerox.com [127.0.0.1])
	by mango.parc.xerox.com (8.8.8/8.8.8) with ESMTP id RAA02289;
	Sun, 8 Nov 1998 17:08:03 -0800 (PST)
	(envelope-from fenner@mango.parc.xerox.com)
Message-Id: <199811090108.RAA02289@mango.parc.xerox.com>
To: asami@FreeBSD.ORG (Satoshi Asami)
cc: sjr@home.net, fenner@parc.xerox.com, ports@FreeBSD.ORG
Subject: Re: cvs commit: ports/misc/display Makefile 
In-reply-to: Your message of "Sat, 07 Nov 1998 19:18:11 PST."
             <199811080318.TAA14446@bubble.didi.com> 
Date: Sun, 8 Nov 1998 17:08:03 PST
From: Bill Fenner <fenner@parc.xerox.com>
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> * MASTER_SITE_COMP_SOURCES_MISC+=
> * 	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.misc/%SUBDIR%/ \
> * 	ftp://ftp.uu.net/usenet/comp.sources.misc/%SUBDIR%/ \
> * 	ftp://rtfm.mit.edu/pub/usenet/comp.sources.misc/%SUBDIR%/

I have a suggestion that might be a little confusing, but consider
this instead:

MASTER_SITE_COMP_SOURCES+=	\
 	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ \
 	ftp://ftp.uu.net/usenet/comp.sources.%SUBDIR%/ \
 	ftp://rtfm.mit.edu/pub/usenet/comp.sources.%SUBDIR%/

Yes, I put the %SUBDIR% in the wrong place on purpose.  This way, you
can say

MASTER_SITE=	${MASTER_SITE_COMP_SOURCES}
MASTER_SITE_SUBDIR=	unix/foo/bar

and

MASTER_SITE=	${MASTER_SITE_COMP_SOURCES}
MASTER_SITE_SUBDIR=	x/bar/baz

instead of having to have a ${MASTER_SITE_COMP_SOURCES_{foo}} for all
foo when they're all the same set of sites.

  Bill

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