summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-08-07 02:36:12 +0000
committersbd <sbd@pkgsrc.org>2012-08-07 02:36:12 +0000
commitded1841549586e5641be86e9543ff627a965263c (patch)
tree0eb9dc4f5d798923c4fc9a64eb88d017f557bc46 /net
parent4c00103b40b411b421f202fdf8d8d48a3e307218 (diff)
downloadpkgsrc-ded1841549586e5641be86e9543ff627a965263c.tar.gz
${LOWER_OPSYS}-meminfo is only installed on NetBSD, OpenBSD and FreeBSD,
so make it a PLIST_VAR conditional entry.
Diffstat (limited to 'net')
-rw-r--r--net/xymonclient/Makefile7
-rw-r--r--net/xymonclient/PLIST4
2 files changed, 8 insertions, 3 deletions
diff --git a/net/xymonclient/Makefile b/net/xymonclient/Makefile
index cdaea784c2c..461349a1a4b 100644
--- a/net/xymonclient/Makefile
+++ b/net/xymonclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/04/28 20:55:31 gendalia Exp $
+# $NetBSD: Makefile,v 1.12 2012/08/07 02:36:12 sbd Exp $
#
DISTNAME= xymon-4.3.7
@@ -123,4 +123,9 @@ MAKE_ENV+= INSTALLROOT=${DESTDIR}
MAKE_ENV+= PKGBUILD=y
MAKE_ENV+= ${TOOLS_ENV}
+PLIST_VARS+= meminfo
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "FreeBSD"
+PLIST.meminfo= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/xymonclient/PLIST b/net/xymonclient/PLIST
index a24d993d407..b271f470205 100644
--- a/net/xymonclient/PLIST
+++ b/net/xymonclient/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2011/04/22 15:37:02 spz Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/08/07 02:36:12 sbd Exp $
libexec/xymon/client/clientupdate
libexec/xymon/client/logfetch
libexec/xymon/client/msgcache
-libexec/xymon/client/${LOWER_OPSYS}-meminfo
+${PLIST.meminfo}libexec/xymon/client/${LOWER_OPSYS}-meminfo
libexec/xymon/client/orcaxymon
libexec/xymon/client/runclient.sh
libexec/xymon/client/xymon