making portfile for midnight commander 4.7.0-pre2

Ryan Schmidt ryandesign at macports.org
Tue Sep 8 13:42:11 PDT 2009


On Sep 8, 2009, at 15:40, Jeremy Lavergne wrote:

> On Sep 8, 2009, at 4:27 PM, Yen, Wenchieh wrote:
>
>> I need some help by file fetching.
>>
>> The tar ball can be downloaded directly in browser or using wget  
>> from the link
>>
>> http://www.midnight-commander.org/downloads/12
>>
>> By assigning the keyword master_site to the link, port fails to  
>> fetch as it can't find the file. Any workarounds?
>
> Moo.
> Since when is "12" a useful filename?


It isn't, but apparently that is how Trac defines download links.

The solution is:


master_sites http://www.midnight-commander.org/downloads/12?dummy=


We have a port for midnight commander already; it is called "mc". It  
is a little out of date; it should be updated to 4.6.2. (4.7.0-pre2 is  
a pre-release version and we don't generally update ports to pre- 
release versions.) I will file a ticket for the update to 4.6.2 which  
will also incorporate this change in master_sites.




More information about the macports-dev mailing list