diff options
author | osa <osa@FreeBSD.org> | 2006-06-30 12:45:38 +0000 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2006-06-30 12:45:38 +0000 |
commit | 6988a7e6d323f75ea2909ae908e983ab6a25e67c (patch) | |
tree | 2ee78ece22c4a330bebc7e2e3cb59ceb6fd51d4f /www | |
parent | 7abb01ecf56a10b87632ec02d7fd718fd9c9dd4b (diff) | |
download | FreeBSD-ports-6988a7e6d323f75ea2909ae908e983ab6a25e67c.zip FreeBSD-ports-6988a7e6d323f75ea2909ae908e983ab6a25e67c.tar.gz |
Install 4 additional files from distro.
Bump PORTREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 9 | ||||
-rw-r--r-- | www/nginx-devel/pkg-plist | 4 | ||||
-rw-r--r-- | www/nginx/Makefile | 9 | ||||
-rw-r--r-- | www/nginx/pkg-plist | 4 |
4 files changed, 22 insertions, 4 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 5dc7671..2ae4999 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 b832734..a2e58ad 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 5dc7671..2ae4999 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 b832734..a2e58ad 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 |