pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Syntax-Keyword-Match



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 30 17:55:59 UTC 2023

Added Files:
        pkgsrc/devel/p5-Syntax-Keyword-Match: DESCR Makefile distinfo

Log Message:
devel/p5-Syntax-Keyword-Match: import p5-Syntax-Keyword-Match-0.10

This module provides a syntax plugin that implements a control-flow
block called match/case, which executes at most one of a choice of
different blocks depending on the value of its controlling expression.

This is similar to C's switch/case syntax (copied into many other
languages), or syntax provided by Switch::Plain.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Syntax-Keyword-Match/DESCR \
    pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile \
    pkgsrc/devel/p5-Syntax-Keyword-Match/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Syntax-Keyword-Match/DESCR
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Match/DESCR:1.1
--- /dev/null   Thu Mar 30 17:55:59 2023
+++ pkgsrc/devel/p5-Syntax-Keyword-Match/DESCR  Thu Mar 30 17:55:59 2023
@@ -0,0 +1,6 @@
+This module provides a syntax plugin that implements a control-flow
+block called match/case, which executes at most one of a choice of
+different blocks depending on the value of its controlling expression.
+
+This is similar to C's switch/case syntax (copied into many other
+languages), or syntax provided by Switch::Plain.
Index: pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile:1.1
--- /dev/null   Thu Mar 30 17:55:59 2023
+++ pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile       Thu Mar 30 17:55:59 2023
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2023/03/30 17:55:59 wiz Exp $
+
+DISTNAME=      Syntax-Keyword-Match-0.10
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Syntax/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/pod/Syntax::Keyword::Match
+COMMENT=       Perl5 module to provide a match/case syntax
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-XS-Parse-Keyword>=0.23:../../devel/p5-XS-Parse-Keyword
+
+PERL5_PACKLIST=                auto/Syntax/Keyword/Match/.packlist
+PERL5_MODULE_TYPE=     Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Syntax-Keyword-Match/distinfo
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Match/distinfo:1.1
--- /dev/null   Thu Mar 30 17:55:59 2023
+++ pkgsrc/devel/p5-Syntax-Keyword-Match/distinfo       Thu Mar 30 17:55:59 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/03/30 17:55:59 wiz Exp $
+
+BLAKE2s (Syntax-Keyword-Match-0.10.tar.gz) = 4b2e5cbef65eef48082bad6bb1495f27d73afc3de7f3c4d9776d44a646f694f1
+SHA512 (Syntax-Keyword-Match-0.10.tar.gz) = 02d46f94d7c79ab5a34c6a0fed8185a9aed7d05bd21a34ab15876d7f532cb3ef0407dfaaaeef5b68438f00de583701dc18931de399c952e5d686da5a3c073895
+Size (Syntax-Keyword-Match-0.10.tar.gz) = 24952 bytes



Home | Main Index | Thread Index | Old Index