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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/libcsptr | 2.0.4.24 |
| DragonFly | devel/libcsptr | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.4.24 | 2.0.4.24 | 2.0.4.24 | 2.0.4.24 | 2.0.4.24 |
| FreeBSD:14:quarterly | 2.0.4.24 | 2.0.4.24 | n/a | 2.0.4.24 | 2.0.4.24 |
| FreeBSD:15:latest | 2.0.4.24 | 2.0.4.24 | n/a | 2.0.4.24 | 2.0.4.24 |
| FreeBSD:15:quarterly | 2.0.4.24 | 2.0.4.24 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.4.24 | 2.0.4.24 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
check>0: devel/check
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
| File | Size | SHA256 |
|---|---|---|
| Snaipe-libcsptr-v2.0.4-24-gac73451_GH0.tar.gz | 32325 | 4c5a38c65219fc3013504d13e27b44da7c91a758252297041916abf14e744f1d |