Sun Jul 18 01:33:20 2010 UTC ()
MAKE_DIRS, not MAKE_DIR.


(joerg)
diff -r1.11 -r1.12 pkgsrc/www/nginx/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/www/nginx/Makefile (expand / switch to unified diff)

--- pkgsrc/www/nginx/Makefile 2010/07/18 01:28:43 1.11
+++ pkgsrc/www/nginx/Makefile 2010/07/18 01:33:20 1.12
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.11 2010/07/18 01:28:43 joerg Exp $ 1# $NetBSD: Makefile,v 1.12 2010/07/18 01:33:20 joerg Exp $
2 2
3DISTNAME= nginx-0.8.41 3DISTNAME= nginx-0.8.41
4DISTFILES= ${DEFAULT_DISTFILES} 4DISTFILES= ${DEFAULT_DISTFILES}
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://sysoev.ru/nginx/ 6MASTER_SITES= http://sysoev.ru/nginx/
7 7
8MAINTAINER= joerg@NetBSD.org 8MAINTAINER= joerg@NetBSD.org
9HOMEPAGE= http://nginx.net/ 9HOMEPAGE= http://nginx.net/
10COMMENT= Lightweight HTTP server and mail proxy server 10COMMENT= Lightweight HTTP server and mail proxy server
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14.include "../../mk/bsd.prefs.mk" 14.include "../../mk/bsd.prefs.mk"
@@ -51,27 +51,27 @@ CONFIGURE_ARGS+= --http-fastcgi-temp-pat @@ -51,27 +51,27 @@ CONFIGURE_ARGS+= --http-fastcgi-temp-pat
51PKG_SYSCONFSUBDIR= nginx 51PKG_SYSCONFSUBDIR= nginx
52 52
53EGDIR= ${PREFIX}/share/examples/nginx 53EGDIR= ${PREFIX}/share/examples/nginx
54EGFILES+= fastcgi.conf fastcgi_params koi-utf koi-win \ 54EGFILES+= fastcgi.conf fastcgi_params koi-utf koi-win \
55 mime.types nginx.conf win-utf 55 mime.types nginx.conf win-utf
56 56
57.for file in ${EGFILES} 57.for file in ${EGFILES}
58CONF_FILES+= ${EGDIR}/conf/${file} ${PKG_SYSCONFDIR}/${file} 58CONF_FILES+= ${EGDIR}/conf/${file} ${PKG_SYSCONFDIR}/${file}
59.endfor 59.endfor
60 60
61RCD_SCRIPTS= nginx 61RCD_SCRIPTS= nginx
62 62
63INSTALLATION_DIRS= sbin share/examples/nginx/conf share/examples/nginx/html 63INSTALLATION_DIRS= sbin share/examples/nginx/conf share/examples/nginx/html
64MAKE_DIR+= ${NGINX_PIDDIR} 64MAKE_DIRS+= ${NGINX_PIDDIR}
65OWN_DIRS= ${NGINX_LOGDIR} 65OWN_DIRS= ${NGINX_LOGDIR}
66OWN_DIRS_PERMS+= ${NGINX_DATADIR} ${NGINX_USER} ${NGINX_GROUP} 0700 66OWN_DIRS_PERMS+= ${NGINX_DATADIR} ${NGINX_USER} ${NGINX_GROUP} 0700
67 67
68BUILD_TARGET= build 68BUILD_TARGET= build
69 69
70SUBST_CLASSES+= paths 70SUBST_CLASSES+= paths
71SUBST_STAGE.paths= pre-configure 71SUBST_STAGE.paths= pre-configure
72SUBST_FILES.paths= conf/nginx.conf 72SUBST_FILES.paths= conf/nginx.conf
73SUBST_SED.paths= -e 's,%%PKG_SYSCONFDIR%%,${PKG_SYSCONFDIR},g' 73SUBST_SED.paths= -e 's,%%PKG_SYSCONFDIR%%,${PKG_SYSCONFDIR},g'
74SUBST_SED.paths+= -e 's,%%NGINX_LOGDIR%%,${NGINX_LOGDIR},g' 74SUBST_SED.paths+= -e 's,%%NGINX_LOGDIR%%,${NGINX_LOGDIR},g'
75SUBST_SED.paths+= -e 's,%%NGINX_PIDDIR%%,${NGINX_PIDDIR},g' 75SUBST_SED.paths+= -e 's,%%NGINX_PIDDIR%%,${NGINX_PIDDIR},g'
76SUBST_SED.paths+= -e 's,%%NGINX_USER%%,${NGINX_USER},g' 76SUBST_SED.paths+= -e 's,%%NGINX_USER%%,${NGINX_USER},g'
77SUBST_SED.paths+= -e 's,%%NGINX_GROUP%%,${NGINX_GROUP},g' 77SUBST_SED.paths+= -e 's,%%NGINX_GROUP%%,${NGINX_GROUP},g'