Skip to content

Commit

Permalink
Add notcurses. Doesn't get past configure yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Mar 13, 2024
1 parent a0f52e2 commit 9c7146b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
5 changes: 5 additions & 0 deletions notcurses/DESCR
@@ -0,0 +1,5 @@
notcurses is a library for building complex, vibrant textual user interfaces
(TUIs) on modern terminal emulators. It does not use Ncurses (though it does
make use of libtinfo from that package), nor is it an X/Open Curses
source-compatible replacement. It is written in C, with C++-safe headers.
Rust, C++, and Python wrappers are available.
29 changes: 29 additions & 0 deletions notcurses/Makefile
@@ -0,0 +1,29 @@
# $NetBSD$

DISTNAME= notcurses-3.0.9
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=dankamongmen/}
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://nick-black.com/dankwiki/index.php/Notcurses
COMMENT= TUI library for modern terminal emulators
LICENSE= apache-2.0

USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++

PKGCONFIG_OVERRIDE+= tools/notcurses++.pc.in
PKGCONFIG_OVERRIDE+= tools/notcurses-core.pc.in
PKGCONFIG_OVERRIDE+= tools/notcurses-ffi.pc.in
PKGCONFIG_OVERRIDE+= tools/notcurses.pc.in

# TODO: borrow more from <https://github.com/freebsd/freebsd-ports/tree/main/devel/notcurses>

.include "../../devel/cmake/build.mk"
.include "../../devel/libdeflate/buildlink3.mk"
.include "../../devel/ncursesw/buildlink3.mk"
#.include "../../graphics/qr-code-generator/buildlink3.mk"
.include "../../multimedia/ffmpeg6/buildlink3.mk"
.include "../../textproc/libunistring/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 4 additions & 0 deletions notcurses/PLIST
@@ -0,0 +1,4 @@
@comment $NetBSD$
@comment TODO: to fill this file with the file listing:
@comment TODO: 1. run "/opt/pkg/bin/bmake package"
@comment TODO: 2. run "/opt/pkg/bin/bmake print-PLIST"
5 changes: 5 additions & 0 deletions notcurses/distinfo
@@ -0,0 +1,5 @@
$NetBSD$

BLAKE2s (notcurses-3.0.9.tar.gz) = e506c30870ab6c81aad711a4fa94a92fedec842364d7d730f5a3f8edc296c5c9
SHA512 (notcurses-3.0.9.tar.gz) = e867d2436f7c953b4b7feb1464b73709cb792256e82956c933c43981dad802c30526d53d28ebafd8e460a3309ae4895cac4e0d1f6f89e347ab9578546798d19b
Size (notcurses-3.0.9.tar.gz) = 10148050 bytes

0 comments on commit 9c7146b

Please sign in to comment.