FreeBSD Ports

misc/py-cppman 0.6.3_1

C++ 98/11/14/17/20 manual pages on the terminal

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
45ea4cf85c
License
GPLv3
Categories
misc, python
Package size
696.6 KiB, 3424.0 KiB installed

Description

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.

Install

As a binary package — by origin, or by package name:

pkg install misc/py-cppman
pkg install py312-cppman

From the ports tree:

cd /usr/ports/misc/py-cppman/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-cppman>0:misc/py-cppman

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.6.3_10.6.3_1-0.5.90.6.3_1
FreeBSD:14:quarterly0.6.3_10.6.3_1n/a-0.6.3_1
FreeBSD:15:latest0.6.3_10.6.3_1n/a0.5.90.5.9
FreeBSD:15:quarterly0.6.3_10.6.3_1n/an/an/a
FreeBSD:16:latest0.6.3_10.6.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 9

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 20

No port depends on this one.

Configuration

Options name: misc_cppman

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
python shebangfix
Service scripts
none

Message after installing

To support vim on nvim as pager, cppman needs fdescfs(5)
to be mounted on /dev/fd.

If /dev/fd is not already mounted:

	mount -t fdescfs fdesc /dev/fd

To make it permanent, add the following line to /etc/fstab:

	fdesc	/dev/fd		fdescfs		rw	0	0

Files

distinfo 1
FileSizeSHA256
cppman-0.6.3.tar.gz81443416a782b87b0848c5202b61965402258f8fc8260cbf0867cb876992eb3d046eb0
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
45ea4cf85c Michael Osipov */*: Bump consumers of www/beautifulsoup4 after port rename
PR: 297837 Approved by: wen (maintainer via email)
081992d31c Hiroki Tagato misc/py-cppman: Update to 0.6.3
While here, convert to USE_PYTHON=pep517. Changelog: https://github.com/aitjcize/cppman/blob/v0.6.3/ChangeLog Reported by: GitHub (watch releases)