Skip to content

Commit

Permalink
devel/p5-Test2-Tools-FFI: Add p5-Test2-Tools-FFI 0.06
Browse files Browse the repository at this point in the history
Test2::Tools::FFI provides some basic tools for testing FFI modules.
  • Loading branch information
sunpoet committed Oct 3, 2022
1 parent f1f15ae commit a4c80da
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions devel/p5-Test2-Tools-FFI/Makefile
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions devel/p5-Test2-Tools-FFI/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1663672732
SHA256 (Test2-Tools-FFI-0.06.tar.gz) = 300dbc40a12e6c6fbbcbb96fd39b902be6d965726daf1e6ab73b8a0afd252f2f
SIZE (Test2-Tools-FFI-0.06.tar.gz) = 19204
1 change: 1 addition & 0 deletions devel/p5-Test2-Tools-FFI/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test2::Tools::FFI provides some basic tools for testing FFI modules.
9 changes: 9 additions & 0 deletions devel/p5-Test2-Tools-FFI/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a4c80da

Please sign in to comment.