freebsd-ports/deskutils/notification-daemon/Makefile
Mateusz Piotrowski c2bf703955 Add a D-Bus service to automatically start the daemon when needed
This patch adds a D-Bus service file, which makes the notification-daemon
start automatically when a user send a notification (for example, using
notify-send(1)).
2020-10-05 14:02:07 +00:00

34 lines
828 B
Makefile

# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$
PORTNAME= notification-daemon
PORTVERSION= 3.20.0
PORTERVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Send small notifications to your desktop
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libdbus-1.so:devel/dbus
USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gnomeprefix gtk30
INSTALLS_ICONS= yes
USE_XORG= x11
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>