diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-04-18 04:54:48 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-04-18 05:41:48 +0000 |
commit | 6a244af4bd6cf8b6230407cb827eed6536d9ba9e (patch) | |
tree | fa2cc27a6a387e2750ea142775bca98117151809 | |
parent | b31b85d8a7741972f50522e1fd4313889a058d27 (diff) | |
download | ports-6a244af4bd6cf8b6230407cb827eed6536d9ba9e.tar.gz ports-6a244af4bd6cf8b6230407cb827eed6536d9ba9e.zip |
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
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Feature-Compat-Try/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Feature-Compat-Try/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Feature-Compat-Try/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-Feature-Compat-Try/pkg-plist | 2 |
5 files changed, 35 insertions, 0 deletions
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@FreeBSD.org> + +PORTNAME= Feature-Compat-Try +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:PEVANS +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@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 |