Revision
77354
Author
and.damore@macports.org
Date
2011-03-28 00:30:21 -0700 (Mon, 28 Mar 2011)

Log Message

port luarocks: created rocks directory and added it to keepdirs

Modified Paths

Diff

Modified: trunk/dports/devel/luarocks/Portfile (77353 => 77354)


--- trunk/dports/devel/luarocks/Portfile	2011-03-28 07:13:55 UTC (rev 77353)
+++ trunk/dports/devel/luarocks/Portfile	2011-03-28 07:30:21 UTC (rev 77354)
@@ -2,6 +2,7 @@
 PortSystem          1.0
 name                luarocks
 version             2.0.4.1
+revision            1
 categories          devel
 platforms           darwin
 maintainers         and.damore openmaintainer
@@ -52,3 +53,8 @@
 if {![variant_isset wget]} {
     default_variants +curl
 }
+
+destroot.keepdirs  ${destroot}${prefix}/share/luarocks/  
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/luarocks/
+}