Ticket #43605: Portfile-nginx.diff

File Portfile-nginx.diff, 1.8 KB (added by zadorozhko@…, 10 years ago)
  • Portfile

    old new  
    2525                    http://www.grid.net.ru/nginx/download/:upload_module \
    2626                    googlecode:mod-zip:zip_module \
    2727                    http://people.freebsd.org/~osa/:redis_module \
    28                     https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module
     28                    https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module \
     29                    https://github.com/arut/nginx-rtmp-module:rtmp_module
    2930
    3031distfiles           ${name}-${version}${extract.suffix}:nginx
    3132checksums           ${name}-${version}${extract.suffix} \
     
    3536depends_lib         port:pcre \
    3637                    port:zlib
    3738
    38 patchfiles          patch-auto__install.diff \
    39                     patch-conf__nginx.conf.diff
     39#patchfiles          patch-auto__install.diff \
     40#                    patch-conf__nginx.conf.diff
    4041
    4142set nginx_confdir   ${prefix}/etc/${name}
    4243set nginx_logdir    ${prefix}/var/log/${name}
     
    261262    configure.args-append   --add-module=${workpath}/${redis_distname}
    262263}
    263264
     265variant rtmp description {Enable Ngx RTMP module (https://github.com/arut/nginx-rtmp-module)} {
     266        set rtmp_filename               ngx_rtmp
     267        set rtmp_version                1.1.4
     268        set rtmp_distname               ${rtmp_filename}-${rtmp_version}
     269        distfiles-append                ${rtmp_distname}.tar.gz:rtmp_module
     270        checksums-append                ${rtmp_distname}.tar.gz \
     271                                        rmd160  fc8ec94e0ea0f859de93692bb8aced05b49199ea \
     272                                        sha256  e18c7089e9f75ea7dd020346852a7768d62f24aac7b0e706a96214a16d9ef41e
     273        configure.args-append   --add-module=${workpath}/${rtmp_distname}
     274}
     275
    264276livecheck.type      regexm
    265277livecheck.url       ${homepage}
    266278livecheck.regex     {nginx-(\d+\.\d+\.\d+)</a>\s+stable}