BSD Ports

devel/p5-Method-Alias 1.03_1 FreeBSD

Create method aliases (and do it safely)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
12.5 KiB, 26.2 KiB installed

Description

Method::Alias is designed to be used as a pragma, to which you provide a set of pairs of method names. Only very minimal checking is done, if you wish to create infinite loops or what have you, you are more than welcome to shoot yourself in the foot.

# Add a single method alias use Method::Alias 'foo' => 'bar';

# Add several method aliases use Method::Alias 'a' => 'b', 'c' => 'd', 'e' => 'f';

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Method-Alias1.03_1
DragonFlydevel/p5-Method-Alias1.03_1

Install

Binary package:

pkg install p5-Method-Alias

From the ports tree:

cd /usr/ports/devel/p5-Method-Alias/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Method-Alias>0:devel/p5-Method-Alias

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.03_11.03_11.03_11.03_11.03_1
FreeBSD:14:quarterly1.03_11.03_1n/a1.03_11.03_1
FreeBSD:15:latest1.03_11.03_1n/a1.03_11.03_1
FreeBSD:15:quarterly1.03_11.03_1n/an/an/a
FreeBSD:16:latest1.03_11.03_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Method/Alias.pm
  • %%PERL5_MAN3%%/Method::Alias.3.gz
distinfo 1
FileSizeSHA256
Method-Alias-1.03.tar.gz21253d3737e0feda7c7aebd880ee378ac009ab3aa6da44a7e885c2f8d31d3a13e1a53
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.