Date: Thu, 1 Apr 2004 11:28:39 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-ports@freebsd.org Subject: Re: DISTFILES problem Message-ID: <20040401102839.GB81757@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040401100539.GA66014@xor.obsecurity.org> References: <20040331211920.GB59081@happy-idiot-talk.infracaninophile.co.uk> <20040331233833.GA57987@xor.obsecurity.org> <20040401095316.GA81757@happy-idiot-talk.infracaninophile.co.uk> <20040401100539.GA66014@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 01, 2004 at 02:05:39AM -0800, Kris Kennaway wrote: > On Thu, Apr 01, 2004 at 10:53:16AM +0100, Matthew Seaman wrote: > > On Wed, Mar 31, 2004 at 03:38:33PM -0800, Kris Kennaway wrote: > > > On Wed, Mar 31, 2004 at 10:19:20PM +0100, Matthew Seaman wrote: > > >=20 > > > > What is the recommended method for pulling down a distfile from a U= RL > > > > which doesn't actually mention the filename? > > >=20 > > > fetch -o? > >=20 > > I was hoping you weren't going to say that... I think I'd have to > > write myself a customised do-fetch: target to make that work. >=20 > You should be able to just append to FETCH_(BEFORE|AFTER)_ARGS. Except that ${DISTNAME}${EXTRACT_SUFX} will be added to the end of any URL I list under MASTER_SITES. It doesn't help setting 'DISTFILES=3D ""' either -- that just gets a usage message from basename(1). Currently I have: PORTNAME=3D gentium PORTVERSION=3D 1.0.1 CATEGORIES=3D x11-fonts MASTER_SITES=3D http://scripts.sil.org/cms/scripts/render_download.ph= p?site_id=3Dnrsi&format=3Dfile&media_id=3DGentium_101_LT&_sc=3D1&dummy=3D/ DISTNAME=3D fonts-ttf-${PORTNAME}-${PORTVERSION} which does the job. That trailing '/' seems to be quite important... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAa+7XdtESqEQa7a0RAgjiAJ4+JMORdXIfaJknmNv9mcUrGltB/ACeLMll HY4x9vK0Dx1SQUZ/+b7D4Ew= =eSV+ -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040401102839.GB81757>