${LOWER_OPSYS}-meminfo is only installed on NetBSD, OpenBSD and FreeBSD,

so make it a PLIST_VAR conditional entry.
This commit is contained in:
sbd 2012-08-07 02:36:12 +00:00
parent 4cc034553c
commit 21ef0569c8
2 changed files with 8 additions and 3 deletions

View file

@ -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"

View file

@ -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