init *
This commit is contained in:
41
Makefile
Normal file
41
Makefile
Normal 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.14.44
|
||||||
|
|
||||||
|
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>
|
||||||
7
README.md
Normal file
7
README.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
2
distinfo
Normal file
2
distinfo
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
SHA256 (nchat-5.14.44.tar.gz) = 4dMskTDZTKrfzwjmmm7dI/QsG+GCR5qSCnPf5Ua8iFw=
|
||||||
|
SIZE (nchat-5.14.44.tar.gz) = 7996752
|
||||||
2
pkg/DESCR
Normal file
2
pkg/DESCR
Normal file
@@ -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.
|
||||||
38
pkg/PLIST
Normal file
38
pkg/PLIST
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user