diff options
Diffstat (limited to 'devel/p5-isa')
-rw-r--r-- | devel/p5-isa/Makefile | 19 | ||||
-rw-r--r-- | devel/p5-isa/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-isa/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-isa/pkg-plist | 2 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-isa/Makefile b/devel/p5-isa/Makefile new file mode 100644 index 000000000000..a7f7ba472320 --- /dev/null +++ b/devel/p5-isa/Makefile @@ -0,0 +1,19 @@ +PORTNAME= isa +PORTVERSION= 2.001 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:TOBYINK +PKGNAMEPREFIX= p5- + +MAINTAINER= dvl@FreeBSD.org +COMMENT= isa - is not the isa operator +WWW= https://metacpan.org/pod/isa + +LICENSE= ART10 + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-isa/distinfo b/devel/p5-isa/distinfo new file mode 100644 index 000000000000..07f9749263de --- /dev/null +++ b/devel/p5-isa/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1753113333 +SHA256 (isa-2.001.tar.gz) = 0f947dd5a11845e74db40dadc2e8c6d5766539687f4a08a3b1ef418326c4585b +SIZE (isa-2.001.tar.gz) = 15623 diff --git a/devel/p5-isa/pkg-descr b/devel/p5-isa/pkg-descr new file mode 100644 index 000000000000..1554f10369a3 --- /dev/null +++ b/devel/p5-isa/pkg-descr @@ -0,0 +1,9 @@ +The new isa operator in Perl 5.32 is pretty great, but if you need to support +legacy versions of Perl, you can't use it yet. This module gives you isa-like +functions you can use in Perl 5.6 and above. + +If you've got Type::Tiny::XS installed, you will probably find that this module +is faster than the native isa operator! + +The functions exported respect inheritance and allow classes to override their +isa method as you'd expect. diff --git a/devel/p5-isa/pkg-plist b/devel/p5-isa/pkg-plist new file mode 100644 index 000000000000..8804bfc8a804 --- /dev/null +++ b/devel/p5-isa/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/isa.pm +%%PERL5_MAN3%%/isa.3.gz |