diff --git a/devel/Makefile b/devel/Makefile index 5cc9db5627ca..5961ec1083d4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2610,6 +2610,7 @@ SUBDIR += p5-Jonk SUBDIR += p5-Keyword-Declare SUBDIR += p5-Keyword-Pluggable + SUBDIR += p5-Keyword-Simple SUBDIR += p5-LV SUBDIR += p5-Lexical-Alias SUBDIR += p5-Lexical-Import diff --git a/devel/p5-Keyword-Simple/Makefile b/devel/p5-Keyword-Simple/Makefile new file mode 100644 index 000000000000..b949ea9f1aec --- /dev/null +++ b/devel/p5-Keyword-Simple/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Keyword-Simple +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:MAUKE +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Define new keywords in pure Perl + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Keyword/Simple/Simple.so + +.include diff --git a/devel/p5-Keyword-Simple/distinfo b/devel/p5-Keyword-Simple/distinfo new file mode 100644 index 000000000000..9f4712078aee --- /dev/null +++ b/devel/p5-Keyword-Simple/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1587721873 +SHA256 (Keyword-Simple-0.04.tar.gz) = 9455cb86b92c30027d6eeb5712a04a84d8a3863d399be6ebdd723e5e84d51305 +SIZE (Keyword-Simple-0.04.tar.gz) = 8688 diff --git a/devel/p5-Keyword-Simple/pkg-descr b/devel/p5-Keyword-Simple/pkg-descr new file mode 100644 index 000000000000..644a062518e2 --- /dev/null +++ b/devel/p5-Keyword-Simple/pkg-descr @@ -0,0 +1,6 @@ +Keyword::Simple lets you implement new keywords in pure Perl. To do this, you +need to write a module and call Keyword::Simple::define in your import method. +Any keywords defined this way will be available in the lexical scope that's +currently being compiled. + +WWW: https://metacpan.org/release/Keyword-Simple diff --git a/devel/p5-Keyword-Simple/pkg-plist b/devel/p5-Keyword-Simple/pkg-plist new file mode 100644 index 000000000000..a1f39a4df4d8 --- /dev/null +++ b/devel/p5-Keyword-Simple/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Keyword/Simple.pm +%%SITE_ARCH%%/auto/Keyword/Simple/Simple.so +%%PERL5_MAN3%%/Keyword::Simple.3.gz