1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add p5-DBIx-DataSource 0.02,

database-independent create and drop
functions.

PR:		27804
Submitted by:	Anton Berezin <tobez@tobez.org>
This commit is contained in:
Daniel Harris 2001-06-11 17:53:31 +00:00
parent ca2e6f1fe1
commit a446996e71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43858
6 changed files with 46 additions and 0 deletions

View File

@ -44,6 +44,7 @@
SUBDIR += p5-DBD-Sybase
SUBDIR += p5-DBD-XBase
SUBDIR += p5-DBI
SUBDIR += p5-DBIx-DataSource
SUBDIR += p5-DBIx-Recordset
SUBDIR += p5-DBIx-SearchBuilder
SUBDIR += p5-DBIx-XML_RDB

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (DBIx-DataSource-0.02.tar.gz) = 12d60ad75ceced40286d18fcdcb5a40b

View File

@ -0,0 +1 @@
Database-independent create and drop functions

View File

@ -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>

View File

@ -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