Skip to content

Commit

Permalink
devel/p5-Test2-Tools-LoadModule: new port
Browse files Browse the repository at this point in the history
This Test2::Tools module tests whether a module can be loaded, and optionally
whether it has at least a given version, and exports specified symbols.
  • Loading branch information
wenheping committed Apr 7, 2024
1 parent 8760d60 commit 78433df
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -3682,6 +3682,7 @@
SUBDIR += p5-Test2-Suite
SUBDIR += p5-Test2-Tools-Explain
SUBDIR += p5-Test2-Tools-FFI
SUBDIR += p5-Test2-Tools-LoadModule
SUBDIR += p5-Test2-Tools-MemoryCycle
SUBDIR += p5-Text-Levenshtein
SUBDIR += p5-Text-Levenshtein-Damerau
Expand Down
19 changes: 19 additions & 0 deletions devel/p5-Test2-Tools-LoadModule/Makefile
@@ -0,0 +1,19 @@
PORTNAME= Test2-Tools-LoadModule
PORTVERSION= 0.008
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:WYANT
PKGNAMEPREFIX= p5-

MAINTAINER= wen@FreeBSD.org
COMMENT= Test whether a module can be successfully loaded
WWW= https://metacpan.org/release/Test2-Tools-LoadModule

LICENSE= ART20

USES= perl5
USE_PERL5= configure

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/p5-Test2-Tools-LoadModule/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1712479191
SHA256 (Test2-Tools-LoadModule-0.008.tar.gz) = 92d1bad4b637b7e3c40e2f4d0f18527855e993f27a6595322433c05696520af2
SIZE (Test2-Tools-LoadModule-0.008.tar.gz) = 40260
2 changes: 2 additions & 0 deletions devel/p5-Test2-Tools-LoadModule/pkg-descr
@@ -0,0 +1,2 @@
This Test2::Tools module tests whether a module can be loaded, and optionally
whether it has at least a given version, and exports specified symbols.
2 changes: 2 additions & 0 deletions devel/p5-Test2-Tools-LoadModule/pkg-plist
@@ -0,0 +1,2 @@
%%SITE_PERL%%/Test2/Tools/LoadModule.pm
%%PERL5_MAN3%%/Test2::Tools::LoadModule.3.gz

0 comments on commit 78433df

Please sign in to comment.