Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -1200,6 +1200,7 @@ SUBDIR += trueos-libqt5 SUBDIR += tuptime SUBDIR += tw_cli + SUBDIR += twmn SUBDIR += tzdialog SUBDIR += u-boot-a13-olinuxino SUBDIR += u-boot-a64-olinuxino Index: head/sysutils/twmn/Makefile =================================================================== --- head/sysutils/twmn/Makefile +++ head/sysutils/twmn/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= twmn +PORTVERSION= g20171216 +CATEGORIES= sysutils + +MAINTAINER= dg@syrec.org +COMMENT= Notification system for tiling window managers + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libboost_system.so:devel/boost-libs + +USES= qmake +USE_GITHUB= yes +GH_ACCOUNT= sboli +GH_TAGNAME= 5b92ac5 +USE_QT5= core dbus gui network widgets x11extras buildtools_build +LDFLAGS+= -Wl,--as-needed # see bug#224488 + +PORTDOCS= README.md +PORTEXAMPLES= * + +PLIST_FILES= bin/twmnc bin/twmnd + +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/twmnc ${STAGEDIR}${PREFIX}/bin/twmnd + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + +.include Index: head/sysutils/twmn/distinfo =================================================================== --- head/sysutils/twmn/distinfo +++ head/sysutils/twmn/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1513803467 +SHA256 (sboli-twmn-g20171216-5b92ac5_GH0.tar.gz) = bd9793942919de021e2c88f69795a2fde11441c5e9153b89a1f96ad1009774cb +SIZE (sboli-twmn-g20171216-5b92ac5_GH0.tar.gz) = 75071 Index: head/sysutils/twmn/pkg-descr =================================================================== --- head/sysutils/twmn/pkg-descr +++ head/sysutils/twmn/pkg-descr @@ -0,0 +1,15 @@ +twmn is a notification system for tiling window managers. It consists of the +two programs: + +twmnc: command line tool to send notifications to twmnd. You can also use +notify-send for a similar purpose, but twmnc is more powerful. See +twmnc --help for more information. + +twmnd: daemon listening to notification requests and showing them one after +another. Configure it at ~/.config/twmn/twmn.conf. The file is generated the +first time twmnd is launched. + +Notifications are shown in a one-line bar called the notification slide. +They can be navigated through and activated with shortcuts. + +WWW: https://github.com/sboli/twmn