aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/munin-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/munin-common/Makefile')
-rw-r--r--sysutils/munin-common/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/munin-common/Makefile b/sysutils/munin-common/Makefile
index 6337e4362ece..d14f8ed36ff7 100644
--- a/sysutils/munin-common/Makefile
+++ b/sysutils/munin-common/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= munin
-PORTVERSION= 1.4.7
+PORTVERSION= ${MUNIN_VERSION}
CATEGORIES= sysutils perl5
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
+MASTER_SITES= ${MUNIN_SITES}
PKGNAMESUFFIX= -common
MAINTAINER= flo@FreeBSD.org
@@ -24,6 +24,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.r/rc/}
.include "${.CURDIR}/../munin-common/munin.mk"
+USERS= ${MUNIN_USER}
+GROUPS= ${MUNIN_GROUP}
+
ALL_TARGET= build-common-prime
INSTALL_TARGET= install-common
@@ -35,8 +38,8 @@ MAN3= Munin::Common::Config.3 \
Munin::Common::Timeout.3
post-install:
- @${MKDIR} ${LOGDIR}
- @${CHOWN} ${USERS}:${GROUPS} ${LOGDIR}
+ @${MKDIR} ${LOGDIR} ${STATEDIR} ${SPOOLDIR}
+ @${CHOWN} ${USERS}:${GROUPS} ${LOGDIR} ${STADEDIR} ${SPOOLDIR}
@(cd ${WRKSRC}/common/blib/libdoc && for man in ${MAN3} ; do \
${INSTALL_MAN} -C $$man ${PREFIX}/man/man3; \
done)