21 | | master_sites http://sysoev.ru/nginx |
22 | | checksums md5 c09a2ace3c91f45dabbb608b11e48ed1 \ |
23 | | sha1 346166171477c3e78759bdbbc8461107d8475269 \ |
24 | | rmd160 06749c5bf834a3f7e82ad3122a5db457c193d117 |
| 21 | master_sites http://sysoev.ru/nginx/:source \ |
| 22 | http://www.grid.net.ru/nginx/download/:upload |
| 23 | |
| 24 | distfiles ${name}-${version}.tar.gz:source |
| 25 | |
| 26 | checksums ${name}-${version}.tar.gz md5 15cce6102a2efcf4d4acde9bb71ea6d3 \ |
| 27 | sha1 d5e81aa56a35cfebb638ab88b6a804acf0f779b7 |
| 148 | |
| 149 | variant upload description {Enable Valery Kholodkovs Upload Module} { |
| 150 | distfiles-append nginx_upload_module-${upload_version}.tar.gz:upload |
| 151 | checksums-append nginx_upload_module-${upload_version}.tar.gz md5 ${upload_md5} \ |
| 152 | sha1 ${upload_sha1} |
| 153 | |
| 154 | post-extract { |
| 155 | system "tar -zxf ${distpath}/nginx_upload_module-${upload_version}.tar.gz -C ${worksrcpath}/src/" |
| 156 | } |
| 157 | |
| 158 | configure.args-append --add-module=${worksrcpath}/src/nginx_upload_module-${upload_version} |
| 159 | } |
| 160 | |
| 161 | variant passenger description {Enable Phusion Passenger} { |
| 162 | depends_lib-append port:rb-rubygems |
| 163 | |
| 164 | post-extract { |
| 165 | system "/opt/local/bin/gem install passenger --version '${passenger_version}'" |
| 166 | } |
| 167 | |
| 168 | configure.args-append --add-module=${prefix}/lib/ruby/gems/1.8/gems/passenger-${passenger_version}/ext/nginx |
| 169 | } |