BSD Ports

devel/libcsptr 2.0.4.24 FreeBSD

Smart pointers for the (GNU) C programming language

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
da28c3f6af
License
MIT
Categories
devel
Package size
8.9 KiB, 21.4 KiB installed

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)

In the other systems

SystemPortVersion
FreeBSDdevel/libcsptr2.0.4.24
DragonFlydevel/libcsptr2.0.4.24

Install

Binary package:

pkg install libcsptr

From the ports tree:

cd /usr/ports/devel/libcsptr/ && make install clean

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

RUN_DEPENDS=	libcsptr>0:devel/libcsptr
LIB_DEPENDS=	libcsptr.so:devel/libcsptr

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:latest2.0.4.242.0.4.242.0.4.242.0.4.242.0.4.24
FreeBSD:14:quarterly2.0.4.242.0.4.24n/a2.0.4.242.0.4.24
FreeBSD:15:latest2.0.4.242.0.4.24n/a2.0.4.242.0.4.24
FreeBSD:15:quarterly2.0.4.242.0.4.24n/an/an/a
FreeBSD:16:latest2.0.4.242.0.4.24n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

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

Build dependencies 15

No port depends on this one.

Configuration

No options to configure.

USES
cmake:testing localbase
Service scripts
none

Files

Manual pages 1
  • csptr(3)
pkg-plist 7
  • include/csptr/array.h
  • include/csptr/common.h
  • include/csptr/config.h
  • include/csptr/smalloc.h
  • include/csptr/smart_ptr.h
  • lib/libcsptr.so
  • share/man/man3/csptr.3.gz
distinfo 1
FileSizeSHA256
Snaipe-libcsptr-v2.0.4-24-gac73451_GH0.tar.gz323254c5a38c65219fc3013504d13e27b44da7c91a758252297041916abf14e744f1d

Commit history 1

DateCommitCreditsLog message
da28c3f6af Yuri Victorovich */*: CMake 4 compatibility
PR: 295319