devel/p5-Sub-Alias 1.0.0 FreeBSD
Simple subroutine alias
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, perl5
- Package size
- 6.0 KiB, 7.8 KiB installed
Description
This module does a compile-time code injection to let you define subroutine aliases based on its name.
This differs from p5-Sub-Name in that it defines a typeglob in a more correct way and keeps you from manipulating the symbols table directly. You can use the subroutine as if it was defined the ordinary way then.
This is particularly useful in the cases when you need to have several identical subroutines with different names.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Sub-Alias | 1.0.0 |
| DragonFly | devel/p5-Sub-Alias | 1.0.0 |
Install
Binary package:
pkg install p5-Sub-Alias
From the ports tree:
cd /usr/ports/devel/p5-Sub-Alias/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Sub-Alias>0:devel/p5-Sub-Alias
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 | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 |
| FreeBSD:14:quarterly | 1.0.0 | 1.0.0 | n/a | 1.0.0 | 1.0.0 |
| FreeBSD:15:latest | 1.0.0 | 1.0.0 | n/a | 1.0.0 | 1.0.0 |
| FreeBSD:15:quarterly | 1.0.0 | 1.0.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.0 | 1.0.0 | 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 1
p5-Keyword-Declare>=0: devel/p5-Keyword-Declare
Runtime 1
p5-Keyword-Declare>=0: devel/p5-Keyword-Declare
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- devel/p5-B-Hooks-EndOfScope
- devel/p5-CPAN-Requirements-Dynamic
- devel/p5-Data-OptList
- devel/p5-ExtUtils-Config
- devel/p5-ExtUtils-Helpers
- devel/p5-ExtUtils-InstallPaths
- devel/p5-Keyword-Declare
- devel/p5-Keyword-Simple
- devel/p5-Module-Build-Tiny
- devel/p5-Module-Implementation
- devel/p5-Module-Runtime
- devel/p5-PPR
- devel/p5-Params-Util
- devel/p5-Sub-Exporter
- devel/p5-Sub-Exporter-Progressive
- devel/p5-Sub-Install
- devel/p5-Variable-Magic
- lang/p5-Try-Tiny
- lang/perl5.42
Run dependencies 14
- devel/p5-B-Hooks-EndOfScope
- devel/p5-Data-OptList
- devel/p5-Keyword-Declare
- devel/p5-Keyword-Simple
- devel/p5-Module-Implementation
- devel/p5-Module-Runtime
- devel/p5-PPR
- devel/p5-Params-Util
- devel/p5-Sub-Exporter
- devel/p5-Sub-Exporter-Progressive
- devel/p5-Sub-Install
- devel/p5-Variable-Magic
- lang/p5-Try-Tiny
- lang/perl5.42
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Sub/Alias.pm
- %%PERL5_MAN3%%/Sub::Alias.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Sub-Alias-1.0.0.tar.gz | 4851 | f3c9d1637b7dac83c0e294c250fb73482076cf1fc3cecb67c2d67eda90fbb250 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.