diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2004-10-21 17:54:45 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2004-10-21 17:54:45 +0000 |
commit | bd4066ee457a1089e012ea4b1afe800f4db21264 (patch) | |
tree | 97335de753ae58ffd94ec09aa4426c0844ac6139 /www/nginx-devel/pkg-plist | |
parent | b782ad3e7e48bc609e6763160065255d409774e7 (diff) | |
download | ports-bd4066ee457a1089e012ea4b1afe800f4db21264.tar.gz ports-bd4066ee457a1089e012ea4b1afe800f4db21264.zip |
Notes
Diffstat (limited to 'www/nginx-devel/pkg-plist')
-rw-r--r-- | www/nginx-devel/pkg-plist | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist new file mode 100644 index 000000000000..4e4b4e625352 --- /dev/null +++ b/www/nginx-devel/pkg-plist @@ -0,0 +1,16 @@ +@comment $FreeBSD$ +@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 +@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi +etc/nginx/nginx.conf-dist +@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf +@unexec rmdir $D/etc/nginx 2>/dev/null || true +@exec mkdir -p -m 755 www/nginx-dist +@comment @unexec chmod u+w www/nginx-dist +www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING +@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx +www/nginx-dist/index.html +@exec chmod a-w www/nginx-dist +@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi +@dirrm www/nginx-dist |