Weird distfile URLs
Caspar Florian Ebeling
febeling at macports.org
Fri Aug 1 03:33:57 PDT 2008
it just strikes me that there was this undocumented "curl" command in
Pextlib. I'll check it later, but
it sounds exactly like what I need...
On Fri, Aug 1, 2008 at 9:36 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Aug 1, 2008, at 02:12, Caspar Florian Ebeling wrote:
>
>> Is is possible to download distfiles with weird
>> URLs like this:
>>
>> http://cvs.m17n.org/viewcvs/ruby/ruby-cvs.tar.gz?only_with_tag=ruby-cvs-0_2
>
> Yes, do this:
>
> distname ruby-cvs
> master_sites
> http://cvs.m17n.org/viewcvs/ruby/${distfiles}?only_with_tag=ruby-cvs-0_2&foo=
>
> MacPorts will still append "/${distfiles}" to the end of the URL, but by
> putting a garbage parameter "foo=" at the end of the master_sites URL, the
> site will hopefully ignore it. I had to do that recently when I added a port
> for VirtualPlanetBuilder:
>
> http://trac.macosforge.org/projects/macports/changeset/38705
>
>
>
--
Florian Ebeling
florian.ebeling at gmail.com
More information about the macports-dev
mailing list