git: eb500d984934 - main - sysutils/bareos21-traymonitor: Fix pkg-plist file

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Wed, 12 Apr 2023 15:38:35 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb500d9849344ba689baa07dc735b27c369913dd

commit eb500d9849344ba689baa07dc735b27c369913dd
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-12 15:37:23 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-12 15:37:23 +0000

    sysutils/bareos21-traymonitor: Fix pkg-plist file
    
    Reported by:    pkg-fallout
---
 sysutils/bareos21-server/Makefile.common | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysutils/bareos21-server/Makefile.common b/sysutils/bareos21-server/Makefile.common
index efd76eea1dfe..7c27e0a23f24 100644
--- a/sysutils/bareos21-server/Makefile.common
+++ b/sysutils/bareos21-server/Makefile.common
@@ -10,7 +10,7 @@ post-build:
 .endif
 
 pre-install:
-.if ${PKGNAMESUFFIX} == "-traymonitor"
+.if ${PKGNAMESUFFIX} == "21-traymonitor"
 .	for d in client director monitor storage
 		${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}
 		${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \;
@@ -27,7 +27,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bareos-fd ${STAGEDIR}${PREFIX}/sbin/bareos-fd-static
 	${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static
 .endif
-.if ${PKGNAMESUFFIX} == "-traymonitor"
+.if ${PKGNAMESUFFIX} == "21-traymonitor"
 # Install config files and preserve existing ones
 .for d in client director monitor storage
 	${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/