aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-12-11 18:30:30 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-06-10 23:13:38 +0000
commit26aa9aef0defa45a367fcd99017d72e3f3d5c3bc (patch)
tree661538c84fbbb4b3d3d6cf89eeb344db4938e30a
parent2ee0d78bf422b4095d70f6b7023463ded3a2f32a (diff)
x11/somebar: add new port
somebar - dwm-like bar for dwl https://sr.ht/~raphi/somebar/
-rw-r--r--x11/Makefile1
-rw-r--r--x11/somebar/Makefile31
-rw-r--r--x11/somebar/distinfo3
-rw-r--r--x11/somebar/pkg-descr1
4 files changed, 36 insertions, 0 deletions
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