Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 23:49:58 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        ports@FreeBSD.ORG
Subject:   Re: fetch-list usage?
Message-ID:  <20020329025020.60126.qmail@exxodus.fedaykin.here>
In-Reply-To: <200203281715.g2SHFe796818@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Thu, Mar 28, 2002 at 07:15:18PM %2B0200
References:  <200203281715.g2SHFe796818@zibbi.icomtek.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 28, 2002 at 07:15:18PM +0200, John Hay wrote:
> Hi,
> 
> If one use the fetch-list target, how does one know where to put the
> distfiles? Most of them are easy because they just go into
> /usr/ports/distfiles/, but what about ports that use DIST_SUBDIR?

	You could try something like this for qmail port

cd `make -V DISTDIR -f /usr/ports/mail/qmail/Makefile`/`make -V DIST_SUBDIR -f /usr/ports/mail/qmail/Makefile` &&
	make -f /usr/ports/mail/qmail/Makefile fetch-list | sh

	Something like that. I just wrote it so I you should test
it to make sure it works. Of course, there are more elegant ways
to do this. My cents in a few minutes :)

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

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?20020329025020.60126.qmail>