From 6988a7e6d323f75ea2909ae908e983ab6a25e67c Mon Sep 17 00:00:00 2001 From: osa Date: Fri, 30 Jun 2006 12:45:38 +0000 Subject: Install 4 additional files from distro. Bump PORTREVISION. --- www/nginx-devel/Makefile | 9 +++++++-- www/nginx-devel/pkg-plist | 4 ++++ www/nginx/Makefile | 9 +++++++-- www/nginx/pkg-plist | 4 ++++ 4 files changed, 22 insertions(+), 4 deletions(-) (limited to 'www') diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 5dc7671362d1..2ae4999d270d 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= nginx PORTVERSION= 0.3.51 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} @@ -85,7 +86,9 @@ do-install: ${MKDIR} ${PREFIX}/etc/nginx ${NGINX_TMPDIR} ${CHOWN} ${WWWOWN}:${WWWGRP} ${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin - ${INSTALL_DATA} ${WRKSRC}/conf/koi-win ${PREFIX}/etc/nginx +.for i in koi-win koi-utf win-utf fastcgi_params + ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx +.endfor .for i in mime.types nginx.conf [ -f ${PREFIX}/etc/nginx/${i} ] || \ ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx @@ -93,7 +96,9 @@ do-install: .endfor .if !defined(WITHOUT_WWW) ${MKDIR} ${PREFIX}/www/nginx-dist - ${INSTALL_DATA} ${WRKSRC}/html/index.html ${PREFIX}/www/nginx-dist +.for i in index.html 50x.html + ${INSTALL_DATA} ${WRKSRC}/html/${i} ${PREFIX}/www/nginx-dist +.endfor ${ECHO_CMD} "" >>${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING [ -e ${PREFIX}/www/nginx ] || \ ${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist index b83273443850..a2e58adedfb6 100644 --- a/www/nginx-devel/pkg-plist +++ b/www/nginx-devel/pkg-plist @@ -1,5 +1,8 @@ @comment $FreeBSD$ +etc/nginx/fastcgi_params +etc/nginx/koi-utf etc/nginx/koi-win +etc/nginx/win-utf @unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi etc/nginx/mime.types-dist @exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types @@ -12,6 +15,7 @@ etc/nginx/nginx.conf-dist %%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING %%WWWDATA%%@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx %%WWWDATA%%www/nginx-dist/index.html +%%WWWDATA%%www/nginx-dist/50x.html %%WWWDATA%%@exec chmod a-w www/nginx-dist %%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi %%WWWDATA%%@dirrm www/nginx-dist diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 5dc7671362d1..2ae4999d270d 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -7,6 +7,7 @@ PORTNAME= nginx PORTVERSION= 0.3.51 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} @@ -85,7 +86,9 @@ do-install: ${MKDIR} ${PREFIX}/etc/nginx ${NGINX_TMPDIR} ${CHOWN} ${WWWOWN}:${WWWGRP} ${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin - ${INSTALL_DATA} ${WRKSRC}/conf/koi-win ${PREFIX}/etc/nginx +.for i in koi-win koi-utf win-utf fastcgi_params + ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx +.endfor .for i in mime.types nginx.conf [ -f ${PREFIX}/etc/nginx/${i} ] || \ ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx @@ -93,7 +96,9 @@ do-install: .endfor .if !defined(WITHOUT_WWW) ${MKDIR} ${PREFIX}/www/nginx-dist - ${INSTALL_DATA} ${WRKSRC}/html/index.html ${PREFIX}/www/nginx-dist +.for i in index.html 50x.html + ${INSTALL_DATA} ${WRKSRC}/html/${i} ${PREFIX}/www/nginx-dist +.endfor ${ECHO_CMD} "" >>${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING [ -e ${PREFIX}/www/nginx ] || \ ${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist index b83273443850..a2e58adedfb6 100644 --- a/www/nginx/pkg-plist +++ b/www/nginx/pkg-plist @@ -1,5 +1,8 @@ @comment $FreeBSD$ +etc/nginx/fastcgi_params +etc/nginx/koi-utf etc/nginx/koi-win +etc/nginx/win-utf @unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi etc/nginx/mime.types-dist @exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types @@ -12,6 +15,7 @@ etc/nginx/nginx.conf-dist %%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING %%WWWDATA%%@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx %%WWWDATA%%www/nginx-dist/index.html +%%WWWDATA%%www/nginx-dist/50x.html %%WWWDATA%%@exec chmod a-w www/nginx-dist %%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi %%WWWDATA%%@dirrm www/nginx-dist -- cgit