Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 03:48:34 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 99dc85299b48 - main - devel/p5-Syntax-Keyword-Dynamically: Add p5-Syntax-Keyword-Dynamically 0.09
Message-ID:  <202109210348.18L3mYal016977@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99dc85299b48a637195a175fbfaab1fadfe25409

commit 99dc85299b48a637195a175fbfaab1fadfe25409
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 03:05:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-09-21 03:35:06 +0000

    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
---
 devel/Makefile                                |  1 +
 devel/p5-Syntax-Keyword-Dynamically/Makefile  | 25 +++++++++++++++++++++++++
 devel/p5-Syntax-Keyword-Dynamically/distinfo  |  3 +++
 devel/p5-Syntax-Keyword-Dynamically/pkg-descr |  9 +++++++++
 devel/p5-Syntax-Keyword-Dynamically/pkg-plist |  3 +++
 5 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 38fcc164fc36..171aa75ee4cc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/p5-Syntax-Keyword-Dynamically/Makefile b/devel/p5-Syntax-Keyword-Dynamically/Makefile
new file mode 100644
index 000000000000..47761b9f7b64
--- /dev/null
+++ b/devel/p5-Syntax-Keyword-Dynamically/Makefile
@@ -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>
diff --git a/devel/p5-Syntax-Keyword-Dynamically/distinfo b/devel/p5-Syntax-Keyword-Dynamically/distinfo
new file mode 100644
index 000000000000..1d70c37e4d07
--- /dev/null
+++ b/devel/p5-Syntax-Keyword-Dynamically/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632036818
+SHA256 (Syntax-Keyword-Dynamically-0.09.tar.gz) = 70000075749302ea3d9fbc440e20374452ebea48667fd1b6a5b076ab8a7eea50
+SIZE (Syntax-Keyword-Dynamically-0.09.tar.gz) = 25212
diff --git a/devel/p5-Syntax-Keyword-Dynamically/pkg-descr b/devel/p5-Syntax-Keyword-Dynamically/pkg-descr
new file mode 100644
index 000000000000..7c9ecc195b41
--- /dev/null
+++ b/devel/p5-Syntax-Keyword-Dynamically/pkg-descr
@@ -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
diff --git a/devel/p5-Syntax-Keyword-Dynamically/pkg-plist b/devel/p5-Syntax-Keyword-Dynamically/pkg-plist
new file mode 100644
index 000000000000..a7a3b579d049
--- /dev/null
+++ b/devel/p5-Syntax-Keyword-Dynamically/pkg-plist
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109210348.18L3mYal016977>