commit 03b43fac112efc3d5ebe1d8f44367c2aa57fba79 Author: Nazarenko Mykyta Volodymyrovych Date: Thu May 14 21:52:21 2026 +0200 init * diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fcd10e8 --- /dev/null +++ b/Makefile @@ -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.14.44 + +CATEGORIES = net +MAINTAINER = Mykyta Nazarenko + +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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..b4b521c --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +``` +Original thread ~> https://marc.info/?l=openbsd-ports&m=177540079923606&w=2 + +Maintainer ~> Nazarenko Mykyta + +WWW ~> https://github.com/d99kris/nchat +``` diff --git a/distinfo b/distinfo new file mode 100644 index 0000000..8202c31 --- /dev/null +++ b/distinfo @@ -0,0 +1,2 @@ +SHA256 (nchat-5.14.44.tar.gz) = 4dMskTDZTKrfzwjmmm7dI/QsG+GCR5qSCnPf5Ua8iFw= +SIZE (nchat-5.14.44.tar.gz) = 7996752 diff --git a/pkg/DESCR b/pkg/DESCR new file mode 100644 index 0000000..20c986c --- /dev/null +++ b/pkg/DESCR @@ -0,0 +1,2 @@ +nchat is a multi-protocol terminal-based messaging client for Telegram, WhatsApp +and Signal, altough only the former is currently supported on OpenBSD. diff --git a/pkg/PLIST b/pkg/PLIST new file mode 100644 index 0000000..407114b --- /dev/null +++ b/pkg/PLIST @@ -0,0 +1,38 @@ +@bin bin/nchat +libexec/nchat/ +libexec/nchat/compose +@man man/man1/nchat.1 +share/nchat/ +share/nchat/themes/ +share/nchat/themes/basic-color/ +share/nchat/themes/basic-color/color.conf +share/nchat/themes/basic-color/usercolor.conf +share/nchat/themes/catppuccin-mocha/ +share/nchat/themes/catppuccin-mocha/color.conf +share/nchat/themes/catppuccin-mocha/usercolor.conf +share/nchat/themes/default/ +share/nchat/themes/default/color.conf +share/nchat/themes/dracula/ +share/nchat/themes/dracula/color.conf +share/nchat/themes/dracula/usercolor.conf +share/nchat/themes/espresso/ +share/nchat/themes/espresso/color.conf +share/nchat/themes/espresso/usercolor.conf +share/nchat/themes/gruvbox-dark/ +share/nchat/themes/gruvbox-dark/color.conf +share/nchat/themes/gruvbox-dark/usercolor.conf +share/nchat/themes/solarized-dark-higher-contrast/ +share/nchat/themes/solarized-dark-higher-contrast/color.conf +share/nchat/themes/solarized-dark-higher-contrast/usercolor.conf +share/nchat/themes/tokyo-night/ +share/nchat/themes/tokyo-night/color.conf +share/nchat/themes/tokyo-night/usercolor.conf +share/nchat/themes/tomorrow-night/ +share/nchat/themes/tomorrow-night/color.conf +share/nchat/themes/tomorrow-night/usercolor.conf +share/nchat/themes/zenbones-dark/ +share/nchat/themes/zenbones-dark/color.conf +share/nchat/themes/zenbones-dark/usercolor.conf +share/nchat/themes/zenburned/ +share/nchat/themes/zenburned/color.conf +share/nchat/themes/zenburned/usercolor.conf