diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index 28f6fd2a0eb0..a3e6dc65ed5a 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,34 +1,46 @@ PORTNAME= swaync DISTVERSIONPREFIX= v -PORTVERSION= 0.4 +PORTVERSION= 0.5 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple Wayland notification daemon with GTK panel LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= valac:lang/vala LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libhandy-1.so:x11-toolkits/libhandy USES= compiler:c11 gnome localbase:ldflags meson pkgconfig USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build GH_ACCOUNT= ErikReider GH_PROJECT= SwayNotificationCenter +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT=MANPAGES + +MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc +MANPAGES_MESON_TRUE= man-pages +MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ + man/man1/${PORTNAME}-client.1.gz \ + man/man5/${PORTNAME}.5.gz + post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/src/meson.build # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*json/s/'[^']*/&.sample/" \ -e "/inst.*css/s/'[^']*/&', rename: &.sample/1" \ ${WRKSRC}/src/meson.build +# Respect PREFIX in manpages + @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ + ${WRKSRC}/man/${PORTNAME}.1.scd .include diff --git a/x11/swaync/distinfo b/x11/swaync/distinfo index 0e4432517ca4..b85bfdc37f8c 100644 --- a/x11/swaync/distinfo +++ b/x11/swaync/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645311786 -SHA256 (ErikReider-SwayNotificationCenter-v0.4_GH0.tar.gz) = 20df98e46c32b4df0b1688694c22402ef1c8cf8fd4ad67d307c05a070eeae117 -SIZE (ErikReider-SwayNotificationCenter-v0.4_GH0.tar.gz) = 3131182 +TIMESTAMP = 1649001790 +SHA256 (ErikReider-SwayNotificationCenter-v0.5_GH0.tar.gz) = a892249108ae70a88675e24b359268d307182b79ab0926175470cf10a9fa22c4 +SIZE (ErikReider-SwayNotificationCenter-v0.5_GH0.tar.gz) = 3135287