aboutsummaryrefslogtreecommitdiff
path: root/deskutils/notification-daemon
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-10-05 14:02:07 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-10-05 14:02:07 +0000
commitc2bf7039556fc3dd73e833839667a58c13e03484 (patch)
tree101b504563b544d25f3e0d34605fd0198780f9a9 /deskutils/notification-daemon
parentc33defafcc89157f2688ec756bf9096c86c3e70c (diff)
downloadports-c2bf7039556fc3dd73e833839667a58c13e03484.tar.gz
ports-c2bf7039556fc3dd73e833839667a58c13e03484.zip
Notes
Diffstat (limited to 'deskutils/notification-daemon')
-rw-r--r--deskutils/notification-daemon/Makefile8
-rw-r--r--deskutils/notification-daemon/files/org.freedesktop.Notifications.service.in5
-rw-r--r--deskutils/notification-daemon/pkg-plist1
3 files changed, 14 insertions, 0 deletions
diff --git a/deskutils/notification-daemon/Makefile b/deskutils/notification-daemon/Makefile
index 1f607b1502bc..39bb15853222 100644
--- a/deskutils/notification-daemon/Makefile
+++ b/deskutils/notification-daemon/Makefile
@@ -3,6 +3,7 @@
PORTNAME= notification-daemon
PORTVERSION= 3.20.0
+PORTERVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
@@ -23,4 +24,11 @@ GNU_CONFIGURE= yes
PORTSCOUT= limitw:1,even
+SUB_FILES= org.freedesktop.Notifications.service
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services
+ ${INSTALL_DATA} ${WRKDIR}/org.freedesktop.Notifications.service \
+ ${STAGEDIR}${PREFIX}/share/dbus-1/services
+
.include <bsd.port.mk>
diff --git a/deskutils/notification-daemon/files/org.freedesktop.Notifications.service.in b/deskutils/notification-daemon/files/org.freedesktop.Notifications.service.in
new file mode 100644
index 000000000000..22028ab83f0f
--- /dev/null
+++ b/deskutils/notification-daemon/files/org.freedesktop.Notifications.service.in
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+[D-BUS Service]
+Name=org.freedesktop.Notifications
+Exec=%%PREFIX%%/libexec/notification-daemon
diff --git a/deskutils/notification-daemon/pkg-plist b/deskutils/notification-daemon/pkg-plist
index df7f87cbdf56..51af0e9341c7 100644
--- a/deskutils/notification-daemon/pkg-plist
+++ b/deskutils/notification-daemon/pkg-plist
@@ -1,5 +1,6 @@
libexec/notification-daemon
share/applications/notification-daemon.desktop
+share/dbus-1/services/org.freedesktop.Notifications.service
share/locale/af/LC_MESSAGES/notification-daemon.mo
share/locale/an/LC_MESSAGES/notification-daemon.mo
share/locale/ar/LC_MESSAGES/notification-daemon.mo