summaryrefslogtreecommitdiff
path: root/databases/postgresql-server/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-26 20:38:31 +0000
committerjlam <jlam@pkgsrc.org>2001-11-26 20:38:31 +0000
commit678c0f86f876a6627f87f5035ca03d672e715ae2 (patch)
tree72e7c5f0163f0edf167281176b0a2f60b193d72b /databases/postgresql-server/Makefile
parent22d02d6b3ee441bb598f813d6f7a5421dca6335f (diff)
downloadpkgsrc-678c0f86f876a6627f87f5035ca03d672e715ae2.tar.gz
Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}.
Diffstat (limited to 'databases/postgresql-server/Makefile')
-rw-r--r--databases/postgresql-server/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile
index c60506f8b46..117ab1970c8 100644
--- a/databases/postgresql-server/Makefile
+++ b/databases/postgresql-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2001/11/21 15:44:22 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2001/11/26 20:38:31 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
@@ -27,13 +27,12 @@ DIRS_TO_BUILD= src/backend
PGUSER?= pgsql
PGGROUP?= pgsql
PGHOME?= ${PREFIX}/${PGUSER}
+FILES_SUBST+= PGUSER=${PGUSER}
+FILES_SUBST+= PGHOME=${PGHOME}
BUILD_DEFS= PGUSER PGROUP PGHOME
-PKG_USER= ${PGUSER}
-PKG_USER_DESCR= PostgreSQL database administrator
-PKG_USER_HOME= ${PGHOME}
-PKG_USER_SHELL= ${SH}
-PKG_GROUP= ${PGGROUP}
+PKG_USERS= ${PGUSER}:${PGGROUP}::PostgreSQL\\ database\\ administrator:${PGHOME}:${SH}
+PKG_GROUPS= ${PGGROUP}
RCD_SCRIPTS= pgsql
OWN_DIRS_PERMS= ${PGHOME} ${PGUSER} ${PGGROUP} 0755