diff options
author | dannyboy <dannyboy@FreeBSD.org> | 2001-06-12 01:53:31 +0800 |
---|---|---|
committer | dannyboy <dannyboy@FreeBSD.org> | 2001-06-12 01:53:31 +0800 |
commit | 1844c964716fba274fce82f4af902a9e3b1ea091 (patch) | |
tree | a3d791d943dfaee2fdb920fe832f27b574f410fa /databases/p5-DBIx-DataSource | |
parent | 303c631c243d0a68f2108c13f0e5da453b7f049e (diff) | |
download | freebsd-ports-gnome-1844c964716fba274fce82f4af902a9e3b1ea091.tar.gz freebsd-ports-gnome-1844c964716fba274fce82f4af902a9e3b1ea091.tar.zst freebsd-ports-gnome-1844c964716fba274fce82f4af902a9e3b1ea091.zip |
Add p5-DBIx-DataSource 0.02,
database-independent create and drop
functions.
PR: 27804
Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'databases/p5-DBIx-DataSource')
-rw-r--r-- | databases/p5-DBIx-DataSource/Makefile | 26 | ||||
-rw-r--r-- | databases/p5-DBIx-DataSource/distinfo | 1 | ||||
-rw-r--r-- | databases/p5-DBIx-DataSource/pkg-comment | 1 | ||||
-rw-r--r-- | databases/p5-DBIx-DataSource/pkg-descr | 8 | ||||
-rw-r--r-- | databases/p5-DBIx-DataSource/pkg-plist | 9 |
5 files changed, 45 insertions, 0 deletions
diff --git a/databases/p5-DBIx-DataSource/Makefile b/databases/p5-DBIx-DataSource/Makefile new file mode 100644 index 000000000000..e57e8cf6ccf2 --- /dev/null +++ b/databases/p5-DBIx-DataSource/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: databases/p5-DBIx-DataSource +# Date created: 01 June 2001 +# Whom: Anton Berezin <tobez@tobez.org> +# +# $FreeBSD$ +# + +PORTNAME= DBIx-DataSource +PORTVERSION= 0.02 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= DBIx +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@tobez.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= DBIx::DataSource.3 DBIx::DataSource::Driver.3 \ + DBIx::DataSource::mysql.3 DBIx::DataSource::Pg.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/databases/p5-DBIx-DataSource/distinfo b/databases/p5-DBIx-DataSource/distinfo new file mode 100644 index 000000000000..6079cf0dc243 --- /dev/null +++ b/databases/p5-DBIx-DataSource/distinfo @@ -0,0 +1 @@ +MD5 (DBIx-DataSource-0.02.tar.gz) = 12d60ad75ceced40286d18fcdcb5a40b diff --git a/databases/p5-DBIx-DataSource/pkg-comment b/databases/p5-DBIx-DataSource/pkg-comment new file mode 100644 index 000000000000..7e2455f0619c --- /dev/null +++ b/databases/p5-DBIx-DataSource/pkg-comment @@ -0,0 +1 @@ +Database-independent create and drop functions diff --git a/databases/p5-DBIx-DataSource/pkg-descr b/databases/p5-DBIx-DataSource/pkg-descr new file mode 100644 index 000000000000..f718a830dcd9 --- /dev/null +++ b/databases/p5-DBIx-DataSource/pkg-descr @@ -0,0 +1,8 @@ +This module implements create_database and drop_database functions for +databases. It aims to provide a common interface to database creation +and deletion regardless of the actual database being used. + +Currently supported databases are MySQL and PostgreSQL. + +-Anton +<tobez@tobez.org> diff --git a/databases/p5-DBIx-DataSource/pkg-plist b/databases/p5-DBIx-DataSource/pkg-plist new file mode 100644 index 000000000000..c765c858fa48 --- /dev/null +++ b/databases/p5-DBIx-DataSource/pkg-plist @@ -0,0 +1,9 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DataSource/.packlist +lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource.pm +lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource/Driver.pm +lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource/mysql.pm +lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource/Pg.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DataSource +@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DataSource +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true |