Help with elkhound port development

Ryan Schmidt ryandesign at macports.org
Fri Dec 12 11:58:01 PST 2014


On Dec 12, 2014, at 1:26 PM, Mark Brethen wrote:

> PortSystem          1.0
> PortGroup           github 1.0
> 
> github.setup        WeiDUorg elkhound 2014-08-03

> distname            ${version}
> master_sites        https://github.com/${github.author}/${name}/archive/

You're usually using the github portgroup incorrectly if you find yourself needing to override master_sites. Please read the comments in the github portgroup for the correct usage.

> configure {
>    system -W ${worksrcpath} "${configure.cmd}"
> }
> 
> build {
>    system -W ${worksrcpath} "${build.cmd}"
> }

Why are you overriding the default behavior of these phases?





More information about the macports-dev mailing list