[101968] trunk/dports/python/py-gtkmvc/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jan 23 03:52:32 PST 2013


On Jan 23, 2013, at 05:27, g5pw at macports.org wrote:

> Revision: 101968
>          https://trac.macports.org/changeset/101968
> Author:   g5pw at macports.org
> Date:     2013-01-23 03:27:20 -0800 (Wed, 23 Jan 2013)
> Log Message:
> -----------
> python/py-gtkmvc:
>  Unify portfile
>  Update to 1.99.1
> 
> Modified Paths:
> --------------
>    trunk/dports/python/py-gtkmvc/Portfile


> +if {${name} != ${subport}} {
> +    depends_lib-append  port:py${python.version}-pygtk
> +
> +    post-destroot {
> +        file mkdir ${destroot}${prefix}/share/doc/${name}
> +        copy ${worksrcpath}/docs ${worksrcpath}/examples \
> +            ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
> +    }
> }

Must use ${subport} instead of ${name} else the subports will conflict with one another.




More information about the macports-dev mailing list