[77693] trunk/dports/devel/lua-coxpcall/Portfile

and.damore at macports.org and.damore at macports.org
Sat Apr 9 12:53:10 PDT 2011


Revision: 77693
          http://trac.macports.org/changeset/77693
Author:   and.damore at macports.org
Date:     2011-04-09 12:53:09 -0700 (Sat, 09 Apr 2011)
Log Message:
-----------
lua-coxpcall port, added docs

Modified Paths:
--------------
    trunk/dports/devel/lua-coxpcall/Portfile

Modified: trunk/dports/devel/lua-coxpcall/Portfile
===================================================================
--- trunk/dports/devel/lua-coxpcall/Portfile	2011-04-09 19:41:02 UTC (rev 77692)
+++ trunk/dports/devel/lua-coxpcall/Portfile	2011-04-09 19:53:09 UTC (rev 77693)
@@ -22,4 +22,11 @@
    reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
 }
 configure.pre_args	lua
-build               {}
\ No newline at end of file
+build               {}
+
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    
+    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110409/dbf78aa0/attachment.html>


More information about the macports-changes mailing list