From nobody Sat Apr 16 04:20:46 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 526C15D52C7; Sat, 16 Apr 2022 04:20:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgKkS0nl3z3L9p; Sat, 16 Apr 2022 04:20:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=miTfUo8j7yWTK3kpPY5eDcCR8/y2OgIm+Tq+O2Uua/w=; b=S98oMM9cjqjbNh33ALWNdlALmkgD4Tx+O2QPYze2Oi+MMyXf5dycJ83D3kCWwua+mOnOA3 CnDnSDG193Fdrbzx+9elUMmSDpW30K9TosOSZoHbNDFqMjCTRlWkrBvcwu2Ia1n7mny7Ix B4jUbanC6WuA608E7mfreRMNNPZfiP1S94O4BUEShQ2TvKA1nfSqQSzLskhra3YevQpFzm a8u8jHKBgleW+ar7fwms5SNbXyS6NslwTaAGXFiFo/G0WGsw4whxPYXJstLbPKGaocyz20 tJewBCkscCrc45KYILuwz1ANdzq5TQfzU4ynN+yHmTDmjV4B8MafxTqUMY3lFw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D8C822D8F; Sat, 16 Apr 2022 04:20:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23G4KkhB098421; Sat, 16 Apr 2022 04:20:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4KkpC098420; Sat, 16 Apr 2022 04:20:46 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:20:46 GMT Message-Id: <202204160420.23G4KkpC098420@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 36765a20d3b1 - main - devel/p5-Syntax-Keyword-Match: Add p5-Syntax-Keyword-Match 0.09 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 36765a20d3b136499f00cb2dea441b5d287ac254 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=miTfUo8j7yWTK3kpPY5eDcCR8/y2OgIm+Tq+O2Uua/w=; b=n4zub5WHp+hgWmN2B+wKMRmunoelomGZc8kXcldLnaFs6dJXhWRERrIEw9jiLfTsfqCvdf 3Cr+yXq8rnkbVIUt4yrcNT2LNqDxXtIYyMAY/mLgOfihdbiSKp3OyyH3M8XwZHcOY+JnX8 qQcgwO1Bp8R/bTgh8IsKQwvedM8cmUn5WNGCc8i4GodcRIUu/dXtQlvIiE0JPO7T8nyARj QQ6QvQjpqoZwk7D7RwmK3IDWKpi2rwDarLbESu3aELeSjcZX366DTPlSWKBee0A+SLw85q pXZpbZsYh8AH8G0ZvLnUUUHVeXmLgWZDtr/UJI7oWXNm6a+qgknO8TgfkQDeqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650082848; a=rsa-sha256; cv=none; b=rGXgsJFqZsW1yPsOaoYhEvkk5pbTvu3n99WYYn6cKj+q5DWukL9/+H56tdytIuJUSNyiBS 1baqO+dukRwTz9Y5GlX9J8BmwCtsoGk7OGMm1ntJudNnS4WKAfTjRjPtDj3BOUB8adKps4 9DkevouPNvacEDXFjyv1J+nTjPvJKaOxioDqN4Ob7lGq2loBeSs+2NyhssUM4U4CoRd3R8 im4zK7BQjiZHUb1CtwM/7XgJkZKLo2v7ubQNWkSgoqLeeBWfMqW4grfpYlyPExUSKyDxJw Zks9lZaz74G7Mco2bQ5823viO1JeB5hotGbRhHUz1zLtC4s2lqF2HTKKg62BzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=36765a20d3b136499f00cb2dea441b5d287ac254 commit 36765a20d3b136499f00cb2dea441b5d287ac254 Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 03:39:01 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:02 +0000 devel/p5-Syntax-Keyword-Match: Add p5-Syntax-Keyword-Match 0.09 Syntax::Keyword::Match 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. WWW: https://metacpan.org/dist/Syntax-Keyword-Match --- devel/Makefile | 1 + devel/p5-Syntax-Keyword-Match/Makefile | 25 +++++++++++++++++++++++++ devel/p5-Syntax-Keyword-Match/distinfo | 3 +++ devel/p5-Syntax-Keyword-Match/pkg-descr | 8 ++++++++ devel/p5-Syntax-Keyword-Match/pkg-plist | 3 +++ 5 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 52b7cde2a30b..a5d72b66137d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3334,6 +3334,7 @@ SUBDIR += p5-Syntax-Keyword-Dynamically SUBDIR += p5-Syntax-Keyword-Gather SUBDIR += p5-Syntax-Keyword-Junction + SUBDIR += p5-Syntax-Keyword-Match SUBDIR += p5-Syntax-Keyword-Try SUBDIR += p5-Sys-CPU SUBDIR += p5-Sys-Info diff --git a/devel/p5-Syntax-Keyword-Match/Makefile b/devel/p5-Syntax-Keyword-Match/Makefile new file mode 100644 index 000000000000..1ecb27bd5e9c --- /dev/null +++ b/devel/p5-Syntax-Keyword-Match/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= Syntax-Keyword-Match +PORTVERSION= 0.09 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Match/case syntax for Perl + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-XS-Parse-Keyword>=0.14:devel/p5-XS-Parse-Keyword + +USES= perl5 +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Syntax/Keyword/Match/Match.so + +.include diff --git a/devel/p5-Syntax-Keyword-Match/distinfo b/devel/p5-Syntax-Keyword-Match/distinfo new file mode 100644 index 000000000000..1a90d5192794 --- /dev/null +++ b/devel/p5-Syntax-Keyword-Match/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649423640 +SHA256 (Syntax-Keyword-Match-0.09.tar.gz) = ea5875400ff479f9711daf835e4e8120c0b6587e623a40d8cf572b30d2c64051 +SIZE (Syntax-Keyword-Match-0.09.tar.gz) = 24839 diff --git a/devel/p5-Syntax-Keyword-Match/pkg-descr b/devel/p5-Syntax-Keyword-Match/pkg-descr new file mode 100644 index 000000000000..646eb085d3ae --- /dev/null +++ b/devel/p5-Syntax-Keyword-Match/pkg-descr @@ -0,0 +1,8 @@ +Syntax::Keyword::Match 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. + +WWW: https://metacpan.org/dist/Syntax-Keyword-Match diff --git a/devel/p5-Syntax-Keyword-Match/pkg-plist b/devel/p5-Syntax-Keyword-Match/pkg-plist new file mode 100644 index 000000000000..67eebbba07b4 --- /dev/null +++ b/devel/p5-Syntax-Keyword-Match/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Syntax/Keyword/Match.pm +%%SITE_ARCH%%/auto/Syntax/Keyword/Match/Match.so +%%PERL5_MAN3%%/Syntax::Keyword::Match.3.gz