[89862] trunk/dports/devel/lua-rings/Portfile
and.damore at macports.org
and.damore at macports.org
Mon Feb 13 06:37:00 PST 2012
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
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}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120213/96fd7a01/attachment.html>
More information about the macports-changes
mailing list