git: 3594a4bda1c3 - main - devel/p5-match-simple-XS: Add p5-match-simple-XS 0.002
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:04:33 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3594a4bda1c36a211fc91f5ecc6545f174d02505
commit 3594a4bda1c36a211fc91f5ecc6545f174d02505
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:20:52 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:45 +0000
devel/p5-match-simple-XS: Add p5-match-simple-XS 0.002
match::simple::XS provides the XS backend for match::simple.
---
devel/Makefile | 1 +
devel/p5-match-simple-XS/Makefile | 25 +++++++++++++++++++++++++
devel/p5-match-simple-XS/distinfo | 3 +++
devel/p5-match-simple-XS/pkg-descr | 1 +
devel/p5-match-simple-XS/pkg-plist | 3 +++
5 files changed, 33 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 8f69bfceba65..c008521625ab 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3781,6 +3781,7 @@
SUBDIR += p5-libxml-enno
SUBDIR += p5-local-lib
SUBDIR += p5-match-simple
+ SUBDIR += p5-match-simple-XS
SUBDIR += p5-mem
SUBDIR += p5-mixin
SUBDIR += p5-mocked
diff --git a/devel/p5-match-simple-XS/Makefile b/devel/p5-match-simple-XS/Makefile
new file mode 100644
index 000000000000..377a3252a481
--- /dev/null
+++ b/devel/p5-match-simple-XS/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= match-simple-XS
+PORTVERSION= 0.002
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:TOBYINK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= XS backend for match::simple
+WWW= https://metacpan.org/dist/match-simple-XS
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal
+
+USES= perl5
+USE_PERL5= configure
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/match/simple/XS/XS.so
+
+.include <bsd.port.mk>
diff --git a/devel/p5-match-simple-XS/distinfo b/devel/p5-match-simple-XS/distinfo
new file mode 100644
index 000000000000..557ddddf55b4
--- /dev/null
+++ b/devel/p5-match-simple-XS/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588040
+SHA256 (match-simple-XS-0.002.tar.gz) = 59973e4849e46ff84484abd74f8ebf85f46fcfa8767b0183269d1907e35d1c41
+SIZE (match-simple-XS-0.002.tar.gz) = 62635
diff --git a/devel/p5-match-simple-XS/pkg-descr b/devel/p5-match-simple-XS/pkg-descr
new file mode 100644
index 000000000000..dba06193adad
--- /dev/null
+++ b/devel/p5-match-simple-XS/pkg-descr
@@ -0,0 +1 @@
+match::simple::XS provides the XS backend for match::simple.
diff --git a/devel/p5-match-simple-XS/pkg-plist b/devel/p5-match-simple-XS/pkg-plist
new file mode 100644
index 000000000000..a93b58577c6b
--- /dev/null
+++ b/devel/p5-match-simple-XS/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/auto/match/simple/XS/XS.so
+%%SITE_ARCH%%/match/simple/XS.pm
+%%PERL5_MAN3%%/match::simple::XS.3.gz