diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2010-09-03 13:21:31 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2010-09-03 13:21:31 +0000 |
commit | bc01fa5e0de9144a8a49b7b8453e447bed4345eb (patch) | |
tree | 239d058564137b7d0812b7a30f6fa3e97bd0340c /www | |
parent | 6ff38a9949fb587310398207e62031813c98e4d4 (diff) | |
download | ports-bc01fa5e0de9144a8a49b7b8453e447bed4345eb.tar.gz ports-bc01fa5e0de9144a8a49b7b8453e447bed4345eb.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 5 | ||||
-rw-r--r-- | www/nginx-devel/pkg-plist | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 71d25b38e330..f365f75807b8 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= nginx PORTVERSION= 0.8.50 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} @@ -498,10 +499,10 @@ do-install: ${MKDIR} ${ETCDIR} ${NGINX_TMPDIR} ${CHOWN} ${WWWOWN}:${WWWGRP} ${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin -.for i in fastcgi_params koi-utf koi-win scgi_params uwsgi_params win-utf +.for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR} .endfor -.for i in mime.types nginx.conf +.for i in fastcgi_params mime.types nginx.conf scgi_params uwsgi_params [ -f ${ETCDIR}/${i} ] || \ ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}/${i}-dist diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist index 5faee08c592e..7a85efd5c1e4 100644 --- a/www/nginx-devel/pkg-plist +++ b/www/nginx-devel/pkg-plist @@ -1,9 +1,15 @@ @comment $FreeBSD$ -%%ETCDIR%%/fastcgi_params +@unexec if cmp -s %D/%%ETCDIR%%/fastcgi_params-dist %D/%%ETCDIR%%/fastcgi_params; then rm -f %D/%%ETCDIR%%/fastcgi_params; fi +%%ETCDIR%%/fastcgi_params-dist +@exec if [ ! -f %D/%%ETCDIR%%/fastcgi_params ] ; then cp -p %D/%F %B/fastcgi_params; fi %%ETCDIR%%/koi-utf %%ETCDIR%%/koi-win -%%ETCDIR%%/scgi_params -%%ETCDIR%%/uwsgi_params +@unexec if cmp -s %D/%%ETCDIR%%/scgi_params-dist %D/%%ETCDIR%%/scgi_params; then rm -f %D/%%ETCDIR%%/scgi_params; fi +%%ETCDIR%%/scgi_params-dist +@exec if [ ! -f %D/%%ETCDIR%%/scgi_params ] ; then cp -p %D/%F %B/scgi_params; fi +@unexec if cmp -s %D/%%ETCDIR%%/uwsgi_params-dist %D/%%ETCDIR%%/uwsgi_params; then rm -f %D/%%ETCDIR%%/uwsgi_params; fi +%%ETCDIR%%/uwsgi_params-dist +@exec if [ ! -f %D/%%ETCDIR%%/uwsgi_params ] ; then cp -p %D/%F %B/uwsgi_params; fi %%ETCDIR%%/win-utf @unexec if cmp -s %D/%%ETCDIR%%/mime.types-dist %D/%%ETCDIR%%/mime.types; then rm -f %D/%%ETCDIR%%/mime.types; fi %%ETCDIR%%/mime.types-dist |