git: 3d88addba96e - main - devel/p5-String-Interpolate-Named: Add p5-String-Interpolate-Named 1.01
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jul 18 17:56:06 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3d88addba96ebd0473e5f0dfbabbc17e87b7ae80
commit 3d88addba96ebd0473e5f0dfbabbc17e87b7ae80
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-18 17:46:42 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-18 17:46:42 +0000
devel/p5-String-Interpolate-Named: Add p5-String-Interpolate-Named 1.01
String::Interpolate::Named provides a function to interpolate named arguments by
target texts in a template string. The target texts are provided to the function
via a hash, where the keys correspond to the named argument to be replaced, or a
subroutine that performs the lookup.
WWW: https://metacpan.org/dist/String-Interpolate-Named
---
devel/Makefile | 1 +
devel/p5-String-Interpolate-Named/Makefile | 20 ++++++++++++++++++++
devel/p5-String-Interpolate-Named/distinfo | 3 +++
devel/p5-String-Interpolate-Named/pkg-descr | 6 ++++++
devel/p5-String-Interpolate-Named/pkg-plist | 2 ++
5 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index d9d8b180b906..e82768ae3e3c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3238,6 +3238,7 @@
SUBDIR += p5-String-Ediff
SUBDIR += p5-String-Errf
SUBDIR += p5-String-Formatter
+ SUBDIR += p5-String-Interpolate-Named
SUBDIR += p5-String-LRC
SUBDIR += p5-String-Parity
SUBDIR += p5-String-Random
diff --git a/devel/p5-String-Interpolate-Named/Makefile b/devel/p5-String-Interpolate-Named/Makefile
new file mode 100644
index 000000000000..f1c89b9f0077
--- /dev/null
+++ b/devel/p5-String-Interpolate-Named/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= String-Interpolate-Named
+PORTVERSION= 1.01
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Interpolated named arguments in string
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-String-Interpolate-Named/distinfo b/devel/p5-String-Interpolate-Named/distinfo
new file mode 100644
index 000000000000..e09c99ee6aed
--- /dev/null
+++ b/devel/p5-String-Interpolate-Named/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626542052
+SHA256 (String-Interpolate-Named-1.01.tar.gz) = bac934162dae8ded404604ac013509f67dd47c226bb1bb32935385d44932e8f9
+SIZE (String-Interpolate-Named-1.01.tar.gz) = 7696
diff --git a/devel/p5-String-Interpolate-Named/pkg-descr b/devel/p5-String-Interpolate-Named/pkg-descr
new file mode 100644
index 000000000000..d6997aedcc64
--- /dev/null
+++ b/devel/p5-String-Interpolate-Named/pkg-descr
@@ -0,0 +1,6 @@
+String::Interpolate::Named provides a function to interpolate named arguments by
+target texts in a template string. The target texts are provided to the function
+via a hash, where the keys correspond to the named argument to be replaced, or a
+subroutine that performs the lookup.
+
+WWW: https://metacpan.org/dist/String-Interpolate-Named
diff --git a/devel/p5-String-Interpolate-Named/pkg-plist b/devel/p5-String-Interpolate-Named/pkg-plist
new file mode 100644
index 000000000000..965baef206d0
--- /dev/null
+++ b/devel/p5-String-Interpolate-Named/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/String/Interpolate/Named.pm
+%%PERL5_MAN3%%/String::Interpolate::Named.3.gz
More information about the dev-commits-ports-all
mailing list