- Add p5-match-simple 0.008

match::simple provides a simple match operator |M| that acts like a sane subset
of the (as of Perl 5.18) deprecated smart match operator. Unlike smart match,
the behaviour of the match is determined entirely by the operand on the right
hand side.

WWW: http://search.cpan.org/dist/match-simple/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-18 16:46:08 +00:00
parent e7f29b2127
commit 2ff3d6dc54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348582
5 changed files with 43 additions and 0 deletions

View file

@ -3081,6 +3081,7 @@
SUBDIR += p5-libalarm
SUBDIR += p5-libxml-enno
SUBDIR += p5-local-lib
SUBDIR += p5-match-simple
SUBDIR += p5-mixin
SUBDIR += p5-mocked
SUBDIR += p5-multidimensional

View file

@ -0,0 +1,26 @@
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= match-simple
PORTVERSION= 0.008
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TOBYINK
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simplified clone of smartmatch operator
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Exporter-Tiny>=0.026:${PORTSDIR}/devel/p5-Exporter-Tiny \
p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Sub-Infix>=0.001:${PORTSDIR}/devel/p5-Sub-Infix
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (match-simple-0.008.tar.gz) = cc1d6aa8fd1625f59651d1d82f543cffa7552404fd3cb5d4a28868eaaa9a313d
SIZE (match-simple-0.008.tar.gz) = 22403

View file

@ -0,0 +1,6 @@
match::simple provides a simple match operator |M| that acts like a sane subset
of the (as of Perl 5.18) deprecated smart match operator. Unlike smart match,
the behaviour of the match is determined entirely by the operand on the right
hand side.
WWW: http://search.cpan.org/dist/match-simple/

View file

@ -0,0 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/match/simple/.packlist
%%SITE_PERL%%/match/simple.pm
%%SITE_PERL%%/match/smart.pm
%%PERL5_MAN3%%/match::simple.3.gz
%%PERL5_MAN3%%/match::smart.3.gz
@dirrmtry %%SITE_PERL%%/match
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/match/simple
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/match