net/nchat: new port (version 5.15.26)

nchat is a multi-protocol terminal-based messaging client for Telegram,
WhatsApp and Signal, altough only the former is currently supported on
OpenBSD.

From new maintainer Mykyta Nazarenko

OK: kn@
This commit is contained in:
kirill
2026-06-01 19:27:34 +00:00
parent 5793327a32
commit 01bcae2e58
4 changed files with 50 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
# see https://github.com/d99kris/nchat/issues/76 and net/tdlib (bundled)
NOT_FOR_ARCHS = i386 ${BE_ARCHS}
# no WhatsApp or Signal: https://github.com/d99kris/nchat/commit/f292853
COMMENT = CLI Telegram client
GH_ACCOUNT = d99kris
GH_PROJECT = nchat
GH_TAGNAME = v5.15.26
CATEGORIES = net
MAINTAINER = Mykyta Nazarenko <mykyta@nazarenko.sbs>
WANTLIB += ${COMPILER_LIBCXX} c crypto curses execinfo m magic
WANTLIB += png sqlite3 ssl z
# nchat: MIT
# tdlib: BSLv1.0
PERMIT_PACKAGE = Yes
# C++17
COMPILER = base-clang ports-gcc
MODULES = devel/cmake
BUILD_DEPENDS = devel/gperf
LIB_DEPENDS = databases/sqlite3 \
devel/libmagic \
graphics/png
CONFIGURE_ARGS = -DCCACHE_FOUND=OFF \
-DCCACHE_PROGRAM=OFF \
-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
post-install:
rm -f ${PREFIX}/lib/*.a
NO_TEST = Yes
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (nchat-5.15.26.tar.gz) = T1pQF0fGmJ/W7NPC0ykERupqH1oYpZgdt8Qgvt2xXTU=
SIZE (nchat-5.15.26.tar.gz) = 7727498
+3
View File
@@ -0,0 +1,3 @@
nchat is a multi-protocol terminal-based messaging client for Telegram,
WhatsApp and Signal, altough only the former is currently supported on
OpenBSD.
+4
View File
@@ -0,0 +1,4 @@
@bin bin/nchat
libexec/nchat/
libexec/nchat/compose
@man man/man1/nchat.1