Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 1999 19:40:35 -0700
From:      Bill Fenner <fenner@research.att.com>
To:        jdp@polstra.com
Cc:        ports@freebsd.org
Subject:   Re: Handling distfiles in multiple subdirs on master site: how?
Message-ID:  <199909050240.TAA23475@windsor.research.att.com>

next in thread | raw e-mail | index | archive | help

The canonical way to do this is kind of ugly:

MASTER_SITES=   http://m3.polymtl.ca/m3htbin/download/m3/pkg/pm3-1.1.13/ \
		http://m3.polymtl.ca/m3htbin/download/m3/pkg/pm3-1.1.13/libs \
		http://m3.polymtl.ca/m3htbin/download/m3/pkg/pm3-1.1.13/graphics/gr-libs
DISTFILES=	set.tgz m3config.tgz ui

especially since it causes a bunch of errors to occur before actually
fetching the right files.

I've been thinking for a while about modifying bsd.port.mk to allow something
like

MASTER_SITES_1=	http://m3.polymtl.ca/m3htbin/download/m3/pkg/pm3-1.1.13/
DISTFILES_1=	m3config.tgz
MASTER_SITES_2= http://m3.polymtl.ca/m3htbin/download/m3/pkg/pm3-1.1.13/libs
DISTFILES_2=	set.tgz

but it felt like it was getting really hokey really quickly.

(I was actually thinking about it in the context of fetching different
files from different sets of sites, e.g. like the current xli port does)

  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?199909050240.TAA23475>