git: 0ee95e721fa3 - main - emulators/86Box: use DESKTOPDIR

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sat, 03 Aug 2024 12:28:04 UTC
The branch main has been updated by vvd:

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

commit 0ee95e721fa344313379c1600ad944b908f1fcb8
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-08-03 12:21:22 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-03 12:21:22 +0000

    emulators/86Box: use DESKTOPDIR
    
    PR:     280205
    Fixes:  af9050eeb8d0 (New port: low level x86 emulator based on PCem)
---
 emulators/86Box/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/86Box/Makefile b/emulators/86Box/Makefile
index 8cae024dfbba..9e15cd3f7f9e 100644
--- a/emulators/86Box/Makefile
+++ b/emulators/86Box/Makefile
@@ -64,7 +64,7 @@ do-install:
 	${REINPLACE_CMD} -e 's|Exec=86Box|Exec=/bin/sh -c "${PREFIX}/bin/86Box -C $${HOME}/86box.cfg"|' \
 		${WRKSRC}/src/unix/assets/net.86box.86Box.desktop
 	${INSTALL_DATA} ${WRKSRC}/src/unix/assets/net.86box.86Box.desktop \
-		${STAGEDIR}${PREFIX}/share/applications
+		${STAGEDIR}${DESKTOPDIR}
 .for F in ${ICON_RESOLUTIONS}
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${F}/apps
 	${INSTALL_DATA} ${WRKSRC}/src/unix/assets/${F}/net.86box.86Box.png \