From owner-freebsd-ports Thu Mar 28 18:52:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from heaven.gigo.com (gigo.com [207.173.11.186]) by hub.freebsd.org (Postfix) with ESMTP id A8AE437B417 for ; Thu, 28 Mar 2002 18:52:43 -0800 (PST) Received: from bsace7003-193-224-253.dsl.telebrasilia.net.br (bsace7003-193-224-253.dsl.telebrasilia.net.br [200.193.224.253]) by heaven.gigo.com (Postfix) with ESMTP id 7F6BDB725 for ; Thu, 28 Mar 2002 18:52:36 -0800 (PST) Received: (qmail 60127 invoked by uid 1001); 29 Mar 2002 02:50:20 -0000 Message-ID: <20020329025020.60126.qmail@exxodus.fedaykin.here> Date: Thu, 28 Mar 2002 23:49:58 -0300 From: Mario Sergio Fujikawa Ferreira To: John Hay Cc: ports@FreeBSD.ORG Subject: Re: fetch-list usage? References: <200203281715.g2SHFe796818@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 +0200 X-Operating-System: FreeBSD 4.5-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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