[77688] trunk/dports/devel/lua-luasocket/Portfile

and.damore at macports.org and.damore at macports.org
Sat Apr 9 11:05:21 PDT 2011


Revision: 77688
          http://trac.macports.org/changeset/77688
Author:   and.damore at macports.org
Date:     2011-04-09 11:05:20 -0700 (Sat, 09 Apr 2011)
Log Message:
-----------
port lua-luasocket: added docs (LICENSE, README, NEWS) and examples (samples, test, etc)

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

Modified: trunk/dports/devel/lua-luasocket/Portfile
===================================================================
--- trunk/dports/devel/lua-luasocket/Portfile	2011-04-09 17:57:08 UTC (rev 77687)
+++ trunk/dports/devel/lua-luasocket/Portfile	2011-04-09 18:05:20 UTC (rev 77688)
@@ -4,6 +4,7 @@
 
 name                lua-luasocket
 version             2.0.2
+revision            1
 categories          devel
 platforms           darwin
 maintainers         gmail.com:emmett.shear
@@ -35,3 +36,13 @@
 post-patch {
     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/config
 }
+
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
+    
+    xinstall -m 644 ${worksrcpath}/LICENSE ${worksrcpath}/NEW /
+        ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+    file copy ${worksrcpath}/etc ${worksrcpath}/samples ${worksrcpath}/test /
+        ${destroot}${prefix}/share/examples/${name}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110409/ad9ebe4f/attachment-0001.html>


More information about the macports-changes mailing list