Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/herbe: Add a new port: Daemon-less notifications without D-Bus
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |