xfce4-notifyd: Simplify and fix xfce4-notifyd.desktop handling.diff -r1.13 -r1.14 pkgsrc/x11/xfce4-notifyd/Makefile
(jperkin)
@@ -1,36 +1,36 @@ | @@ -1,36 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2018/05/29 21:24:20 youri Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2018/05/31 09:16:46 jperkin Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | .include "../../meta-pkgs/xfce4/Makefile.common" | 4 | .include "../../meta-pkgs/xfce4/Makefile.common" | |
5 | 5 | |||
6 | DISTNAME= xfce4-notifyd-0.4.2 | 6 | DISTNAME= xfce4-notifyd-0.4.2 | |
7 | CATEGORIES= x11 | 7 | CATEGORIES= x11 | |
8 | MASTER_SITES= http://archive.xfce.org/src/apps/xfce4-notifyd/0.4/ | 8 | MASTER_SITES= http://archive.xfce.org/src/apps/xfce4-notifyd/0.4/ | |
9 | 9 | |||
10 | HOMEPAGE= http://goodies.xfce.org/projects/applications/xfce4-notifyd | 10 | HOMEPAGE= http://goodies.xfce.org/projects/applications/xfce4-notifyd | |
11 | COMMENT= XFCE Notify daemon | 11 | COMMENT= XFCE Notify daemon | |
12 | 12 | |||
13 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | 13 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | |
14 | 14 | |||
15 | DESKTOP_FILE= xfce4-notifyd.desktop | 15 | DESKTOP_FILE= xfce4-notifyd.desktop | |
16 | 16 | EGDIR= share/examples/xfce4-notifyd | ||
17 | SUBST_CLASSES= prefix | 17 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/autostart | |
18 | SUBST_MESSAGE.prefix= Fixing path | 18 | CONF_FILES+= ${EGDIR}/${DESKTOP_FILE} \ | |
19 | SUBST_STAGE.prefix= pre-install | 19 | ${PKG_SYSCONFDIR}/xdg/autostart/${DESKTOP_FILE} | |
20 | SUBST_FILES.prefix= xfce4-notifyd/${DESKTOP_FILE} | 20 | ||
21 | SUBST_VARS.prefix= PREFIX | 21 | INSTALLATION_DIRS+= ${EGDIR} | |
22 | 22 | |||
23 | pre-configure: | 23 | post-build: | |
24 | cp ${FILESDIR}/${DESKTOP_FILE} \ | 24 | ${SED} ${FILES_SUBST_SED} ${FILESDIR}/${DESKTOP_FILE} \ | |
25 | ${WRKSRC}/xfce4-notifyd/${DESKTOP_FILE} | 25 | > ${WRKSRC}/${DESKTOP_FILE} | |
26 | 26 | |||
27 | post-install: | 27 | post-install: | |
28 | ${INSTALL_DATA} ${WRKSRC}/xfce4-notifyd/${DESKTOP_FILE} \ | 28 | ${INSTALL_DATA} ${WRKSRC}/${DESKTOP_FILE} \ | |
29 | ${PKG_SYSCONFDIR}/xdg/autostart/${DESKTOP_FILE} | 29 | ${DESTDIR}${PREFIX}/${EGDIR}/${DESKTOP_FILE} | |
30 | 30 | |||
31 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 31 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
32 | .include "../../x11/libxfce4ui/buildlink3.mk" | 32 | .include "../../x11/libxfce4ui/buildlink3.mk" | |
33 | .include "../../x11/xfce4-panel/buildlink3.mk" | 33 | .include "../../x11/xfce4-panel/buildlink3.mk" | |
34 | .include "../../sysutils/libnotify/buildlink3.mk" | 34 | .include "../../sysutils/libnotify/buildlink3.mk" | |
35 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 35 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
36 | .include "../../mk/bsd.pkg.mk" | 36 | .include "../../mk/bsd.pkg.mk" |
@@ -1,21 +1,22 @@ | @@ -1,21 +1,22 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2018/05/15 22:11:39 youri Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2018/05/31 09:16:46 jperkin Exp $ | |
2 | bin/xfce4-notifyd-config | 2 | bin/xfce4-notifyd-config | |
3 | lib/systemd/user/xfce4-notifyd.service | 3 | lib/systemd/user/xfce4-notifyd.service | |
4 | lib/xfce4/notifyd/xfce4-notifyd | 4 | lib/xfce4/notifyd/xfce4-notifyd | |
5 | lib/xfce4/panel/plugins/libnotification-plugin.la | 5 | lib/xfce4/panel/plugins/libnotification-plugin.la | |
6 | man/man1/xfce4-notifyd-config.1 | 6 | man/man1/xfce4-notifyd-config.1 | |
7 | share/applications/xfce4-notifyd-config.desktop | 7 | share/applications/xfce4-notifyd-config.desktop | |
8 | share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service | 8 | share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service | |
9 | share/examples/xfce4-notifyd/xfce4-notifyd.desktop | |||
9 | share/icons/hicolor/16x16/apps/xfce4-notifyd.png | 10 | share/icons/hicolor/16x16/apps/xfce4-notifyd.png | |
10 | share/icons/hicolor/24x24/apps/xfce4-notifyd.png | 11 | share/icons/hicolor/24x24/apps/xfce4-notifyd.png | |
11 | share/icons/hicolor/32x32/apps/xfce4-notifyd.png | 12 | share/icons/hicolor/32x32/apps/xfce4-notifyd.png | |
12 | share/icons/hicolor/48x48/apps/xfce4-notifyd.png | 13 | share/icons/hicolor/48x48/apps/xfce4-notifyd.png | |
13 | share/icons/hicolor/scalable/apps/xfce4-notifyd.svg | 14 | share/icons/hicolor/scalable/apps/xfce4-notifyd.svg | |
14 | share/icons/hicolor/scalable/status/notification-disabled-new-symbolic.svg | 15 | share/icons/hicolor/scalable/status/notification-disabled-new-symbolic.svg | |
15 | share/icons/hicolor/scalable/status/notification-disabled-symbolic.svg | 16 | share/icons/hicolor/scalable/status/notification-disabled-symbolic.svg | |
16 | share/icons/hicolor/scalable/status/notification-new-symbolic.svg | 17 | share/icons/hicolor/scalable/status/notification-new-symbolic.svg | |
17 | share/icons/hicolor/scalable/status/notification-symbolic.svg | 18 | share/icons/hicolor/scalable/status/notification-symbolic.svg | |
18 | share/locale/ar/LC_MESSAGES/xfce4-notifyd.mo | 19 | share/locale/ar/LC_MESSAGES/xfce4-notifyd.mo | |
19 | share/locale/ast/LC_MESSAGES/xfce4-notifyd.mo | 20 | share/locale/ast/LC_MESSAGES/xfce4-notifyd.mo | |
20 | share/locale/bg/LC_MESSAGES/xfce4-notifyd.mo | 21 | share/locale/bg/LC_MESSAGES/xfce4-notifyd.mo | |
21 | share/locale/ca/LC_MESSAGES/xfce4-notifyd.mo | 22 | share/locale/ca/LC_MESSAGES/xfce4-notifyd.mo |