Index: head/sysutils/dunst/Makefile =================================================================== --- head/sysutils/dunst/Makefile (revision 498945) +++ head/sysutils/dunst/Makefile (revision 498946) @@ -1,44 +1,56 @@ # Created by: Rod Person # $FreeBSD$ PORTNAME= dunst -PORTVERSION= 1.3.2 DISTVERSIONPREFIX= v +DISTVERSION= 1.4.0 CATEGORIES= sysutils +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +# https://github.com/dunst-project/dunst/pull/622 +PATCHFILES= 6e8de70c822a305d5196c991de69317bba875969.patch:-p1 + MAINTAINER= dg@syrec.org COMMENT= Lightweight notification daemon LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libdbus-1.so:devel/dbus \ - libxdg-basedir.so:x11/libxdg-basedir +LIB_DEPENDS= libdbus-1.so:devel/dbus -USES= gmake perl5 pkgconfig +USES= gmake gnome perl5 pkgconfig USE_GITHUB= yes GH_ACCOUNT= dunst-project USE_GNOME= cairo gdkpixbuf2 pango USE_PERL5= build -USE_XORG= x11 xrandr xinerama xscrnsaver +USE_XORG= x11 xext xinerama xrandr xscrnsaver MAKE_ARGS= MANPREFIX="${PREFIX}/man" +ALL_TARGET= dunst TEST_TARGET= test PLIST_FILES= bin/dunst \ share/dunst/dunstrc \ man/man1/dunst.1.gz \ share/dbus-1/services/org.knopwob.dunst.service -post-patch: - @${REINPLACE_CMD} -e '/dunst\.systemd\.service/d' ${WRKSRC}/Makefile - @${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/VERSION +OPTIONS_DEFINE= DUNSTIFY +OPTIONS_DEFAULT= DUNSTIFY +DUNSTIFY_DESC= Install dunstify (alternative to the notify-send) + +DUNSTIFY_ALL_TARGET= dunstify +DUNSTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify +DUNSTIFY_PLIST_FILES= bin/dunstify + pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/dunst/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst + +post-install-DUNSTIFY-on: + ${INSTALL_PROGRAM} ${WRKSRC}/dunstify ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/dunst/distinfo =================================================================== --- head/sysutils/dunst/distinfo (revision 498945) +++ head/sysutils/dunst/distinfo (revision 498946) @@ -1,3 +1,5 @@ -TIMESTAMP = 1525769656 -SHA256 (dunst-project-dunst-v1.3.2_GH0.tar.gz) = aab6e8fb1105a64153eee1db85d00ddb807994f03f7222aa46d40e3f3846d28a -SIZE (dunst-project-dunst-v1.3.2_GH0.tar.gz) = 121575 +TIMESTAMP = 1554734034 +SHA256 (dunst-project-dunst-v1.4.0_GH0.tar.gz) = 943c465ae2fdafeb6d611cd9b76ffaa3030a094b08b9185d234017f3f7654177 +SIZE (dunst-project-dunst-v1.4.0_GH0.tar.gz) = 159632 +SHA256 (6e8de70c822a305d5196c991de69317bba875969.patch) = a2270632964c3ffdd5daeeac4fc832f29c28bf2481d7e7cd079b927d56830ea4 +SIZE (6e8de70c822a305d5196c991de69317bba875969.patch) = 832