summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorryoon <ryoon>2012-12-24 02:43:26 +0000
committerryoon <ryoon>2012-12-24 02:43:26 +0000
commitbe27c22438bfa32503ecbd4df83f0e056d16a98f (patch)
tree854f3814fc0850713fea44ec09e77b4eff5486be /www
parenta187239fba2ccc70f2d62958ee25381b1bcd33fb (diff)
downloadpkgsrc-be27c22438bfa32503ecbd4df83f0e056d16a98f.tar.gz
Create user/group
Diffstat (limited to 'www')
-rw-r--r--www/sencha-sns/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/www/sencha-sns/Makefile b/www/sencha-sns/Makefile
index f3aa26465ac..630d59f2fa2 100644
--- a/www/sencha-sns/Makefile
+++ b/www/sencha-sns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/10/28 06:31:04 asau Exp $
+# $NetBSD: Makefile,v 1.4 2012/12/24 02:43:26 ryoon Exp $
#
DISTNAME= sencha-sns-1.0.3
@@ -27,6 +27,16 @@ BUILD_DEFS+= APACHE_GROUP APACHE_USER
SENCHADIR= share/sencha-sns
INSTALLATION_DIRS= ${SENCHADIR}
+.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} \
SENCHADIR=${SENCHADIR}