Writing portfiles: How to download a master.zip and not a master.zip.tar.gz

Lars Sonchocky-Helldorf lars.sonchocky-helldorf at hamburg.de
Sun Sep 6 14:33:17 PDT 2015


Hi,

I have the following entries in a local portfile:
-----
homepage            http://torch.ch/
master_sites        https://github.com/torch/torch7/archive/
distname            master.zip
-----

when running sudo port -v install torch I get attempts to fetch the source zip like this:

--->  Attempting to fetch master.zip.tar.gz from https://github.com/torch/torch7/archive/

which off course doesn't exist.


So how would I specify not to append .tar.gz?


regards,

	Lars


More information about the macports-users mailing list