git: a4c80dac1352 - main - devel/p5-Test2-Tools-FFI: Add p5-Test2-Tools-FFI 0.06

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 02:24:29 UTC
The branch main has been updated by sunpoet:

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

commit a4c80dac13522e9eab55e81f24d2a9728a22f14b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:10:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:10:16 +0000

    devel/p5-Test2-Tools-FFI: Add p5-Test2-Tools-FFI 0.06
    
    Test2::Tools::FFI provides some basic tools for testing FFI modules.
---
 devel/Makefile                     |  1 +
 devel/p5-Test2-Tools-FFI/Makefile  | 30 ++++++++++++++++++++++++++++++
 devel/p5-Test2-Tools-FFI/distinfo  |  3 +++
 devel/p5-Test2-Tools-FFI/pkg-descr |  1 +
 devel/p5-Test2-Tools-FFI/pkg-plist |  9 +++++++++
 5 files changed, 44 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index edeebb78b154..dc0a8ddec3d6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3560,6 +3560,7 @@
     SUBDIR += p5-Test2-Plugin-UUID
     SUBDIR += p5-Test2-Suite
     SUBDIR += p5-Test2-Tools-Explain
+    SUBDIR += p5-Test2-Tools-FFI
     SUBDIR += p5-Text-Levenshtein
     SUBDIR += p5-Text-Levenshtein-Damerau
     SUBDIR += p5-Text-LevenshteinXS
diff --git a/devel/p5-Test2-Tools-FFI/Makefile b/devel/p5-Test2-Tools-FFI/Makefile
new file mode 100644
index 000000000000..53d3afcc3f99
--- /dev/null
+++ b/devel/p5-Test2-Tools-FFI/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	Test2-Tools-FFI
+PORTVERSION=	0.06
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:PLICEASE
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Tools for testing FFI
+WWW=		https://metacpan.org/dist/Test2-Tools-FFI
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	p5-File-ShareDir-Install>=0.06:devel/p5-File-ShareDir-Install \
+		${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \
+		p5-FFI-CheckLib>=0.11:devel/p5-FFI-CheckLib \
+		p5-FFI-Platypus>=1.00:devel/p5-FFI-Platypus \
+		p5-File-ShareDir-Dist>=0:devel/p5-File-ShareDir-Dist
+TEST_DEPENDS=	p5-Test2-Suite>=0.000121:devel/p5-Test2-Suite
+
+USES=		perl5
+USE_PERL5=	configure
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/share/dist/Test2-Tools-FFI/lib/libt2t.so
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Test2-Tools-FFI/distinfo b/devel/p5-Test2-Tools-FFI/distinfo
new file mode 100644
index 000000000000..99c325c9541b
--- /dev/null
+++ b/devel/p5-Test2-Tools-FFI/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663672732
+SHA256 (Test2-Tools-FFI-0.06.tar.gz) = 300dbc40a12e6c6fbbcbb96fd39b902be6d965726daf1e6ab73b8a0afd252f2f
+SIZE (Test2-Tools-FFI-0.06.tar.gz) = 19204
diff --git a/devel/p5-Test2-Tools-FFI/pkg-descr b/devel/p5-Test2-Tools-FFI/pkg-descr
new file mode 100644
index 000000000000..1d84703e519b
--- /dev/null
+++ b/devel/p5-Test2-Tools-FFI/pkg-descr
@@ -0,0 +1 @@
+Test2::Tools::FFI provides some basic tools for testing FFI modules.
diff --git a/devel/p5-Test2-Tools-FFI/pkg-plist b/devel/p5-Test2-Tools-FFI/pkg-plist
new file mode 100644
index 000000000000..03ffc3ab2904
--- /dev/null
+++ b/devel/p5-Test2-Tools-FFI/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_ARCH%%/Alien/libt2t.pm
+%%SITE_ARCH%%/Test2/Plugin/FFI/Package.pm
+%%SITE_ARCH%%/Test2/Tools/FFI.pm
+%%SITE_ARCH%%/auto/Test2/Tools/FFI/FFI.txt
+%%SITE_ARCH%%/auto/share/dist/Test2-Tools-FFI/include/t2t/simple.h
+%%SITE_ARCH%%/auto/share/dist/Test2-Tools-FFI/lib/libt2t.so
+%%PERL5_MAN3%%/Alien::libt2t.3.gz
+%%PERL5_MAN3%%/Test2::Plugin::FFI::Package.3.gz
+%%PERL5_MAN3%%/Test2::Tools::FFI.3.gz