git: 6a244af4bd6c - main - devel/p5-Feature-Compat-Try: Add p5-Feature-Compat-Try 0.04
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Apr 18 07:08:32 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6a244af4bd6cf8b6230407cb827eed6536d9ba9e
commit 6a244af4bd6cf8b6230407cb827eed6536d9ba9e
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 04:54:48 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-04-18 05:41:48 +0000
devel/p5-Feature-Compat-Try: Add p5-Feature-Compat-Try 0.04
Feature::Compat::Try is written in preparation for when perl will gain true
native syntax support for try/catch control flow.
WWW: https://metacpan.org/release/Feature-Compat-Try
---
devel/Makefile | 1 +
devel/p5-Feature-Compat-Try/Makefile | 25 +++++++++++++++++++++++++
devel/p5-Feature-Compat-Try/distinfo | 3 +++
devel/p5-Feature-Compat-Try/pkg-descr | 4 ++++
devel/p5-Feature-Compat-Try/pkg-plist | 2 ++
5 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 019127d2b4c7..c0cf7a38bd6b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2352,6 +2352,7 @@
SUBDIR += p5-FFI-CheckLib
SUBDIR += p5-FFI-Platypus
SUBDIR += p5-FSA-Rules
+ SUBDIR += p5-Feature-Compat-Try
SUBDIR += p5-Fennec-Lite
SUBDIR += p5-File-Append-TempFile
SUBDIR += p5-File-Assets
diff --git a/devel/p5-Feature-Compat-Try/Makefile b/devel/p5-Feature-Compat-Try/Makefile
new file mode 100644
index 000000000000..3270d3fef1b8
--- /dev/null
+++ b/devel/p5-Feature-Compat-Try/Makefile
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= Feature-Compat-Try
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:PEVANS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Make try/catch syntax available
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Syntax-Keyword-Try>=0.22:devel/p5-Syntax-Keyword-Try
+
+USES= perl5
+USE_PERL5= modbuild
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Feature-Compat-Try/distinfo b/devel/p5-Feature-Compat-Try/distinfo
new file mode 100644
index 000000000000..792b6491d176
--- /dev/null
+++ b/devel/p5-Feature-Compat-Try/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618319912
+SHA256 (Feature-Compat-Try-0.04.tar.gz) = 4464d2314d79d08af1b3f1828a47dc036d512d6fbba52aa9fe11494d764dda8b
+SIZE (Feature-Compat-Try-0.04.tar.gz) = 16031
diff --git a/devel/p5-Feature-Compat-Try/pkg-descr b/devel/p5-Feature-Compat-Try/pkg-descr
new file mode 100644
index 000000000000..a6e31e93f7e4
--- /dev/null
+++ b/devel/p5-Feature-Compat-Try/pkg-descr
@@ -0,0 +1,4 @@
+Feature::Compat::Try is written in preparation for when perl will gain true
+native syntax support for try/catch control flow.
+
+WWW: https://metacpan.org/release/Feature-Compat-Try
diff --git a/devel/p5-Feature-Compat-Try/pkg-plist b/devel/p5-Feature-Compat-Try/pkg-plist
new file mode 100644
index 000000000000..589d5daaae9e
--- /dev/null
+++ b/devel/p5-Feature-Compat-Try/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Feature/Compat/Try.pm
+%%PERL5_MAN3%%/Feature::Compat::Try.3.gz
More information about the dev-commits-ports-all
mailing list