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/
26 lines
675 B
Makefile
26 lines
675 B
Makefile
# 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>
|