Add devel/p5-UNIVERSAL-ref 0.14, a Perl module that turns the ref()

builtin function into a multimethod.
This commit is contained in:
Anton Berezin 2012-12-13 10:28:44 +00:00
parent e3d0316981
commit 9217d0ff50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308840
5 changed files with 35 additions and 0 deletions

View file

@ -2827,6 +2827,7 @@
SUBDIR += p5-UNIVERSAL-can
SUBDIR += p5-UNIVERSAL-isa
SUBDIR += p5-UNIVERSAL-moniker
SUBDIR += p5-UNIVERSAL-ref
SUBDIR += p5-UNIVERSAL-require
SUBDIR += p5-UNIVERSAL-which
SUBDIR += p5-UUID

View file

@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= UNIVERSAL-ref
PORTVERSION= 0.14
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JJORE
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Turns ref() into a multimethod
BUILD_DEPENDS= p5-B-Utils>=0:${PORTSDIR}/devel/p5-B-Utils
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= UNIVERSAL::ref.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (UNIVERSAL-ref-0.14.tar.gz) = 35d815c49090d57b7051806ae1c4844879131791de1b861613c55a90a46b28ab
SIZE (UNIVERSAL-ref-0.14.tar.gz) = 13355

View file

@ -0,0 +1,5 @@
This module changes the behavior of the builtin function ref(). If ref()
is called on an object that has requested an overloaded ref, the
object's ->ref method will be called and its return value used instead.
WWW: http://search.cpan.org/dist/UNIVERSAL-ref/

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/UNIVERSAL/ref.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL/ref/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL/ref/ref.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL/ref/ref.so
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL/ref
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/UNIVERSAL