Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 23:14:16 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 26aa9aef0def - main - x11/somebar: add new port
Message-ID:  <202306102314.35ANEGLd077006@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26aa9aef0defa45a367fcd99017d72e3f3d5c3bc

commit 26aa9aef0defa45a367fcd99017d72e3f3d5c3bc
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-11 18:30:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-10 23:13:38 +0000

    x11/somebar: add new port
    
    somebar - dwm-like bar for dwl
    
    https://sr.ht/~raphi/somebar/
---
 x11/Makefile          |  1 +
 x11/somebar/Makefile  | 31 +++++++++++++++++++++++++++++++
 x11/somebar/distinfo  |  3 +++
 x11/somebar/pkg-descr |  1 +
 4 files changed, 36 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index 36f3b31407a6..1930adda83ce 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -367,6 +367,7 @@
     SUBDIR += slop
     SUBDIR += slurp
     SUBDIR += smproxy
+    SUBDIR += somebar
     SUBDIR += sprop
     SUBDIR += squeekboard
     SUBDIR += srandrd
diff --git a/x11/somebar/Makefile b/x11/somebar/Makefile
new file mode 100644
index 000000000000..6069f6002187
--- /dev/null
+++ b/x11/somebar/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	somebar
+DISTVERSION=	1.0.3
+CATEGORIES=	x11 wayland
+MASTER_SITES=	https://git.sr.ht/~raphi/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	dwm-like bar for dwl
+WWW=		https://sr.ht/~raphi/somebar/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+		wayland-protocols>0:graphics/wayland-protocols
+LIB_DEPENDS=	libwayland-client.so:graphics/wayland
+
+USES=		compiler:c++17-lang gnome meson pkgconfig
+USE_GNOME=	cairo pango
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/${PORTNAME}.1.gz
+
+pre-everything::
+	@${ECHO_MSG} "To build ${PORTNAME} with your own config.hpp 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.hpp"
+
+post-extract:
+	@${ECHO_MSG} "Creating symlink: config.hpp -> ${${PORTNAME:tu}_CONF:Uconfig.def.hpp}"
+	@${LN} -fs "${${PORTNAME:tu}_CONF:Uconfig.def.hpp}" ${WRKSRC}/src/config.hpp
+
+.include <bsd.port.mk>
diff --git a/x11/somebar/distinfo b/x11/somebar/distinfo
new file mode 100644
index 000000000000..d789cc9c7fbd
--- /dev/null
+++ b/x11/somebar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670783430
+SHA256 (somebar-1.0.3.tar.gz) = 54c958aff5112c469958b85203ec0b8cea43620f687efad7b961adc28ea1059f
+SIZE (somebar-1.0.3.tar.gz) = 34555
diff --git a/x11/somebar/pkg-descr b/x11/somebar/pkg-descr
new file mode 100644
index 000000000000..800796a7c116
--- /dev/null
+++ b/x11/somebar/pkg-descr
@@ -0,0 +1 @@
+somebar - dwm-like bar for dwl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306102314.35ANEGLd077006>