diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-08-05 10:54:42 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-08-05 10:57:27 +0900 |
commit | b55bde09b21a27008e0ba4ab0638b3cbc8225c9b (patch) | |
tree | 9385a48f4f1e61c7c89efa1a2cd674900a831f17 /misc/py-cppman/files/patch-setup.py | |
parent | graphics/mesa-devel: update to 25.2.b.973 (diff) |
misc/py-cppman: add port: C++ 98/11/14/17/20 manual pages on the terminal
Cppman is a tool that provides C++ manual pages on the terminal. It
acts as a convenient interface to view formatted C++ documentation
directly from cplusplus.com and cppreference.com, allowing developers
to access relevant information quickly without switching to a web
browser.
Features:
- Supports two backends (switch it with cppman -s):
cplusplus.com
cppreference.com
- Syntax highlighting support for sections and example source code.
- Usage/Interface similar to the 'man' command
- Hyperlink between manpages (only available when pager=vim)
- Press Ctrl-] when cursor is on keyword to go forward and Ctrl-T to
go backward.
- You can also double-click on keyword to go forward and right-click
to go backward.
- Frequently update to support cplusplus.com.
WWW: https://github.com/aitjcize/cppman
Co-authored-by: freebsd@fron.io
PR: 284157
Reported by: freebsd@fron.io (initial version)
Diffstat (limited to 'misc/py-cppman/files/patch-setup.py')
-rw-r--r-- | misc/py-cppman/files/patch-setup.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/py-cppman/files/patch-setup.py b/misc/py-cppman/files/patch-setup.py new file mode 100644 index 000000000000..23eb8489cf39 --- /dev/null +++ b/misc/py-cppman/files/patch-setup.py @@ -0,0 +1,15 @@ +--- setup.py.orig 2025-07-22 07:20:26 UTC ++++ setup.py +@@ -9,10 +9,9 @@ _data_files = [ + ] + + _data_files = [ +- ('share/doc/cppman', ['README.rst', 'AUTHORS', 'COPYING', 'ChangeLog']), + ('share/man/man1', ['misc/cppman.1']), +- ('share/bash-completion/completions', ['misc/completions/cppman.bash']), +- ('share/zsh/vendor-completions/', ['misc/completions/zsh/_cppman']), ++ ('etc/bash_completion.d', ['misc/completions/cppman.bash']), ++ ('share/zsh/site-functions/', ['misc/completions/zsh/_cppman']), + ('share/fish/vendor_completions.d/', ['misc/completions/fish/cppman.fish']) + ] + |