summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2010-12-03 20:24:58 +0000
committerabs <abs@pkgsrc.org>2010-12-03 20:24:58 +0000
commit0642309d10d37816c232343fcdb1fccce181a20d (patch)
treeacdf0642a1d7ffca56e6b9029197b36c1d35abb6 /sysutils
parentecd546fa858a666eb80db94fc78d81b17bba4823 (diff)
downloadpkgsrc-0642309d10d37816c232343fcdb1fccce181a20d.tar.gz
Add modular-xorg-fonts if X11_TYPE modular, some pkglint, ++PKREVISION
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/munin-server/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/munin-server/Makefile b/sysutils/munin-server/Makefile
index 777747539c6..366929365f4 100644
--- a/sysutils/munin-server/Makefile
+++ b/sysutils/munin-server/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2010/08/21 16:35:46 seb Exp $
+# $NetBSD: Makefile,v 1.12 2010/12/03 20:24:58 abs Exp $
#
DISTNAME= ${PKGNAME_NOREV:S:-server-:_:}
PKGNAME= munin-server-1.3.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=munin/}
@@ -19,6 +19,12 @@ DEPENDS+= p5-Net-SSLeay>=0:../../security/p5-Net-SSLeay
DEPENDS+= rrdtool>=1.2:../../databases/rrdtool
DEPENDS+= munin-doc>=1.3.1:../../sysutils/munin-doc
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+DEPENDS+= modular-xorg-fonts>0:../../meta-pkgs/modular-xorg-fonts
+.endif
+
USE_TOOLS+= gmake perl:run
USE_PKGINSTALL= YES
@@ -78,8 +84,8 @@ FILES_SUBST+= STATEDIR=${STATEDIR}
PLIST_SUBST+= PERL5_SITELIB=${PERL5_SITELIB:Q}
-MESSAGE_SUBST+= MUNIN_USER=${MUNIN_USER:Q}
-MESSAGE_SUBST+= VARBASE=${VARBASE:Q}
+MESSAGE_SUBST+= MUNIN_USER=${MUNIN_USER}
+MESSAGE_SUBST+= VARBASE=${VARBASE}
EGDIR= ${PREFIX}/share/examples/munin
TMPL_EGDIR= ${EGDIR}/templates