1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

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

Sponsored by:	Serenity Cybersecurity, LLC
This commit is contained in:
Dima Panov 2024-06-25 11:02:20 +03:00
parent 713550a887
commit 8cb68fc102
No known key found for this signature in database
GPG Key ID: FB8BA09DD5398F29

View File

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