devel/p5-FFI-C 0.15 FreeBSD
C data types for FFI
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 51.1 KiB, 135.8 KiB installed
Description
FFI::C provides tools for building classes to interface for common C data types. Arrays, struct, union and nested types based on those are supported.
Core FFI::Platypus also provides FFI::Platypus::Record for manipulating and passing structured data. Typically you want to use FFI::C instead, the main exception is when you need to pass structured data by value instead of by reference.
To work with C APIs that work with C file pointers you can use FFI::C::File and FFI::C::PosixFile. For C APIs that expose the POSIX stat structure use FFI::C::Stat.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-FFI-C | 0.15 |
| DragonFly | devel/p5-FFI-C | 0.15 |
| HardenedBSD | devel/p5-FFI-C | 0.15 |
| GhostBSD | devel/p5-FFI-C | 0.15 |
Install
Binary package:
pkg install p5-FFI-C
From the ports tree:
cd /usr/ports/devel/p5-FFI-C/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-FFI-C>0:devel/p5-FFI-C
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 | 0.15 | 0.15 | - | 0.15 | 0.15 |
| FreeBSD:14:quarterly | 0.15 | 0.15 | n/a | 0.15 | 0.15 |
| FreeBSD:15:latest | 0.15 | 0.15 | n/a | 0.15 | 0.15 |
| FreeBSD:15:quarterly | 0.15 | 0.15 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.15 | 0.15 | 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.
Build 6
p5-Class-Inspector>=0: devel/p5-Class-Inspectorp5-FFI-Platypus>=1.24: devel/p5-FFI-Platypusp5-FFI-Platypus-Type-Enum>=0.03: devel/p5-FFI-Platypus-Type-Enump5-Ref-Util>=0: devel/p5-Ref-Utilp5-Sub-Identify>=0.05: devel/p5-Sub-Identifyp5-Sub-Install>=0: devel/p5-Sub-Install
Runtime 6
p5-Class-Inspector>=0: devel/p5-Class-Inspectorp5-FFI-Platypus>=1.24: devel/p5-FFI-Platypusp5-FFI-Platypus-Type-Enum>=0.03: devel/p5-FFI-Platypus-Type-Enump5-Ref-Util>=0: devel/p5-Ref-Utilp5-Sub-Identify>=0.05: devel/p5-Sub-Identifyp5-Sub-Install>=0: devel/p5-Sub-Install
Test 3
p5-Capture-Tiny>=0: devel/p5-Capture-Tinyp5-Path-Tiny>=0: devel/p5-Path-Tinyp5-Test-Simple>=1.302200: devel/p5-Test-Simple
The full lists below include those, and their dependencies in turn.
Build dependencies 13
Run dependencies 13
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 24
- %%SITE_PERL%%/FFI/C.pm
- %%SITE_PERL%%/FFI/C/Array.pm
- %%SITE_PERL%%/FFI/C/ArrayDef.pm
- %%SITE_PERL%%/FFI/C/Def.pm
- %%SITE_PERL%%/FFI/C/FFI.pm
- %%SITE_PERL%%/FFI/C/File.pm
- %%SITE_PERL%%/FFI/C/PosixFile.pm
- %%SITE_PERL%%/FFI/C/Struct.pm
- %%SITE_PERL%%/FFI/C/StructDef.pm
- %%SITE_PERL%%/FFI/C/Union.pm
- %%SITE_PERL%%/FFI/C/UnionDef.pm
- %%SITE_PERL%%/FFI/C/Util.pm
- %%PERL5_MAN3%%/FFI::C.3.gz
- %%PERL5_MAN3%%/FFI::C::Array.3.gz
- %%PERL5_MAN3%%/FFI::C::ArrayDef.3.gz
- %%PERL5_MAN3%%/FFI::C::Def.3.gz
- %%PERL5_MAN3%%/FFI::C::FFI.3.gz
- %%PERL5_MAN3%%/FFI::C::File.3.gz
- %%PERL5_MAN3%%/FFI::C::PosixFile.3.gz
- %%PERL5_MAN3%%/FFI::C::Struct.3.gz
- %%PERL5_MAN3%%/FFI::C::StructDef.3.gz
- %%PERL5_MAN3%%/FFI::C::Union.3.gz
- %%PERL5_MAN3%%/FFI::C::UnionDef.3.gz
- %%PERL5_MAN3%%/FFI::C::Util.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| FFI-C-0.15.tar.gz | 44302 | eb70607e6673bccb18df27f4cee459fb6dc418e0da93e692cdc3555fe40d2f4e |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.