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:
parent
9cb1833fc0
commit
99dc85299b
5 changed files with 41 additions and 0 deletions
|
@ -3294,6 +3294,7 @@
|
||||||
SUBDIR += p5-Symbol-Get
|
SUBDIR += p5-Symbol-Get
|
||||||
SUBDIR += p5-Symbol-Global-Name
|
SUBDIR += p5-Symbol-Global-Name
|
||||||
SUBDIR += p5-Symbol-Util
|
SUBDIR += p5-Symbol-Util
|
||||||
|
SUBDIR += p5-Syntax-Keyword-Dynamically
|
||||||
SUBDIR += p5-Syntax-Keyword-Gather
|
SUBDIR += p5-Syntax-Keyword-Gather
|
||||||
SUBDIR += p5-Syntax-Keyword-Junction
|
SUBDIR += p5-Syntax-Keyword-Junction
|
||||||
SUBDIR += p5-Syntax-Keyword-Try
|
SUBDIR += p5-Syntax-Keyword-Try
|
||||||
|
|
25
devel/p5-Syntax-Keyword-Dynamically/Makefile
Normal file
25
devel/p5-Syntax-Keyword-Dynamically/Makefile
Normal 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>
|
3
devel/p5-Syntax-Keyword-Dynamically/distinfo
Normal file
3
devel/p5-Syntax-Keyword-Dynamically/distinfo
Normal 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
|
9
devel/p5-Syntax-Keyword-Dynamically/pkg-descr
Normal file
9
devel/p5-Syntax-Keyword-Dynamically/pkg-descr
Normal 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
|
3
devel/p5-Syntax-Keyword-Dynamically/pkg-plist
Normal file
3
devel/p5-Syntax-Keyword-Dynamically/pkg-plist
Normal 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
|
Loading…
Reference in a new issue