1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Add p5-Test-File-ShareDir 0.3.1, create a fake ShareDir for your modules

for testing.
This commit is contained in:
Lars Thegler 2012-09-02 18:17:03 +00:00
parent 8cc8374550
commit eac9748f56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303567
5 changed files with 38 additions and 0 deletions

View File

@ -2590,6 +2590,7 @@
SUBDIR += p5-Test-Fatal
SUBDIR += p5-Test-File
SUBDIR += p5-Test-File-Contents
SUBDIR += p5-Test-File-ShareDir
SUBDIR += p5-Test-Fixture-DBIC-Schema
SUBDIR += p5-Test-Group
SUBDIR += p5-Test-HTML-Tidy

View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= Test-File-ShareDir
PORTVERSION= 0.3.1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Create a fake ShareDir for your modules for testing
BUILD_DEPENDS= p5-File-Copy-Recursive>0:${PORTSDIR}/devel/p5-File-Copy-Recursive \
p5-File-ShareDir>=1.00:${PORTSDIR}/devel/p5-File-ShareDir \
p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Fatal>0:${PORTSDIR}/devel/p5-Test-Fatal
PERL_MODBUILD= yes
MAN3= Test::File::ShareDir.3 \
Test::File::ShareDir::TempDirObject.3
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} test
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Test-File-ShareDir-0.3.1.tar.gz) = cba4c50ce82b3e146d4f8984fa19c16561083840950b5954388e61a133814602
SIZE (Test-File-ShareDir-0.3.1.tar.gz) = 18468

View File

@ -0,0 +1,3 @@
Create a fake ShareDir for your modules for testing.
WWW: http://search.cpan.org/dist/Test-File-ShareDir/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Test/File/ShareDir/TempDirObject.pm
%%SITE_PERL%%/Test/File/ShareDir.pm
@dirrmtry %%SITE_PERL%%/Test/File/ShareDir
@dirrmtry %%SITE_PERL%%/Test/File
@dirrmtry %%SITE_PERL%%/Test