mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
add p5-Sub-Multi 0.002
Data::Bind-based multi-sub dispatch
This commit is contained in:
parent
75ea1605ef
commit
a511067cd8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169278
@ -1308,6 +1308,7 @@
|
||||
SUBDIR += p5-Sub-Exporter
|
||||
SUBDIR += p5-Sub-Install
|
||||
SUBDIR += p5-Sub-Installer
|
||||
SUBDIR += p5-Sub-Multi
|
||||
SUBDIR += p5-Sub-Name
|
||||
SUBDIR += p5-Sub-Override
|
||||
SUBDIR += p5-Sub-Uplevel
|
||||
|
27
devel/p5-Sub-Multi/Makefile
Normal file
27
devel/p5-Sub-Multi/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: Sub::Multi
|
||||
# Date created: Aug 1, 2006
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Sub-Multi
|
||||
PORTVERSION= 0.002
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Data::Bind-based multi-sub dispatch
|
||||
|
||||
BUILD_DEPENDS= p5-Class-Multimethods-Pure>=0.11:${PORTSDIR}/devel/p5-Class-Multimethods-Pure \
|
||||
p5-Data-Bind>=0.26:${PORTSDIR}/devel/p5-Data-Bind \
|
||||
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Sub::Multi.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-Sub-Multi/distinfo
Normal file
3
devel/p5-Sub-Multi/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Sub-Multi-0.002.tar.gz) = ebfee488846c3756b7a2fb418bb64707
|
||||
SHA256 (Sub-Multi-0.002.tar.gz) = bdb703ae47141dfbadc02ee415062ae0a61bfc7198bf3cab321a9a3132b0bb64
|
||||
SIZE (Sub-Multi-0.002.tar.gz) = 12583
|
10
devel/p5-Sub-Multi/pkg-descr
Normal file
10
devel/p5-Sub-Multi/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
Perl6 allows multiple subs and methods with the same name, differing only in
|
||||
their signature.
|
||||
|
||||
multi sub bar (Dog $foo) {?}
|
||||
multi sub bar (Cat $foo) {?}
|
||||
|
||||
Dispatching will happen based on the runtime signature of the subroutine or
|
||||
method call.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Sub-Multi/
|
5
devel/p5-Sub-Multi/pkg-plist
Normal file
5
devel/p5-Sub-Multi/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%SITE_PERL%%/Sub/Multi.pm
|
||||
@dirrmtry %%SITE_PERL%%/Sub
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Multi/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Multi
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub
|
Loading…
Reference in New Issue
Block a user