36765a20d3
Syntax::Keyword::Match provides a syntax plugin that implements a control-flow block called match/case, which executes at most one of a choice of different blocks depending on the value of its controlling expression. This is similar to C's switch/case syntax (copied into many other languages), or syntax provided by Switch::Plain. WWW: https://metacpan.org/dist/Syntax-Keyword-Match
25 lines
562 B
Makefile
25 lines
562 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
PORTNAME= Syntax-Keyword-Match
|
|
PORTVERSION= 0.09
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Match/case syntax for Perl
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-XS-Parse-Keyword>=0.14:devel/p5-XS-Parse-Keyword
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Syntax/Keyword/Match/Match.so
|
|
|
|
.include <bsd.port.mk>
|