On Feb 13, 2012, at 08:37, [email protected] wrote: > Revision: 89862 > http://trac.macports.org/changeset/89862 > Author: [email protected] > 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} > +} _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
