diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2005-12-08 09:37:38 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2005-12-08 09:37:38 +0000 |
commit | 89332aba1aa4a67983ac3184761cac580a9b3a1f (patch) | |
tree | 8705ac64dc960a095dd753b0c8f38c528e913120 /databases/p5-DBD-Mock | |
parent | Add lang/p5-Interpolation 0.70, a Perl module that implements arbitrary (diff) |
Add p5-DBD-Mock, a simple mock DBD implementation used for testing
PR: 89835
Submitted by: Espen Tagestad <espen@tagestad.no>
Notes
Notes:
svn path=/head/; revision=150646
Diffstat (limited to 'databases/p5-DBD-Mock')
-rw-r--r-- | databases/p5-DBD-Mock/Makefile | 33 | ||||
-rw-r--r-- | databases/p5-DBD-Mock/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-DBD-Mock/pkg-descr | 9 | ||||
-rw-r--r-- | databases/p5-DBD-Mock/pkg-plist | 5 |
4 files changed, 50 insertions, 0 deletions
diff --git a/databases/p5-DBD-Mock/Makefile b/databases/p5-DBD-Mock/Makefile new file mode 100644 index 000000000000..258b2aaaf38b --- /dev/null +++ b/databases/p5-DBD-Mock/Makefile @@ -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> diff --git a/databases/p5-DBD-Mock/distinfo b/databases/p5-DBD-Mock/distinfo new file mode 100644 index 000000000000..30723db8bd66 --- /dev/null +++ b/databases/p5-DBD-Mock/distinfo @@ -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 diff --git a/databases/p5-DBD-Mock/pkg-descr b/databases/p5-DBD-Mock/pkg-descr new file mode 100644 index 000000000000..9b873730f636 --- /dev/null +++ b/databases/p5-DBD-Mock/pkg-descr @@ -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 diff --git a/databases/p5-DBD-Mock/pkg-plist b/databases/p5-DBD-Mock/pkg-plist new file mode 100644 index 000000000000..eb984b860dd8 --- /dev/null +++ b/databases/p5-DBD-Mock/pkg-plist @@ -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 |