diff options
author | ryoon <ryoon> | 2012-12-24 01:40:17 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-12-24 01:40:17 +0000 |
commit | 7d192871e4887a4913e347180ff6f085d28f3a50 (patch) | |
tree | 004bd4fb122fbc1021eb7156b6a5a5d5f0d48cdc /www | |
parent | 2f2a80fb7b0caadf5f0f16bc0299ac2f8b156d4b (diff) | |
download | pkgsrc-7d192871e4887a4913e347180ff6f085d28f3a50.tar.gz |
Create user/group when they do not exist.
Diffstat (limited to 'www')
-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} |