[120309] trunk/dports/www/nginx/Portfile
cal at macports.org
cal at macports.org
Thu May 22 14:14:09 PDT 2014
Revision: 120309
https://trac.macports.org/changeset/120309
Author: cal at macports.org
Date: 2014-05-22 14:14:09 -0700 (Thu, 22 May 2014)
Log Message:
-----------
nginx: Add rtmp module variant, closes #43605
Modified Paths:
--------------
trunk/dports/www/nginx/Portfile
Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile 2014-05-22 19:22:53 UTC (rev 120308)
+++ trunk/dports/www/nginx/Portfile 2014-05-22 21:14:09 UTC (rev 120309)
@@ -26,7 +26,8 @@
googlecode:mod-zip:zip_module \
http://people.freebsd.org/~osa/:redis_module \
https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module \
- https://github.com/arut/nginx-dav-ext-module/archive/:davext_module
+ https://github.com/arut/nginx-dav-ext-module/archive/:davext_module \
+ https://github.com/arut/nginx-rtmp-module/archive/:rtmp_module
distfiles ${name}-${version}${extract.suffix}:nginx
checksums ${name}-${version}${extract.suffix} \
@@ -273,6 +274,17 @@
configure.args-append --add-module=${workpath}/${redis_distname}
}
+variant rtmp description {Enable Ngx RTMP module (https://github.com/arut/nginx-rtmp-module)} {
+ set rtmp_filename nginx-rtmp-module
+ set rtmp_version 1.1.4
+ set rtmp_distname ${rtmp_filename}-${rtmp_version}
+ distfiles-append v${rtmp_version}.tar.gz:rtmp_module
+ checksums-append v${rtmp_version}.tar.gz \
+ rmd160 c6338c64bab5c1c4aa10f908439fb1a5caa86ffc \
+ sha256 076efef9698076fa23622e093cfb3959e4d14fcd6e9dcdf0b8e6d9154c720dc9
+ configure.args-append --add-module=${workpath}/${rtmp_distname}
+}
+
livecheck.type regexm
livecheck.url ${homepage}
livecheck.regex {nginx-(\d+\.\d+\.\d+)</a>\s+stable}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140522/ed6a68c9/attachment.html>
More information about the macports-changes
mailing list