mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 17:40:40 -04:00
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
25 lines
596 B
Makefile
25 lines
596 B
Makefile
# 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>
|