From 59b99ad6772969fa9168173bc6e1472e44326aa8 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 4 May 2015 21:39:58 +0000 Subject: correct user, create lib and logdir --- www/grafana2/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/grafana2/Makefile') diff --git a/www/grafana2/Makefile b/www/grafana2/Makefile index 157dbea..56b9499 100644 --- a/www/grafana2/Makefile +++ b/www/grafana2/Makefile @@ -39,8 +39,8 @@ GRAFANA_GROUP?= grafana GRAFANA_HOMEDIR=${PREFIX}/share/grafana2 GRAFANA_PIDFILE=/var/run/${PORTNAME}.pid -USERS= ${INFLUXD_USER} -GROUPS= ${INFLUXD_GROUP} +USERS= ${GRAFANA_USER} +GROUPS= ${GRAFANA_GROUP} STRIP= # stripping can break go binaries @@ -68,6 +68,8 @@ do-build: #do-install: post-install: + ${MKDIR} ${STAGEDIR}/var/lib/${PORTNAME}/ + ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME}/ ${INSTALL_PROGRAM} ${WRKDIR}/src/github.com/grafana/grafana/grafana ${STAGEDIR}${PREFIX}/bin/${PORTNAME} (cd ${WRKDIR}/src/github.com/grafana/grafana && \ ${COPYTREE_SHARE} public \ -- cgit v1.2.1