diff options
author | ijliao <ijliao@FreeBSD.org> | 2006-08-01 09:52:19 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2006-08-01 09:52:19 +0800 |
commit | 13fb169808c5dcf28d94a95d8da6c29ea5ea7596 (patch) | |
tree | da0d34cbfa0a73c179e297f74e23f659efb71743 /devel | |
parent | 8aa51ed025dbe7808f737f5a3f9b699a9043652b (diff) | |
download | freebsd-ports-gnome-13fb169808c5dcf28d94a95d8da6c29ea5ea7596.tar.gz freebsd-ports-gnome-13fb169808c5dcf28d94a95d8da6c29ea5ea7596.tar.zst freebsd-ports-gnome-13fb169808c5dcf28d94a95d8da6c29ea5ea7596.zip |
add p5-Sub-Multi 0.002
Data::Bind-based multi-sub dispatch
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Sub-Multi/Makefile | 27 | ||||
-rw-r--r-- | devel/p5-Sub-Multi/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Sub-Multi/pkg-descr | 10 | ||||
-rw-r--r-- | devel/p5-Sub-Multi/pkg-plist | 5 |
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d179d77d0e43..ad83c969ea28 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Sub-Multi/Makefile b/devel/p5-Sub-Multi/Makefile new file mode 100644 index 000000000000..6fc13ec88fc1 --- /dev/null +++ b/devel/p5-Sub-Multi/Makefile @@ -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> diff --git a/devel/p5-Sub-Multi/distinfo b/devel/p5-Sub-Multi/distinfo new file mode 100644 index 000000000000..a2a1e512e8d5 --- /dev/null +++ b/devel/p5-Sub-Multi/distinfo @@ -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 diff --git a/devel/p5-Sub-Multi/pkg-descr b/devel/p5-Sub-Multi/pkg-descr new file mode 100644 index 000000000000..53deeb57ef1a --- /dev/null +++ b/devel/p5-Sub-Multi/pkg-descr @@ -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/ diff --git a/devel/p5-Sub-Multi/pkg-plist b/devel/p5-Sub-Multi/pkg-plist new file mode 100644 index 000000000000..4405cb19471a --- /dev/null +++ b/devel/p5-Sub-Multi/pkg-plist @@ -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 |