summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-12-24 02:43:26 +0000
committerryoon <ryoon@pkgsrc.org>2012-12-24 02:43:26 +0000
commitaaaf01c831bf1f0ba3cedd9ebceb824b3c17204f (patch)
tree854f3814fc0850713fea44ec09e77b4eff5486be /www
parent5aa336adba6014449fffd017fee68bd0348ecac9 (diff)
downloadpkgsrc-aaaf01c831bf1f0ba3cedd9ebceb824b3c17204f.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}