From owner-dev-commits-ports-main@freebsd.org Tue Sep 21 22:24:27 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7462E67C2E4; Tue, 21 Sep 2021 22:24:27 +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 4HDbZM2sqdz4hDS; Tue, 21 Sep 2021 22:24:27 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 429DE43D8; Tue, 21 Sep 2021 22:24:27 +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 18LMORBU037842; Tue, 21 Sep 2021 22:24:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18LMOR1J037841; Tue, 21 Sep 2021 22:24:27 GMT (envelope-from git) Date: Tue, 21 Sep 2021 22:24:27 GMT Message-Id: <202109212224.18LMOR1J037841@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: 1b0219a745d3 - main - devel/p5-Convert-Scalar: Add p5-Convert-Scalar 1.12 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: 1b0219a745d323b91beb8ca0fbda41a01b13fac5 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2021 22:24:27 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b0219a745d323b91beb8ca0fbda41a01b13fac5 commit 1b0219a745d323b91beb8ca0fbda41a01b13fac5 Author: Po-Chuan Hsieh AuthorDate: 2021-09-21 22:11:40 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-09-21 22:11:40 +0000 devel/p5-Convert-Scalar: Add p5-Convert-Scalar 1.12 Convert::Scalar exports various internal perl methods that change the internal representation or state of a perl scalar. All of these work in-place, that is, they modify their scalar argument. No functions are exported by default. WWW: https://metacpan.org/dist/Convert-Scalar --- devel/Makefile | 1 + devel/p5-Convert-Scalar/Makefile | 21 +++++++++++++++++++++ devel/p5-Convert-Scalar/distinfo | 3 +++ devel/p5-Convert-Scalar/files/patch-Makefile.PL | 17 +++++++++++++++++ devel/p5-Convert-Scalar/pkg-descr | 5 +++++ devel/p5-Convert-Scalar/pkg-plist | 3 +++ 6 files changed, 50 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0b9fcc57f485..ac0c77befc5a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2017,6 +2017,7 @@ SUBDIR += p5-Const-Fast SUBDIR += p5-Context-Preserve SUBDIR += p5-Contextual-Return + SUBDIR += p5-Convert-Scalar SUBDIR += p5-Coro SUBDIR += p5-Curses SUBDIR += p5-Curses-Application diff --git a/devel/p5-Convert-Scalar/Makefile b/devel/p5-Convert-Scalar/Makefile new file mode 100644 index 000000000000..7ce51f5f356a --- /dev/null +++ b/devel/p5-Convert-Scalar/Makefile @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= Convert-Scalar +PORTVERSION= 1.12 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Convert between different representations of perl scalars + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Convert/Scalar/Scalar.so + +.include diff --git a/devel/p5-Convert-Scalar/distinfo b/devel/p5-Convert-Scalar/distinfo new file mode 100644 index 000000000000..66ac8e9232d7 --- /dev/null +++ b/devel/p5-Convert-Scalar/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632227458 +SHA256 (Convert-Scalar-1.12.tar.gz) = 1fcee7019b7ffd5081d685d2ac8407adfc5be011902826668903dc8abcb3c890 +SIZE (Convert-Scalar-1.12.tar.gz) = 8502 diff --git a/devel/p5-Convert-Scalar/files/patch-Makefile.PL b/devel/p5-Convert-Scalar/files/patch-Makefile.PL new file mode 100644 index 000000000000..f0be09047199 --- /dev/null +++ b/devel/p5-Convert-Scalar/files/patch-Makefile.PL @@ -0,0 +1,17 @@ +--- Makefile.PL.orig 2017-08-15 05:57:22 UTC ++++ Makefile.PL +@@ -1,6 +1,5 @@ + use ExtUtils::MakeMaker; + +-use Canary::Stability Convert::Scalar => 1, 5.008; + + WriteMakefile( + dist => { +@@ -12,7 +11,6 @@ WriteMakefile( + VERSION_FROM => "Scalar.pm", + CONFIGURE_REQUIRES => { + "ExtUtils::MakeMaker" => 6.6, +- "Canary::Stability" => 0, + }, + BUILD_REQUIRES => { + ExtUtils::ParseXS => 3.28, diff --git a/devel/p5-Convert-Scalar/pkg-descr b/devel/p5-Convert-Scalar/pkg-descr new file mode 100644 index 000000000000..fe4646f9b0a5 --- /dev/null +++ b/devel/p5-Convert-Scalar/pkg-descr @@ -0,0 +1,5 @@ +Convert::Scalar exports various internal perl methods that change the internal +representation or state of a perl scalar. All of these work in-place, that is, +they modify their scalar argument. No functions are exported by default. + +WWW: https://metacpan.org/dist/Convert-Scalar diff --git a/devel/p5-Convert-Scalar/pkg-plist b/devel/p5-Convert-Scalar/pkg-plist new file mode 100644 index 000000000000..8899410686b9 --- /dev/null +++ b/devel/p5-Convert-Scalar/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Convert/Scalar.pm +%%SITE_ARCH%%/auto/Convert/Scalar/Scalar.so +%%PERL5_MAN3%%/Convert::Scalar.3.gz