git: a38aa39e083b - main - devel/p5-Scalar-Util-Numeric-PP: Add p5-Scalar-Util-Numeric-PP 0.04
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 06:19:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a38aa39e083bf389dfe9066db114abb32143638c
commit a38aa39e083bf389dfe9066db114abb32143638c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:13:50 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:11:17 +0000
devel/p5-Scalar-Util-Numeric-PP: Add p5-Scalar-Util-Numeric-PP 0.04
Scalar::Util::Numeric::PP is written mainly for the convenience of Data::Sah, as
a drop-in pure-perl replacement for the XS module Scalar::Util::Numeric, in the
case when Data::Sah needs to generate code that uses PP modules instead of XS
ones.
Not all functions from Scalar::Util::Numeric have been provided.
---
devel/Makefile | 1 +
devel/p5-Scalar-Util-Numeric-PP/Makefile | 20 ++++++++++++++++++++
devel/p5-Scalar-Util-Numeric-PP/distinfo | 3 +++
devel/p5-Scalar-Util-Numeric-PP/pkg-descr | 6 ++++++
devel/p5-Scalar-Util-Numeric-PP/pkg-plist | 2 ++
5 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index bc24c3dcdc6b..828990f99870 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3417,6 +3417,7 @@
SUBDIR += p5-Scalar-String
SUBDIR += p5-Scalar-Util-LooksLikeNumber
SUBDIR += p5-Scalar-Util-Numeric
+ SUBDIR += p5-Scalar-Util-Numeric-PP
SUBDIR += p5-Scope-Container
SUBDIR += p5-Scope-Guard
SUBDIR += p5-Scope-Upper
diff --git a/devel/p5-Scalar-Util-Numeric-PP/Makefile b/devel/p5-Scalar-Util-Numeric-PP/Makefile
new file mode 100644
index 000000000000..c3836718bc67
--- /dev/null
+++ b/devel/p5-Scalar-Util-Numeric-PP/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= Scalar-Util-Numeric-PP
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pure-perl drop-in replacement/approximation of Scalar::Util::Numeric
+WWW= https://metacpan.org/dist/Scalar-Util-Numeric-PP
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Scalar-Util-Numeric-PP/distinfo b/devel/p5-Scalar-Util-Numeric-PP/distinfo
new file mode 100644
index 000000000000..beb49381460d
--- /dev/null
+++ b/devel/p5-Scalar-Util-Numeric-PP/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084466
+SHA256 (Scalar-Util-Numeric-PP-0.04.tar.gz) = 3b489c0c8f890754198a7130b0ad3b55d57cebe8168f68b7c25ae35c7d55a4e0
+SIZE (Scalar-Util-Numeric-PP-0.04.tar.gz) = 13536
diff --git a/devel/p5-Scalar-Util-Numeric-PP/pkg-descr b/devel/p5-Scalar-Util-Numeric-PP/pkg-descr
new file mode 100644
index 000000000000..b8d4c7a2ee9c
--- /dev/null
+++ b/devel/p5-Scalar-Util-Numeric-PP/pkg-descr
@@ -0,0 +1,6 @@
+Scalar::Util::Numeric::PP is written mainly for the convenience of Data::Sah, as
+a drop-in pure-perl replacement for the XS module Scalar::Util::Numeric, in the
+case when Data::Sah needs to generate code that uses PP modules instead of XS
+ones.
+
+Not all functions from Scalar::Util::Numeric have been provided.
diff --git a/devel/p5-Scalar-Util-Numeric-PP/pkg-plist b/devel/p5-Scalar-Util-Numeric-PP/pkg-plist
new file mode 100644
index 000000000000..681ac98396e0
--- /dev/null
+++ b/devel/p5-Scalar-Util-Numeric-PP/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Scalar/Util/Numeric/PP.pm
+%%PERL5_MAN3%%/Scalar::Util::Numeric::PP.3.gz