Ticket #15550: luarocks.diff
File luarocks.diff, 2.0 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
Portfile
19 19 rocks trees. 20 20 homepage http://www.luarocks.org/ 21 21 master_sites http://luaforge.net/frs/download.php/3359/ 22 depends_ lib port:lua \23 port:wget 22 depends_run port:lua 23 universal_variant no 24 24 25 configure.args -append --with-lua=${prefix}26 configure.args-append --scripts-dir=${prefix}/lib/luarocks/bin 25 configure.args --with-lua=${prefix} \ 26 --scripts-dir=${prefix}/lib/luarocks/bin 27 27 28 variant md5 description { Use md5 as checker } { 29 configure.args-delete --with-md5-checker=openssl 28 variant md5 conflicts openssl description { Use md5 as checker } { 30 29 configure.args-append --with-md5-checker=md5sum 31 depends_lib-delete port:openssl32 30 } 33 31 34 variant openssl description { Use openssl as checker } { 35 configure.args-delete --with-md5-checker=md5sum 32 variant openssl conflicts md5 description { Use openssl as checker (default) } { 36 33 configure.args-append --with-md5-checker=openssl 37 depends_ lib-append port:openssl34 depends_run-append port:openssl 38 35 } 39 36 40 variant wget description { Use wget as downloader } { 41 configure.args-delete --with-downloader=curl 37 if {![variant_isset md5]} { 38 default_variants +openssl 39 } 40 41 variant wget conflicts curl description { Use wget as downloader } { 42 42 configure.args-append --with-downloader=wget 43 depends_lib-delete port:curl 44 depends_lib-append port:wget 43 depends_run-append port:wget 45 44 } 46 45 47 variant curl description { Use curl as downloader } { 48 configure.args-delete --with-downloader=wget 46 variant curl conflicts wget description { Use curl as downloader (default) } { 49 47 configure.args-append --with-downloader=curl 50 depends_lib-delete port:wget 51 depends_lib-append port:curl 48 depends_run-append port:curl 52 49 } 53 50 51 if {![variant_isset wget]} { 52 default_variants +curl 53 } 54 54 55 checksums md5 e6edae6c667480d921f49ddda8cb63fc \ 55 56 sha1 494c96944a9f6ab8d515fe4d6c15f661fafbf242 \ 56 57 rmd160 6f0acf500998150042f22d55bed4c1f2eb23e9b0