Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 1998 17:08:03 PST
From:      Bill Fenner <fenner@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 
Message-ID:  <199811090108.RAA02289@mango.parc.xerox.com>
In-Reply-To: Your message of "Sat, 07 Nov 1998 19:18:11 PST." <199811080318.TAA14446@bubble.didi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> * 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



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