New port: devel/cppurses: Terminal User Interface framework with NCurses
This commit is contained in:
parent
107139760f
commit
a3af3eb9de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518370
@ -393,6 +393,7 @@
|
||||
SUBDIR += cpprestsdk
|
||||
SUBDIR += cpptest
|
||||
SUBDIR += cppunit
|
||||
SUBDIR += cppurses
|
||||
SUBDIR += cpputest
|
||||
SUBDIR += cproto
|
||||
SUBDIR += cpu_features
|
||||
|
25
devel/cppurses/Makefile
Normal file
25
devel/cppurses/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cppurses
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.3-4
|
||||
DISTVERSIONSUFFIX= -g791dfe5
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Terminal User Interface framework with NCurses
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= cmake compiler:c++14-lang ncurses
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= a-n-t-h-o-n-y
|
||||
GH_PROJECT= CPPurses
|
||||
GH_TUPLE= \
|
||||
a-n-t-h-o-n-y:Signals:86d312f:signals/libs/Signals \
|
||||
a-n-t-h-o-n-y:Chess-curses:f597add:demos_chess/demos/chess \
|
||||
a-n-t-h-o-n-y:Optional:a141da0:signals_optional/libs/Signals/libs/Optional
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.mk>
|
9
devel/cppurses/distinfo
Normal file
9
devel/cppurses/distinfo
Normal file
@ -0,0 +1,9 @@
|
||||
TIMESTAMP = 1574642339
|
||||
SHA256 (a-n-t-h-o-n-y-CPPurses-v0.3-4-g791dfe5_GH0.tar.gz) = 58f6121bdc66d7cddc2e49bc35054fea0f07655fb1d7cb66bd3160c9ba3f6c36
|
||||
SIZE (a-n-t-h-o-n-y-CPPurses-v0.3-4-g791dfe5_GH0.tar.gz) = 3306548
|
||||
SHA256 (a-n-t-h-o-n-y-Signals-86d312f_GH0.tar.gz) = 1d2f978f6ef2bacbe8d46f2ae97d25af523f57d4f38d6e1a649013bff6c3e146
|
||||
SIZE (a-n-t-h-o-n-y-Signals-86d312f_GH0.tar.gz) = 55358
|
||||
SHA256 (a-n-t-h-o-n-y-Chess-curses-f597add_GH0.tar.gz) = 54d89d8d4c9a41efb0b9c0d6eff6f32fda05952d2587ebbf8a499433ecf3c26a
|
||||
SIZE (a-n-t-h-o-n-y-Chess-curses-f597add_GH0.tar.gz) = 178461
|
||||
SHA256 (a-n-t-h-o-n-y-Optional-a141da0_GH0.tar.gz) = 985e67505fa2c946aa08ea5c40ff1ba1e6486e561ec10577e9feccd1afb63ba4
|
||||
SIZE (a-n-t-h-o-n-y-Optional-a141da0_GH0.tar.gz) = 45047
|
11
devel/cppurses/files/patch-src_CMakeLists.txt
Normal file
11
devel/cppurses/files/patch-src_CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/CMakeLists.txt.orig 2019-11-25 00:40:32 UTC
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -33,7 +33,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.8")
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
endif()
|
||||
|
||||
-add_library(cppurses STATIC "")
|
||||
+add_library(cppurses SHARED "")
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
11
devel/cppurses/pkg-descr
Normal file
11
devel/cppurses/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
CPPurses is a Terminal User Interface(TUI) Library built on top of ncurses.
|
||||
It defines a framework of Widgets, Layouts, and Events that let you focus on
|
||||
user interface design, while boilerplate common to ncurses applications is
|
||||
handled behind the scenes.
|
||||
|
||||
CPPurses contains a collection of common Widgets that can be pieced together to
|
||||
create a composite application. It is also possible to expand and build on top
|
||||
of existing Widgets, or to create completely new Widget types, by overriding a
|
||||
few virtual functions.
|
||||
|
||||
WWW: https://github.com/a-n-t-h-o-n-y/CPPurses
|
132
devel/cppurses/pkg-plist
Normal file
132
devel/cppurses/pkg-plist
Normal file
@ -0,0 +1,132 @@
|
||||
include/cppurses/cppurses.hpp
|
||||
include/cppurses/cppurses_painter.hpp
|
||||
include/cppurses/cppurses_system.hpp
|
||||
include/cppurses/cppurses_terminal.hpp
|
||||
include/cppurses/cppurses_widget.hpp
|
||||
include/cppurses/painter/attribute.hpp
|
||||
include/cppurses/painter/brush.hpp
|
||||
include/cppurses/painter/color.hpp
|
||||
include/cppurses/painter/color_definition.hpp
|
||||
include/cppurses/painter/detail/extended_char.hpp
|
||||
include/cppurses/painter/detail/find_empty_space.hpp
|
||||
include/cppurses/painter/detail/is_paintable.hpp
|
||||
include/cppurses/painter/detail/screen.hpp
|
||||
include/cppurses/painter/detail/screen_descriptor.hpp
|
||||
include/cppurses/painter/detail/screen_mask.hpp
|
||||
include/cppurses/painter/detail/screen_state.hpp
|
||||
include/cppurses/painter/detail/staged_changes.hpp
|
||||
include/cppurses/painter/glyph.hpp
|
||||
include/cppurses/painter/glyph_matrix.hpp
|
||||
include/cppurses/painter/glyph_string.hpp
|
||||
include/cppurses/painter/painter.hpp
|
||||
include/cppurses/painter/palette.hpp
|
||||
include/cppurses/painter/palettes.hpp
|
||||
include/cppurses/painter/rgb.hpp
|
||||
include/cppurses/painter/utility/wchar_to_bytes.hpp
|
||||
include/cppurses/system/animation_engine.hpp
|
||||
include/cppurses/system/detail/chrono_duration_hash.hpp
|
||||
include/cppurses/system/detail/event_engine.hpp
|
||||
include/cppurses/system/detail/event_queue.hpp
|
||||
include/cppurses/system/detail/find_widget_at.hpp
|
||||
include/cppurses/system/detail/fps_to_period.hpp
|
||||
include/cppurses/system/detail/is_sendable.hpp
|
||||
include/cppurses/system/detail/timer_event_loop.hpp
|
||||
include/cppurses/system/detail/user_input_event_loop.hpp
|
||||
include/cppurses/system/event.hpp
|
||||
include/cppurses/system/event_loop.hpp
|
||||
include/cppurses/system/events/child_event.hpp
|
||||
include/cppurses/system/events/delete_event.hpp
|
||||
include/cppurses/system/events/disable_event.hpp
|
||||
include/cppurses/system/events/enable_event.hpp
|
||||
include/cppurses/system/events/focus_event.hpp
|
||||
include/cppurses/system/events/input_event.hpp
|
||||
include/cppurses/system/events/key.hpp
|
||||
include/cppurses/system/events/mouse.hpp
|
||||
include/cppurses/system/events/move_event.hpp
|
||||
include/cppurses/system/events/paint_event.hpp
|
||||
include/cppurses/system/events/resize_event.hpp
|
||||
include/cppurses/system/events/timer_event.hpp
|
||||
include/cppurses/system/focus.hpp
|
||||
include/cppurses/system/shortcuts.hpp
|
||||
include/cppurses/system/system.hpp
|
||||
include/cppurses/terminal/input.hpp
|
||||
include/cppurses/terminal/output.hpp
|
||||
include/cppurses/terminal/terminal.hpp
|
||||
include/cppurses/widget/area.hpp
|
||||
include/cppurses/widget/border.hpp
|
||||
include/cppurses/widget/children_data.hpp
|
||||
include/cppurses/widget/cursor_data.hpp
|
||||
include/cppurses/widget/detail/border_offset.hpp
|
||||
include/cppurses/widget/detail/graph_tree.hpp
|
||||
include/cppurses/widget/focus_policy.hpp
|
||||
include/cppurses/widget/layout.hpp
|
||||
include/cppurses/widget/layouts/horizontal.hpp
|
||||
include/cppurses/widget/layouts/stack.hpp
|
||||
include/cppurses/widget/layouts/vertical.hpp
|
||||
include/cppurses/widget/point.hpp
|
||||
include/cppurses/widget/size_policy.hpp
|
||||
include/cppurses/widget/widget.hpp
|
||||
include/cppurses/widget/widget_slots.hpp
|
||||
include/cppurses/widget/widgets/checkbox.hpp
|
||||
include/cppurses/widget/widgets/color_select.hpp
|
||||
include/cppurses/widget/widgets/confirm_button.hpp
|
||||
include/cppurses/widget/widgets/cycle_box.hpp
|
||||
include/cppurses/widget/widgets/cycle_stack.hpp
|
||||
include/cppurses/widget/widgets/detail/nearly_equal.hpp
|
||||
include/cppurses/widget/widgets/detail/slider_logic.hpp
|
||||
include/cppurses/widget/widgets/detail/textbox_base.hpp
|
||||
include/cppurses/widget/widgets/fixed_height.hpp
|
||||
include/cppurses/widget/widgets/fixed_width.hpp
|
||||
include/cppurses/widget/widgets/horizontal_scrollbar.hpp
|
||||
include/cppurses/widget/widgets/horizontal_slider.hpp
|
||||
include/cppurses/widget/widgets/label.hpp
|
||||
include/cppurses/widget/widgets/labeled_cycle_box.hpp
|
||||
include/cppurses/widget/widgets/labeled_number_edit.hpp
|
||||
include/cppurses/widget/widgets/line_edit.hpp
|
||||
include/cppurses/widget/widgets/list.hpp.idk
|
||||
include/cppurses/widget/widgets/log.hpp
|
||||
include/cppurses/widget/widgets/matrix_display.hpp
|
||||
include/cppurses/widget/widgets/menu.hpp
|
||||
include/cppurses/widget/widgets/menu_stack.hpp
|
||||
include/cppurses/widget/widgets/number_edit.hpp
|
||||
include/cppurses/widget/widgets/open_file.hpp
|
||||
include/cppurses/widget/widgets/push_button.hpp
|
||||
include/cppurses/widget/widgets/save_file.hpp
|
||||
include/cppurses/widget/widgets/status_bar.hpp
|
||||
include/cppurses/widget/widgets/text_display.hpp
|
||||
include/cppurses/widget/widgets/textbox.hpp
|
||||
include/cppurses/widget/widgets/titlebar.hpp
|
||||
include/cppurses/widget/widgets/toggle_button.hpp
|
||||
include/cppurses/widget/widgets/vertical_scrollbar.hpp
|
||||
include/cppurses/widget/widgets/vertical_slider.hpp
|
||||
include/optional/bad_optional_access.hpp
|
||||
include/optional/detail/aligned_storage.hpp
|
||||
include/optional/detail/conjunction.hpp
|
||||
include/optional/none.hpp
|
||||
include/optional/optional.hpp
|
||||
include/optional/optional_free_functions.hpp
|
||||
include/optional/optional_fwd.hpp
|
||||
include/optional/optional_reference.hpp
|
||||
include/optional/optional_value.hpp
|
||||
include/optional/optional_void.hpp
|
||||
include/signals/connection.hpp
|
||||
include/signals/detail/connection_impl.hpp
|
||||
include/signals/detail/connection_impl_base.hpp
|
||||
include/signals/detail/function_type_splitter.hpp
|
||||
include/signals/detail/signal_impl.hpp
|
||||
include/signals/detail/slot_iterator.hpp
|
||||
include/signals/expired_slot.hpp
|
||||
include/signals/optional_last_value.hpp
|
||||
include/signals/position.hpp
|
||||
include/signals/shared_connection_block.hpp
|
||||
include/signals/signal.hpp
|
||||
include/signals/signal_fwd.hpp
|
||||
include/signals/signals.hpp
|
||||
include/signals/slot.hpp
|
||||
include/signals/slot_base.hpp
|
||||
include/signals/slot_fwd.hpp
|
||||
lib/libcppurses.so
|
||||
share/CPPursesLibrary/cmake/CPPursesLibraryConfig-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
share/CPPursesLibrary/cmake/CPPursesLibraryConfig.cmake
|
||||
share/OptionalLibrary/cmake/OptionalLibraryConfig.cmake
|
||||
share/SignalsLibrary/cmake/SignalsLibraryConfig.cmake
|
Loading…
Reference in New Issue
Block a user