Sat Dec 16 23:21:45 2023 UTC (162d)
devel/p5-match-simple: import p5-match-simple-0.012

match::smart provides a match operator |M| that acts like more or less
identically to the (as of Perl 5.18) deprecated smart match operator.

If you don't like the crazy Sub::Infix operator, you can alternatively
export a more normal function:


(mef)
diff -r0 -r1.1 pkgsrc/devel/p5-match-simple/DESCR
diff -r0 -r1.1 pkgsrc/devel/p5-match-simple/Makefile
diff -r0 -r1.1 pkgsrc/devel/p5-match-simple/distinfo

File Added: pkgsrc/devel/p5-match-simple/DESCR
match::smart provides a match operator |M| that acts like more or less
identically to the (as of Perl 5.18) deprecated smart match operator.

If you don't like the crazy Sub::Infix operator, you can alternatively
export a more normal function:

File Added: pkgsrc/devel/p5-match-simple/Makefile
# $NetBSD: Makefile,v 1.1 2023/12/16 23:21:45 mef Exp $

DISTNAME=	match-simple-0.012
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	devel
#ASTER_SITES=	${MASTER_SITE_PERL_CPAN:=match/}
MASTER_SITES=	https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://metacpan.org/pod/match::simple
COMMENT=	Clone of smartmatch operator
LICENSE=	gnu-gpl-v1 OR artistic

PERL5_PACKLIST=	auto/match/simple/.packlist

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/p5-match-simple/distinfo
$NetBSD: distinfo,v 1.1 2023/12/16 23:21:45 mef Exp $

BLAKE2s (match-simple-0.012.tar.gz) = eb31243a348ee175fcfc5394041c2fefe450cf40024c9c70f30af7d286a42f08
SHA512 (match-simple-0.012.tar.gz) = c6abe6ea332f74bbe95f513ab67bf029f0fbcb56141e9884bd48479293ed207e604c80d16fea7c75b9a38a1b9c825eb4bb27a41cbb40ff6a1c099932691f3039
Size (match-simple-0.012.tar.gz) = 24294 bytes