1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Add p5-DBD-Mock, a simple mock DBD implementation used for testing

PR:		89835
Submitted by:	Espen Tagestad <espen@tagestad.no>
This commit is contained in:
Emanuel Haupt 2005-12-08 09:37:38 +00:00
parent 4c28441c5d
commit 89332aba1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150646
5 changed files with 51 additions and 0 deletions

View File

@ -172,6 +172,7 @@
SUBDIR += p5-DBD-Google
SUBDIR += p5-DBD-InterBase
SUBDIR += p5-DBD-LDAP
SUBDIR += p5-DBD-Mock
SUBDIR += p5-DBD-ODBC
SUBDIR += p5-DBD-Oracle
SUBDIR += p5-DBD-Pg

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: DBD::Mock
# Date created: 02 December 2005
# Whom: Espen Tagestad <espen@tagestad.no>
#
# $FreeBSD$
#
PORTNAME= DBD-Mock
PORTVERSION= 0.28
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
PKGNAMEPREFIX= p5-
MAINTAINER= espen@tagestad.no
COMMENT= Simple mock DBD implementation used for testing
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PERL_CONFIGURE= yes
MAN3= DBD::Mock.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500806
IGNORE= needs Perl 5.8.6 or above (lang/perl5.8)
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (DBD-Mock-0.28.tar.gz) = 4dc357a18020bfd8d9cf5ad7760a1775
SHA256 (DBD-Mock-0.28.tar.gz) = 6662b8758b6402dc13770543f9a98906ad87e141003290336ed9c5fe1404c1b8
SIZE (DBD-Mock-0.28.tar.gz) = 34944

View File

@ -0,0 +1,9 @@
The DBD::Mock perl module is a simple mock DBD implementation used for testing.
It's entirely self-contained so that you can extract the single library file
(DBD/Mock.pm), put it in your own distribution and be able to run DBI-based
tests even though you don't have information about a database.
WWW: http://search.cpan.org/dist/DBD-Mock/
- Espen Tagestad
espen@tagestad.no

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/DBD/Mock.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Mock/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Mock
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true