[89861] trunk/dports/devel/lua-md5/Portfile

and.damore at macports.org and.damore at macports.org
Mon Feb 13 06:23:21 PST 2012


Revision: 89861
          http://trac.macports.org/changeset/89861
Author:   and.damore at macports.org
Date:     2012-02-13 06:23:21 -0800 (Mon, 13 Feb 2012)
Log Message:
-----------
port lua-md5: tyding up post-destroot doc and examples install

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

Modified: trunk/dports/devel/lua-md5/Portfile
===================================================================
--- trunk/dports/devel/lua-md5/Portfile	2012-02-13 14:17:06 UTC (rev 89860)
+++ trunk/dports/devel/lua-md5/Portfile	2012-02-13 14:23:21 UTC (rev 89861)
@@ -40,11 +40,16 @@
 
 post-destroot {
     xinstall -d ${destroot}${prefix}/share/doc/${name}
-    eval file copy [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
+    eval xinstall -m 644    ${worksrcpath}/README \
+                            [glob ${worksrcpath}/doc/us/*]
+        ${destroot}${prefix}/share/doc/${name}
 
     xinstall -d ${destroot}${prefix}/share/examples/${name}
-    eval xinstall -m 755 ${worksrcpath}/tests/DES56/fdemo   ${destroot}${prefix}/share/examples/${name}
-    eval xinstall -m 644 ${worksrcpath}/tests/DES56/fdemo.c ${destroot}${prefix}/share/examples/${name}
-    eval xinstall -m 644 ${worksrcpath}/tests/test.lua      ${destroot}${prefix}/share/examples/${name}
+    eval xinstall -m 755    ${worksrcpath}/tests/DES56/fdemo \
+        ${destroot}${prefix}/share/examples/${name}
+
+    eval xinstall -m 644 ${worksrcpath}/tests/DES56/fdemo.c 
+                         ${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/bc21c44a/attachment-0001.html>


More information about the macports-changes mailing list