[89862] trunk/dports/devel/lua-rings/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Feb 13 08:10:08 PST 2012


On Feb 13, 2012, at 08:37, and.damore at macports.org wrote:

> Revision: 89862
>          http://trac.macports.org/changeset/89862
> Author:   and.damore at macports.org
> Date:     2012-02-13 06:37:00 -0800 (Mon, 13 Feb 2012)
> Log Message:
> -----------
> port lua-rings: adding doc and examples in post-destroot

Since this changed the files the port installs, the revision should be increased. You may think it's unlikely anybody has installed the port in the four hours since you first created it, but remember we have a buildbot now which automatically builds your port as soon as you commit it, and keeps the built packages and distributes them to users who later try to install the port.

http://packages.macports.org/lua-rings/


> Modified Paths:
> --------------
>    trunk/dports/devel/lua-rings/Portfile
> 
> Modified: trunk/dports/devel/lua-rings/Portfile
> ===================================================================
> --- trunk/dports/devel/lua-rings/Portfile	2012-02-13 14:23:21 UTC (rev 89861)
> +++ trunk/dports/devel/lua-rings/Portfile	2012-02-13 14:37:00 UTC (rev 89862)
> @@ -33,3 +33,16 @@
> build.env-append    CFLAGS="${configure.cflags}" \
>                     LDFLAGS="${configure.ldflags} -llua -lm" 
> 
> +post-destroot {
> +    xinstall -d ${destroot}${prefix}/share/doc/${name}
> +    eval file copy ${worksrcpath}/README \
> +                         [glob ${worksrcpath}/doc/us/*] \
> +        ${destroot}${prefix}/share/doc/${name}
> +
> +    xinstall -d ${destroot}${prefix}/share/examples/${name}
> +    xinstall -m 644 ${worksrcpath}/tests/sample.lua \
> +                    ${worksrcpath}/tests/sample_state.lua \
> +        ${destroot}${prefix}/share/examples/${name}
> +    xinstall -m 755 ${worksrcpath}/tests/test.lua \
> +        ${destroot}${prefix}/share/examples/${name}
> +}




More information about the macports-dev mailing list