git: 8e572299a8c0 - main - x11/darkman: simplify installation of dbus services

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 13 Dec 2022 17:33:16 UTC
The branch main has been updated by jbeich:

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

commit 8e572299a8c0edc92892c2a40a44f41c269a497e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-13 17:32:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-13 17:32:26 +0000

    x11/darkman: simplify installation of dbus services
---
 x11/darkman/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/x11/darkman/Makefile b/x11/darkman/Makefile
index 7df4165782db..3e040bc1a506 100644
--- a/x11/darkman/Makefile
+++ b/x11/darkman/Makefile
@@ -47,9 +47,7 @@ post-patch:
 
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services
-	${INSTALL_DATA} ${WRKSRC}/contrib/dbus/nl.whynothugo.darkman.service \
-		${STAGEDIR}${PREFIX}/share/dbus-1/services/
-	${INSTALL_DATA} ${WRKSRC}/contrib/dbus/org.freedesktop.impl.portal.desktop.darkman.service \
+	${INSTALL_DATA} ${WRKSRC}/contrib/dbus/*.service \
 		${STAGEDIR}${PREFIX}/share/dbus-1/services/
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/xdg-desktop-portal/portals
 	${INSTALL_DATA} ${WRKSRC}/contrib/portal/${PORTNAME}.portal \