macports localinstall github tries to download from macports

Ryan Schmidt ryandesign at macports.org
Wed Apr 29 11:11:51 UTC 2020



On Apr 28, 2020, at 06:58, macports at parvis.nl wrote:

> Ryan Schmidt said:
> 
>> You want:
>> 
>> github.setup        snabb downtimed 1.0 version-
>> github.tarball_from archive
> 
> but that results in https://github.com/snabb/downtimed/archive/version-1.0/downtimed-1.0.tar.gz (the version number in 2 places).

That's correct. It works. Use it.


> i tried some variants of distname and tried
> 
> github.setup        snabb downtimed 1.0
> distname            version-${version}
> master_sites        ${homepage}/archive
> 
> and that works. it this acceptable?

Don't do that. Use the values that the github portgroup sets for you.



More information about the macports-users mailing list