Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
libcsptr Smart pointers for the (GNU) C programming language
2.0.4.24 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.0.4.24Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-07-03 23:06:08
Last Update: 2026-09-29 08:43:34
Commit Hash: da28c3f
License: MIT
WWW:
https://snai.pe/posts/c-smart-pointers
https://github.com/Snaipe/libcsptr
Description: #
libcsptr is an attempt to bring smart pointer constructs to the (GNU) C programming language. Features: * unique_ptr, shared_ptr macros, and smart type attribute * Destructor support for cleanup * Custom variable metadata on allocation * Cross-platform: tested under linux 3.18.6-1, Mac OS X Yosemite 10.10, and Windows 7 (with MinGW and the Cygwin port of GCC)
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (14 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libcsptr-2.0.4.24/catalog.mk
  3. /usr/local/share/licenses/libcsptr-2.0.4.24/LICENSE
  4. /usr/local/share/licenses/libcsptr-2.0.4.24/MIT
  5. include/csptr/array.h
  6. include/csptr/common.h
  7. include/csptr/config.h
  8. include/csptr/smalloc.h
  9. include/csptr/smart_ptr.h
  10. lib/libcsptr.so
  11. share/man/man3/csptr.3.gz
  12. @owner
  13. @group
  14. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libcsptr>0:devel/libcsptr
To install the port: #
cd /usr/ports/devel/libcsptr/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libcsptr
  • pkg install libcsptr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libcsptr
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1656888806 SHA256 (Snaipe-libcsptr-v2.0.4-24-gac73451_GH0.tar.gz) = 4c5a38c65219fc3013504d13e27b44da7c91a758252297041916abf14e744f1d SIZE (Snaipe-libcsptr-v2.0.4-24-gac73451_GH0.tar.gz) = 32325

Packages (timestamps in pop-ups are UTC): #
libcsptr
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.4.242.0.4.242.0.4.242.0.4.242.0.4.24
FreeBSD:14:quarterly2.0.4.242.0.4.24-2.0.4.242.0.4.24
FreeBSD:15:latest2.0.4.242.0.4.24n/a2.0.4.24n/a
FreeBSD:15:quarterly2.0.4.242.0.4.24n/a-n/a
FreeBSD:16:latest2.0.4.242.0.4.24n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Test dependencies: #
  1. check>0 : devel/check
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
devel_libcsptr
USES: #
cmake:testing localbase
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Snaipe/libcsptr/tar.gz/v2.0.4-24-gac73451?dummy=/
Collapse this list.

Number of commits found: 4 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.4.24
29 Sep 2026 08:43:34
commit hash: da28c3f6af875c81e75c98c20978068a9a40735fcommit hash: da28c3f6af875c81e75c98c20978068a9a40735fcommit hash: da28c3f6af875c81e75c98c20978068a9a40735fcommit hash: da28c3f6af875c81e75c98c20978068a9a40735f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
*/*: CMake 4 compatibility

PR:	295319
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.0.4.24
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.0.4.24
03 Jul 2022 23:04:51
commit hash: a5ee80bea3ebc16aa9875b0718a4ddd917a60a36commit hash: a5ee80bea3ebc16aa9875b0718a4ddd917a60a36commit hash: a5ee80bea3ebc16aa9875b0718a4ddd917a60a36commit hash: a5ee80bea3ebc16aa9875b0718a4ddd917a60a36 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/libcsptr: New port: Smart pointers for the (GNU) C programming language

Number of commits found: 4