summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorryoon <ryoon>2012-12-24 01:35:19 +0000
committerryoon <ryoon>2012-12-24 01:35:19 +0000
commit2f2a80fb7b0caadf5f0f16bc0299ac2f8b156d4b (patch)
treea34ab440f1fd603c3d9900c39efd494d8d08a289 /www
parent1a7eb8b6bb126c7ef57d3078f6676c8746a9f3db (diff)
downloadpkgsrc-2f2a80fb7b0caadf5f0f16bc0299ac2f8b156d4b.tar.gz
Create user and group
Diffstat (limited to 'www')
-rw-r--r--www/php-concrete5/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/www/php-concrete5/Makefile b/www/php-concrete5/Makefile
index 3dcf7144398..154f0731591 100644
--- a/www/php-concrete5/Makefile
+++ b/www/php-concrete5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/12/06 14:52:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2012/12/24 01:35:19 ryoon Exp $
#
DISTNAME= concrete5.6.0.2
@@ -26,6 +26,16 @@ BUILD_DEFS+= APACHE_GROUP APACHE_USER
C5DIR= share/concrete5
INSTALLATION_DIRS= ${C5DIR}
+.include "../../mk/bsd.prefs.mk"
+
+APACHE_USER?= www
+APACHE_GROUP?= www
+PKG_GROUPS= ${APACHE_GROUP}
+PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
+
+PKG_USERS_VARS= APACHE_USER
+PKG_GROUPS_VARS= APACHE_GROUP
+
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
C5DIR=${C5DIR}