mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
misc/rgb-tui: New port: Create and get color codes from the terminal using a nice interface
This commit is contained in:
parent
b16826dfb4
commit
3f7756e2ea
@ -543,6 +543,7 @@
|
||||
SUBDIR += ree
|
||||
SUBDIR += retry
|
||||
SUBDIR += rfc
|
||||
SUBDIR += rgb-tui
|
||||
SUBDIR += ringtonetools
|
||||
SUBDIR += rname
|
||||
SUBDIR += rpl
|
||||
|
25
misc/rgb-tui/Makefile
Normal file
25
misc/rgb-tui/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
PORTNAME= rgb-tui
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.1-6
|
||||
DISTVERSIONSUFFIX= -g207f0d9
|
||||
CATEGORIES= misc
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Create and get color codes from the terminal using a nice interface
|
||||
WWW= https://github.com/ArthurSonzogni/rgb-tui
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libclip.so:x11/clip \
|
||||
libfmt.so:devel/libfmt \
|
||||
libftxui-screen.so:devel/ftxui
|
||||
|
||||
USES= cmake localbase:ldflags
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ArthurSonzogni
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
misc/rgb-tui/distinfo
Normal file
3
misc/rgb-tui/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1717555847
|
||||
SHA256 (ArthurSonzogni-rgb-tui-v1.1-6-g207f0d9_GH0.tar.gz) = 57d90a67fddf822e78bf24849b30a9dad0e66f7ff788cd1a83eedcc300204c1b
|
||||
SIZE (ArthurSonzogni-rgb-tui-v1.1-6-g207f0d9_GH0.tar.gz) = 16785409
|
22
misc/rgb-tui/files/patch-CMakeLists.txt
Normal file
22
misc/rgb-tui/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
--- CMakeLists.txt.orig 2024-06-02 14:31:17 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -9,6 +9,7 @@ set(BUILD_SHARED_LIBS FALSE)
|
||||
set(BUILD_SHARED_LIBS FALSE)
|
||||
|
||||
# --- Fetch FTXUI --------------------------------------------------------------
|
||||
+if (FALSE)
|
||||
include(FetchContent)
|
||||
|
||||
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
|
||||
@@ -45,6 +46,11 @@ endif()
|
||||
add_subdirectory(${clip_SOURCE_DIR} ${clip_BINARY_DIR} EXCLUDE_FROM_ALL)
|
||||
target_include_directories(clip INTERFACE ${clip_SOURCE_DIR})
|
||||
endif()
|
||||
+
|
||||
+endif()
|
||||
+
|
||||
+find_package(ftxui)
|
||||
+find_package(fmt)
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
1
misc/rgb-tui/pkg-descr
Normal file
1
misc/rgb-tui/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
rgb-tui is a color picker with a terminal UI.
|
Loading…
Reference in New Issue
Block a user