Skip to content

Commit

Permalink
sysutils/herbe: Add a new port: Daemon-less notifications without D-Bus
Browse files Browse the repository at this point in the history
  • Loading branch information
0mp committed Apr 19, 2021
1 parent 8d23ff3 commit 1b6314a
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions sysutils/Makefile
Expand Up @@ -481,6 +481,7 @@
SUBDIR += heirloom
SUBDIR += helm
SUBDIR += helmfile
SUBDIR += herbe
SUBDIR += hexpeek
SUBDIR += hextools
SUBDIR += hexyl
Expand Down
37 changes: 37 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
13 changes: 13 additions & 0 deletions 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

0 comments on commit 1b6314a

Please sign in to comment.