Ticket #23446: Portfile.nginx.diff
File Portfile.nginx.diff, 2.8 KB (added by yeled@…, 15 years ago) |
---|
-
Portfile
4 4 5 5 name nginx 6 6 version 0.7.64 7 revision 1 7 8 categories www mail 8 9 platforms darwin 9 10 maintainers boeyms openmaintainer … … 19 20 consumption. 20 21 homepage http://nginx.net/ 21 22 master_sites http://sysoev.ru/nginx:nginx \ 22 http://www.grid.net.ru/nginx/download/:upload_module 23 http://www.grid.net.ru/nginx/download/:upload_module \ 24 http://wiki.nginx.org/images/1/10/:secure_download_module \ 25 http://wiki.nginx.org/images/b/bb/:zip_module \ 26 http://people.freebsd.org/~osa/:redis_module 23 27 distfiles ${name}-${version}${extract.suffix}:nginx 24 28 checksums ${name}-${version}${extract.suffix} \ 25 29 md5 cfa97c0f784532820110b5eee57fef6d\ … … 48 52 --http-proxy-temp-path=${nginx_rundir}/proxy_temp \ 49 53 --http-fastcgi-temp-path=${nginx_rundir}/fastcgi_temp 50 54 51 configure.universal_args-delete --disable-dependency-tracking52 53 55 build.target build 54 56 destroot.keepdirs ${destroot}${nginx_logdir} \ 55 57 ${destroot}${nginx_rundir} … … 154 156 rmd160 60b4107d8d4891944c78506b9b659a916b7e528f 155 157 configure.args-append --add-module=${workpath}/${upload_distname} 156 158 } 159 160 variant secure_download description {Enable Ngx http secure download \ 161 (http://wiki.nginx.org/NginxHttpSecureDownload)} { 162 163 set secure_download_distname Ngx_http_secure_download 164 distfiles-append ${secure_download_distname}.tar.gz:secure_download_module 165 checksums-append ${secure_download_distname}.tar.gz \ 166 md5 ae35f1355fd9f1aa6d54ea15eb413163 167 configure.args-append --add-module=${workpath}/${secure_download_distname} 168 depends_lib-append port:mhash 169 } 170 171 variant zip description {Enable Ngx zip download module \ 172 (http://wiki.nginx.org/NginxNgxZip)} { 173 174 set zip_distname Mod_zip-1.1.4 175 distfiles-append ${zip_distname}.tar.gz:zip_module 176 checksums-append ${zip_distname}.tar.gz \ 177 md5 be934138446793ca783ebfcc1a74883d 178 configure.args-append --add-module=${workpath}/${zip_distname} 179 } 180 181 variant redis description {Enable Ngx HTTP Redis module} { 182 set redis_filename ngx_http_redis 183 set redis_version 0.3.1 184 set redis_distname ${redis_filename}-${redis_version} 185 distfiles-append ${redis_distname}.tar.gz:redis_module 186 checksums-append ${redis_distname}.tar.gz \ 187 md5 c731d6ac14b4c8a99fda2c7e89356a8f 188 configure.args-append --add-module=${workpath}/${redis_distname} 189 }