devel/p5-B-Hooks-AtRuntime 8 FreeBSD
Lower blocks from compile time to runtime
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- devel, perl5
- Package size
- 14.0 KiB, 26.2 KiB installed
Description
B::Hooks::AtRuntime allows code that runs at compile-time to do something at runtime. A block passed to at_runtime gets compiled into the code that's currently compiling, and will be called when control reaches that point at runtime. In the example in the SYNOPSIS, the warnings will occur in order, and if that section of code runs more than once, so will all three warnings.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-B-Hooks-AtRuntime | 8 |
| DragonFly | devel/p5-B-Hooks-AtRuntime | 8 |
| HardenedBSD | devel/p5-B-Hooks-AtRuntime | 8 |
| GhostBSD | devel/p5-B-Hooks-AtRuntime | 8 |
Install
Binary package:
pkg install p5-B-Hooks-AtRuntime
From the ports tree:
cd /usr/ports/devel/p5-B-Hooks-AtRuntime/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-B-Hooks-AtRuntime>0:devel/p5-B-Hooks-AtRuntime
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 | 8 | 8 | 8 | 8 | 8 |
| FreeBSD:14:quarterly | 8 | 8 | n/a | 8 | 8 |
| FreeBSD:15:latest | 8 | 8 | n/a | 8 | 8 |
| FreeBSD:15:quarterly | 8 | 8 | n/a | n/a | n/a |
| FreeBSD:16:latest | 8 | 8 | 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 2
p5-Exporter-Tiny>=0: devel/p5-Exporter-Tinyp5-Sub-Name>=0.05,1: devel/p5-Sub-Name
Runtime 2
p5-Exporter-Tiny>=0: devel/p5-Exporter-Tinyp5-Sub-Name>=0.05,1: devel/p5-Sub-Name
Test 2
p5-Test-Exception>=0.31: devel/p5-Test-Exceptionp5-Test-Warn>=0.22: devel/p5-Test-Warn
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_ARCH%%/B/Hooks/AtRuntime.pm
- %%SITE_ARCH%%/auto/B/Hooks/AtRuntime/AtRuntime.so
- %%PERL5_MAN3%%/B::Hooks::AtRuntime.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| B-Hooks-AtRuntime-8.tar.gz | 164027 | ca7f8231e48c0477f688287fd0b211fc98ed4668fa4fb7133b1a8d75e92c4132 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.