1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

devel/p5-Syntax-Keyword-Dynamically: Add p5-Syntax-Keyword-Dynamically 0.09

Syntax::Keyword::Dynamically provides a syntax plugin that implements a single
keyword, dynamically, which alters the behaviour of a scalar assignment
operation. Syntactically and semantically it is similar to the built-in perl
keyword local, but is implemented somewhat differently to give two key
advantages over regular local:
- You can dynamically assign to lvalue functions and accessors.
- You can dynamically assign to regular lexical variables.

WWW: https://metacpan.org/dist/Syntax-Keyword-Dynamically
This commit is contained in:
Po-Chuan Hsieh 2021-09-21 11:05:57 +08:00
parent 9cb1833fc0
commit 99dc85299b
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 41 additions and 0 deletions

View File

@ -3294,6 +3294,7 @@
SUBDIR += p5-Symbol-Get
SUBDIR += p5-Symbol-Global-Name
SUBDIR += p5-Symbol-Util
SUBDIR += p5-Syntax-Keyword-Dynamically
SUBDIR += p5-Syntax-Keyword-Gather
SUBDIR += p5-Syntax-Keyword-Junction
SUBDIR += p5-Syntax-Keyword-Try

View File

@ -0,0 +1,25 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= Syntax-Keyword-Dynamically
PORTVERSION= 0.09
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Dynamically change the value of a variable
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-XS-Parse-Keyword>=0.13:devel/p5-XS-Parse-Keyword
USES= perl5
USE_PERL5= modbuild
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Syntax/Keyword/Dynamically/Dynamically.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1632036818
SHA256 (Syntax-Keyword-Dynamically-0.09.tar.gz) = 70000075749302ea3d9fbc440e20374452ebea48667fd1b6a5b076ab8a7eea50
SIZE (Syntax-Keyword-Dynamically-0.09.tar.gz) = 25212

View File

@ -0,0 +1,9 @@
Syntax::Keyword::Dynamically provides a syntax plugin that implements a single
keyword, dynamically, which alters the behaviour of a scalar assignment
operation. Syntactically and semantically it is similar to the built-in perl
keyword local, but is implemented somewhat differently to give two key
advantages over regular local:
- You can dynamically assign to lvalue functions and accessors.
- You can dynamically assign to regular lexical variables.
WWW: https://metacpan.org/dist/Syntax-Keyword-Dynamically

View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/Syntax/Keyword/Dynamically.pm
%%SITE_ARCH%%/auto/Syntax/Keyword/Dynamically/Dynamically.so
%%PERL5_MAN3%%/Syntax::Keyword::Dynamically.3.gz