git: 8cb68fc1020a - main - mail/linux-r7-organizer-pro: proper INSTALL_PROGRAM for additional binary to fix startup

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 25 Jun 2024 08:03:52 UTC
The branch main has been updated by fluffy:

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

commit 8cb68fc1020a16b84171414f820b870a1339dfde
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-06-25 08:02:20 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-06-25 08:02:20 +0000

    mail/linux-r7-organizer-pro: proper INSTALL_PROGRAM for additional binary to fix startup
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 mail/linux-r7-organizer-pro/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mail/linux-r7-organizer-pro/Makefile b/mail/linux-r7-organizer-pro/Makefile
index 98c667dee896..fbc7934423f1 100644
--- a/mail/linux-r7-organizer-pro/Makefile
+++ b/mail/linux-r7-organizer-pro/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	r7-organizer-pro
 PORTVERSION=	2.6.7
 DISTVERSIONSUFFIX=	-1
+PORTREVISION=	1
 CATEGORIES=	mail linux russian
 MASTER_SITES=	https://download.r7-office.ru/organizer/centos/
 PKGNAMEPREFIX=	linux-
@@ -34,8 +35,9 @@ post-patch:
 
 do-install:
 	cd ${WRKDIR}/opt && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share
-	${RM} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer
+	${RM} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer*
 	${INSTALL_PROGRAM} -C ${WRKDIR}/opt/r7-office/organizer/r7organizer ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer
+	${INSTALL_PROGRAM} -C ${WRKDIR}/opt/r7-office/organizer/r7organizer-bin ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer-bin
 	${RLN} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer ${STAGEDIR}${PREFIX}/bin/
 	${MV} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7-organizer.desktop ${STAGEDIR}${PREFIX}/share/applications
 	${RLN} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/chrome/icons/default/default256.png \