summaryrefslogtreecommitdiff
path: root/databases/couchdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/couchdb/Makefile')
-rw-r--r--databases/couchdb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/couchdb/Makefile b/databases/couchdb/Makefile
index e5effe55843..740af46ad3a 100644
--- a/databases/couchdb/Makefile
+++ b/databases/couchdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2014/02/12 23:17:38 tron Exp $
+# $NetBSD: Makefile,v 1.24 2014/03/11 14:34:36 jperkin Exp $
#
DISTNAME= apache-couchdb-1.5.0
@@ -42,6 +42,10 @@ COUCH_RUNDIR?= ${VARBASE}/spool/couchdb
COUCH_RUNDIR?= ${VARBASE}/run/couchdb
.endif
+FILES_SUBST+= COUCH_USER=${COUCH_USER}
+FILES_SUBST+= COUCH_GROUP=${COUCH_GROUP}
+FILES_SUBST+= COUCH_DBDIR=${COUCH_DBDIR}
+
OWN_DIRS= ${COUCH_LOGDIR} ${COUCH_DBDIR} ${COUCH_RUNDIR} ${PKG_SYSCONFDIR}
OWN_DIRS_PERMS+= ${COUCH_DBDIR} ${COUCH_USER} ${COUCH_GROUP} 0770
OWN_DIRS_PERMS+= ${COUCH_LOGDIR} ${COUCH_USER} ${COUCH_GROUP} 0770