Date: Mon, 19 Apr 2021 14:30:18 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1b6314a7773b - main - sysutils/herbe: Add a new port: Daemon-less notifications without D-Bus Message-ID: <202104191430.13JEUIja017837@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b6314a7773b47e18f5da903035bca74a235f35c commit 1b6314a7773b47e18f5da903035bca74a235f35c Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-04-19 14:28:34 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-04-19 14:29:56 +0000 sysutils/herbe: Add a new port: Daemon-less notifications without D-Bus --- sysutils/Makefile | 1 + sysutils/herbe/Makefile | 37 +++++++++++++++++++++++++++++++++++++ sysutils/herbe/distinfo | 3 +++ sysutils/herbe/pkg-descr | 13 +++++++++++++ 4 files changed, 54 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 76e17bb02227..9f75ea793ef3 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -481,6 +481,7 @@ SUBDIR += heirloom SUBDIR += helm SUBDIR += helmfile + SUBDIR += herbe SUBDIR += hexpeek SUBDIR += hextools SUBDIR += hexyl diff --git a/sysutils/herbe/Makefile b/sysutils/herbe/Makefile new file mode 100644 index 000000000000..23c453de7bb3 --- /dev/null +++ b/sysutils/herbe/Makefile @@ -0,0 +1,37 @@ +PORTNAME= herbe +DISTVERSION= 1.0.0 +CATEGORIES= sysutils + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Daemon-less notifications without D-Bus + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/freetype2/ft2build.h:print/freetype2 + +USES= localbase xorg + +USE_GITHUB= yes +GH_ACCOUNT= dudik + +USE_XORG= x11 xft + +MAKE_ARGS= CFLAGS="${CFLAGS} ${LIBS}" + +CFLAGS+= -I${LOCALBASE}/include/freetype2 +LIBS+= -lX11 -lXft + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/sysutils/herbe/distinfo b/sysutils/herbe/distinfo new file mode 100644 index 000000000000..0fad29d892f8 --- /dev/null +++ b/sysutils/herbe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618841765 +SHA256 (dudik-herbe-1.0.0_GH0.tar.gz) = 78e454159050c86e030fb5a6cf997ac914345210cdf5a4ca4d7600c5296b7f76 +SIZE (dudik-herbe-1.0.0_GH0.tar.gz) = 4974 diff --git a/sysutils/herbe/pkg-descr b/sysutils/herbe/pkg-descr new file mode 100644 index 000000000000..21f938597282 --- /dev/null +++ b/sysutils/herbe/pkg-descr @@ -0,0 +1,13 @@ +herbe provides daemon-less notifications without D-Bus. It's meant to be +minimal and lightweight. + +Some of its features are: + +- Under 200 lines of code +- Doesn't run in the background, just displays the notification and exits +- No external dependencies except Xlib and Xft +- Configurable through config.h or Xresources +- Actions support +- Extensible through patches + +WWW: https://github.com/dudik/herbe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104191430.13JEUIja017837>