forked from Lainports/freebsd-ports
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';
WWW: http://search.cpan.org/dist/Method-Alias
22 lines
451 B
Makefile
22 lines
451 B
Makefile
# New ports collection makefile for: p5-Method-Alias
|
|
# Date created: 24 May 2007
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Method-Alias
|
|
PORTVERSION= 1.03
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Create method aliases (and do it safely)
|
|
|
|
MAN3= Method::Alias.3
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
.include <bsd.port.mk>
|