diff options
author | osa <osa@FreeBSD.org> | 2006-09-14 22:37:45 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2006-09-14 22:37:45 +0800 |
commit | ebf219767463ba777740843d90454ca800fd4b9e (patch) | |
tree | 4219dd321bc25ceef47b00eab9814ec6a8dad1da /www/nginx-devel | |
parent | 8692b5cfe903ee37bf9f6e90735566022168b7da (diff) | |
download | freebsd-ports-gnome-ebf219767463ba777740843d90454ca800fd4b9e.tar.gz freebsd-ports-gnome-ebf219767463ba777740843d90454ca800fd4b9e.tar.zst freebsd-ports-gnome-ebf219767463ba777740843d90454ca800fd4b9e.zip |
Update to latest release version: 0.4.1.
Add one more knob - WITH_PERL_MODULE. [1]
Submitted by: Yuri Karaban <ykar at list dot ru> [1]
Diffstat (limited to 'www/nginx-devel')
-rw-r--r-- | www/nginx-devel/Makefile | 28 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 6 |
2 files changed, 30 insertions, 4 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index b95f754da5a1..425fc3afd753 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nginx -PORTVERSION= 0.4.0 +PORTVERSION= 0.4.1 CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} @@ -21,6 +21,10 @@ NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 +.if defined(WITH_PERL_MODULE) +USE_PERL5= yes +.endif + USE_RC_SUBR= nginx.sh HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${PREFIX}/etc/nginx \ @@ -65,6 +69,10 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre .endif +.if defined(WITH_PERL_MODULE) +CONFIGURE_ARGS+=--with-http_perl_module +.endif + .if defined(WITHOUT_WWW) PLIST_SUB+= WWWDATA="@comment " .else @@ -103,4 +111,22 @@ do-install: ${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx .endif +.if defined(WITH_PERL_MODULE) + ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto/nginx + ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ + ${SITE_PERL}/${PERL_ARCH}/auto/nginx + ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs \ + ${SITE_PERL}/${PERL_ARCH}/auto/nginx + ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ + ${SITE_PERL}/${PERL_ARCH}/ +.endif + +post-install: +.if defined(WITH_PERL_MODULE) + ${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.so >> ${TMPPLIST} + ${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.bs >> ${TMPPLIST} + ${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/nginx.pm >> ${TMPPLIST} + ${ECHO_CMD} @dirrm ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx >> ${TMPPLIST} +.endif + .include <bsd.port.mk> diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index dfe78cade2ba..4493baa717c7 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (nginx-0.4.0.tar.gz) = 59db2b315f65cbe9f9452bc882d77999 -SHA256 (nginx-0.4.0.tar.gz) = 4bd30b1ae75f64553d03ce5f2657cb4f8685a272d02c1390e47a92c9d11d9b62 -SIZE (nginx-0.4.0.tar.gz) = 421031 +MD5 (nginx-0.4.1.tar.gz) = ddc338af7697094d42dcb712be99c953 +SHA256 (nginx-0.4.1.tar.gz) = c032e9743e882b18a0e496de3206e6697648ddbe251b89e3ebe586b0195606aa +SIZE (nginx-0.4.1.tar.gz) = 419532 |