git: 1ea77fe8eede - main - x11/dwlb: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jan 2024 03:17:45 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ea77fe8eede18ef199a3420134642083be7aed8 commit 1ea77fe8eede18ef199a3420134642083be7aed8 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-11-29 02:40:55 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-01-01 03:16:04 +0000 x11/dwlb: add new port A fast, feature-complete bar for dwl. https://github.com/kolunmi/dwlb --- x11/Makefile | 1 + x11/dwlb/Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ x11/dwlb/distinfo | 3 +++ x11/dwlb/pkg-descr | 1 + 4 files changed, 53 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index f0dcb83b615a..d451f4245245 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -61,6 +61,7 @@ SUBDIR += docker-tray SUBDIR += dsbautostart SUBDIR += dsbxinput + SUBDIR += dwlb SUBDIR += dwmblocks SUBDIR += dxpc SUBDIR += dzen2 diff --git a/x11/dwlb/Makefile b/x11/dwlb/Makefile new file mode 100644 index 000000000000..e13abd54b358 --- /dev/null +++ b/x11/dwlb/Makefile @@ -0,0 +1,48 @@ +PORTNAME= dwlb +PORTVERSION= s20231128 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Feature-complete bar for DWL +WWW= https://github.com/kolunmi/dwlb + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ + tllist>=1.0.1:devel/tllist \ + wayland-protocols>0:graphics/wayland-protocols +LIB_DEPENDS= libwayland-client.so:graphics/wayland \ + libfcft.so:x11-fonts/fcft + +USES= gmake pkgconfig xorg +USE_GITHUB= yes +USE_XORG= pixman +GH_ACCOUNT= kolunmi +GH_TAGNAME= d215054 +EXTRA_PATCHES= ${${PORTNAME:tu}_PATCHES} +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz + +pre-everything:: + @${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable" + @${ECHO_MSG} "either in ${.CURDIR:T}/Makefile.local, make.conf(5), environ(7) or command line e.g.," + @${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_CONF=/path/to/${PORTNAME}/config.h" + @${ECHO_MSG} + @${ECHO_MSG} "To apply your own patches set ${PORTNAME:tu}_PATCHES (like ${PORTNAME:tu}_CONF)" + @${ECHO_MSG} "to a list of files separated by space with optional -pX suffix e.g.," + @${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_PATCHES='/path/to/foo.patch:-p1'" + +post-extract: +# .if exists(...) before bsd.port.mk ignores *_CONF in make.conf(5) and Makefile.local + @if [ -e "${${PORTNAME:tu}_CONF}" ]; then \ + ${ECHO_MSG} "Creating symlink: config.h -> ${${PORTNAME:tu}_CONF}"; \ + ${LN} -fs "${${PORTNAME:tu}_CONF}" ${WRKSRC}/config.h; \ + fi + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1 + +.include <bsd.port.mk> diff --git a/x11/dwlb/distinfo b/x11/dwlb/distinfo new file mode 100644 index 000000000000..e5d5d36045fe --- /dev/null +++ b/x11/dwlb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701225655 +SHA256 (kolunmi-dwlb-s20231128-d215054_GH0.tar.gz) = 9d3802cdc2de5ac8c2483029a29b218f66e432d0c0d8872f1069052fb93458c5 +SIZE (kolunmi-dwlb-s20231128-d215054_GH0.tar.gz) = 69383 diff --git a/x11/dwlb/pkg-descr b/x11/dwlb/pkg-descr new file mode 100644 index 000000000000..45a3583905e7 --- /dev/null +++ b/x11/dwlb/pkg-descr @@ -0,0 +1 @@ +A fast, feature-complete bar for dwl.