From a5f5824e14a6bcb267d9ff83ccb6bb739903a9cc Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Thu, 23 Apr 2009 08:59:34 +0000 Subject: [PATCH] Make third-party fancyindex module fetchable through place tarball to MASTER_SITE_LOCAL. Fix build third-party passenger module by add bsd.port.options.mk and USE_RUBY. Do not bump PORTREVISION. Special thanks to: pav, stas --- www/nginx-devel/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index a6592693f1e5..ec51a03ef407 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -54,6 +54,13 @@ OPTIONS= DEBUG "Enable nginx debugging" off \ WANT_GNOME= yes MAKE_JOBS_SAFE= yes +.include + +.if defined(WITH_PASSENGER_MODULE) +USE_RUBY= yes +USE_RAKE= yes +.endif + .include NGINX_VARDIR?= /var @@ -122,6 +129,8 @@ CONFIGURE_ARGS+=--with-http_dav_module .if defined(WITH_HTTP_FANCYINDEX_MODULE) NGINX_FANCYINDEX_MODULE_VERSION= 0.1b5 MASTER_SITES+= http://furi-ku.org/nginx/fancyindex/:fancyindex +MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:fancyindex/} +MASTER_SITE_SUBDIR+= osa/:fancyindex DISTFILES+= nginx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION:S/b/_beta/}.tar.bz2:fancyindex CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION:S/b/_beta/} .endif @@ -232,7 +241,6 @@ CONFIGURE_ARGS+=--with-pcre .endif .if defined(WITH_PASSENGER_MODULE) -USE_RAKE= yes PASSENGER_VERSION= 2.2.1 MASTER_SITES+= RF/passenger/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger