diff --git a/Portfile b/Portfile
index f8217d1..2ffc9f2 100644
a
|
b
|
|
1 | 1 | # $Id: Portfile 77702 2011-04-09 20:49:18Z and.damore@macports.org $ |
2 | 2 | PortSystem 1.0 |
3 | 3 | name luarocks |
4 | | version 2.0.4.1 |
5 | | revision 2 |
| 4 | version 2.0.7 |
| 5 | revision 0 |
6 | 6 | categories devel |
7 | 7 | platforms darwin |
8 | 8 | maintainers and.damore openmaintainer |
… |
… |
master_sites http://luarocks.org/releases/ |
19 | 19 | depends_run port:lua |
20 | 20 | universal_variant no |
21 | 21 | |
22 | | checksums md5 2c7caccce3cdf236e6f9aca7bec9bdea \ |
23 | | sha1 18939a8c5931a3ec51d29c9dd71715bf19e30510 \ |
24 | | rmd160 0c6a8dd420103042c99c5ec7c6416b0af13d95ce |
| 22 | checksums md5 3a9f80418025e2c43ac369ee6837b659 \ |
| 23 | sha1 cf41730bf8ac014268e31b79924c22348df46772 \ |
| 24 | rmd160 d40b16031036f1376a242f3fe5125aaa8d1a275f |
25 | 25 | |
26 | 26 | configure.args --with-lua=${prefix} \ |
27 | 27 | --rocks-tree=${prefix}/share/${name} |
diff --git a/files/patch-src_luarocks_cfg.lua.diff b/files/patch-src_luarocks_cfg.lua.diff
index b09818a..ed45335 100644
a
|
b
|
|
1 | | --- src/luarocks/cfg.lua.orig 2011-04-09 16:17:02.000000000 +0200 |
2 | | +++ src/luarocks/cfg.lua 2011-04-09 16:17:41.000000000 +0200 |
3 | | @@ -129,8 +129,8 @@ |
| 1 | --- src/luarocks/cfg.lua.orig |
| 2 | +++ src/luarocks/cfg.lua |
| 3 | @@ -140,8 +140,8 @@ local defaults = { |
| 4 | use_extensions = false, |
| 5 | accept_unknown_fields = false, |
4 | 6 | |
5 | | local root = rocks_trees[#rocks_trees] |
6 | | local defaults = { |
7 | 7 | - lua_modules_path = "/share/lua/5.1/", |
8 | 8 | - lib_modules_path = "/lib/lua/5.1/", |
9 | 9 | + lua_modules_path = "/share/lua/5.1", |