diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-12-24 01:40:17 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-12-24 01:40:17 +0000 |
commit | 6a5ce52acfea9fca0d716bb5c9475320a9d728b6 (patch) | |
tree | 004bd4fb122fbc1021eb7156b6a5a5d5f0d48cdc /www/php-soycms | |
parent | accf644590d318608e86626fc23d9336386908a9 (diff) | |
download | pkgsrc-6a5ce52acfea9fca0d716bb5c9475320a9d728b6.tar.gz |
Create user/group when they do not exist.
Diffstat (limited to 'www/php-soycms')
-rw-r--r-- | www/php-soycms/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/www/php-soycms/Makefile b/www/php-soycms/Makefile index 976e597d7c7..e48c82b0ee3 100644 --- a/www/php-soycms/Makefile +++ b/www/php-soycms/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2012/12/13 16:07:55 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2012/12/24 01:40:17 ryoon Exp $ # DISTNAME= soycms_1.4.0a_mysql @@ -29,6 +29,16 @@ USE_TOOLS+= pax SOYDIR= share/soycms INSTALLATION_DIRS= ${SOYDIR} +.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 + BUILD_DEFS+= APACHE_GROUP APACHE_USER FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \ SOYDIR=${SOYDIR} |