Port details |
- p5-FFI-Platypus-Type-PtrObject Platypus custom type for an object wrapped around an opaque pointer
- 0.03 devel =2 0.03Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-10-03 02:27:44
- Last Update: 2024-08-15 15:30:59
- Commit Hash: 352d161
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/FFI-Platypus-Type-PtrObject
- Description:
- FFI::Platypus::Type::PtrObject is a helper type for FFI::Platypus that handles
type checking for the common pattern where a Perl class is a simple wrapper
around an opaque pointer. The class should be implemented as a hash reference,
and the pointer itself is expected to be stored on the ptr key. If the caller of
the interface (Perl) is responsible for cleaning up the memory, then it normally
should be done in the DESTROY method (as above).
If you do not pass in the correct type, it will be detected before the C code is
called and an exception will be thrown. (otherwise you would probably get a
segment violation SEGV).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-FFI-Platypus-Type-PtrObject>0:devel/p5-FFI-Platypus-Type-PtrObject
- To install the port:
- cd /usr/ports/devel/p5-FFI-Platypus-Type-PtrObject/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-FFI-Platypus-Type-PtrObject
- pkg install p5-FFI-Platypus-Type-PtrObject
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-FFI-Platypus-Type-PtrObject
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1663672726
SHA256 (FFI-Platypus-Type-PtrObject-0.03.tar.gz) = e1e94907ef90b40360a9a6c03d295a13047d4f6c9b56acaf1df2b54d17307f74
SIZE (FFI-Platypus-Type-PtrObject-0.03.tar.gz) = 17374
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-FFI-Platypus>=1.11 : devel/p5-FFI-Platypus
- p5-Ref-Util>=0 : devel/p5-Ref-Util
- perl5>=5.36<5.37 : lang/perl5.36
- perl5>=5.36<5.37 : lang/perl5.36
- Test dependencies:
-
- p5-Test-Simple>=1.302200 : devel/p5-Test-Simple
- p5-Test2-Tools-FFI>=0 : devel/p5-Test2-Tools-FFI
- Runtime dependencies:
-
- p5-FFI-Platypus>=1.11 : devel/p5-FFI-Platypus
- p5-Ref-Util>=0 : devel/p5-Ref-Util
- perl5>=5.36<5.37 : lang/perl5.36
- This port is required by:
- for Build
-
- archivers/p5-Archive-Libarchive
- for Run
-
- archivers/p5-Archive-Libarchive
Configuration Options:
- No options to configure
- Options name:
- devel_p5-FFI-Platypus-Type-PtrObject
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.03 15 Aug 2024 15:30:59 |
Po-Chuan Hsieh (sunpoet) |
*: Change *_DEPENDS from p5-Test2-Suite to p5-Test-Simple
- Bump PORTREVISION of the following dependent ports for dependency change
- databases/p5-DBIx-QuickDB
- devel/p5-Shell-Config-Generate
- devel/p5-Test-Archive-Libarchive
- devel/p5-Test-Future-IO-Impl
- devel/p5-Test2-Harness
- devel/p5-Test2-Harness-UI
- devel/p5-Test2-Plugin-DBIProfile
Test2-Suite has been merged into Test-Simple since 1.302200.
Reference: https://metacpan.org/dist/Test-Simple/changes |
0.03 03 Oct 2022 02:10:14 |
Po-Chuan Hsieh (sunpoet) |
devel/p5-FFI-Platypus-Type-PtrObject: Add p5-FFI-Platypus-Type-PtrObject 0.03
FFI::Platypus::Type::PtrObject is a helper type for FFI::Platypus that handles
type checking for the common pattern where a Perl class is a simple wrapper
around an opaque pointer. The class should be implemented as a hash reference,
and the pointer itself is expected to be stored on the ptr key. If the caller of
the interface (Perl) is responsible for cleaning up the memory, then it normally
should be done in the DESTROY method (as above).
If you do not pass in the correct type, it will be detected before the C code is
called and an exception will be thrown. (otherwise you would probably get a
segment violation SEGV). |
Number of commits found: 2
|