Ticket #44074: Portfile-ngx_lua.diff
File Portfile-ngx_lua.diff, 2.9 KB (added by clintmiller@…, 10 years ago) |
---|
-
(a) Portfile.orig vs. (b) Portfile-ngx_lua
a b 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 12 1109 2014-06-17 18:47:33Z cal@macports.org $2 # $Id: Portfile 120309 2014-05-22 21:14:09Z cal@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 … … 28 28 https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module \ 29 29 https://github.com/arut/nginx-dav-ext-module/archive/:davext_module \ 30 30 https://github.com/arut/nginx-rtmp-module/archive/:rtmp_module \ 31 https://github.com/slact/nginx_http_push_module/archive/:http_push_module 31 https://github.com/slact/nginx_http_push_module/archive/:http_push_module \ 32 https://github.com/simpl/ngx_devel_kit/archive/:devel_kit_module \ 33 https://github.com/openresty/lua-nginx-module/archive/:lua_module 32 34 33 35 distfiles ${name}-${version}${extract.suffix}:nginx 34 36 checksums ${name}-${version}${extract.suffix} \ … … 297 299 configure.args-append --add-module=${workpath}/${http_push_distname} 298 300 } 299 301 302 variant devel_kit description {Enable ngx_devel_kit module (https://github.com/simpl/ngx_devel_kit)} { 303 set devel_kit_filename ngx_devel_kit 304 set devel_kit_version 0.2.19 305 set devel_kit_distname ${devel_kit_filename}-${devel_kit_version} 306 distfiles-append v${devel_kit_version}.tar.gz:devel_kit_module 307 checksums-append v${devel_kit_version}.tar.gz \ 308 rmd160 64d3737bc4cc948c1363cce80d70e5260878811e \ 309 sha256 501f299abdb81b992a980bda182e5de5a4b2b3e275fbf72ee34dd7ae84c4b679 310 311 configure.args-append --add-module=${workpath}/${devel_kit_distname} 312 } 313 314 variant lua requires devel_kit description {Enable Lua module (https://github.com/openresty/lua-nginx-module)} { 315 depends_lib-append port:luajit 316 set ngx_lua_filename lua-nginx-module 317 set ngx_lua_version 0.9.8 318 set ngx_lua_distname ${ngx_lua_filename}-${ngx_lua_version} 319 distfiles-append v${ngx_lua_version}.tar.gz:lua_module 320 checksums-append v${ngx_lua_version}.tar.gz \ 321 rmd160 b2941977549bb345322e1ec00fca8916e56ea1e7 \ 322 sha256 b138ce7e2615f40e68c20dd248e26d88757a6206ca74f0fcdf10d6b06fe01514 323 324 configure.cflags -I${prefix}/include/luajit-2.0/ ${configure.cflags} 325 configure.env LUAJIT_INC=${prefix}/include/luajit-2.0/ 326 configure.env LUAJIT_LIB=${prefix}/lib 327 configure.args-append --add-module=${workpath}/${ngx_lua_distname} 328 } 329 300 330 livecheck.type regexm 301 331 livecheck.url ${homepage} 302 332 livecheck.regex {nginx-(\d+\.\d+\.\d+)</a>\s+stable}