Add (after repo-copy) p5-DBD-mysql, a perl DBD driver for

MySQL.  This port will supercede p5-Mysql after verifying
there are no problems with existing ports/applications.

PR:		32130
Submitted by:	Sergey Skvortsov <skv@protey.ru>
This commit is contained in:
Chris D. Faulhaber 2001-11-27 17:51:06 +00:00
parent 71d5b1b067
commit 2c6bfc326a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50656
5 changed files with 26 additions and 39 deletions

View file

@ -5,33 +5,24 @@
# $FreeBSD$
#
PORTNAME= Mysql-modules
PORTVERSION= 1.2216
PORTNAME= DBD-mysql
PORTVERSION= 2.1004
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
PKGNAMEPREFIX= p5-
DISTNAME= Msql-Mysql-modules-${PORTVERSION}
MAINTAINER= jedgar@FreeBSD.org
MAINTAINER= skv@protey.ru
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}" \
--noprompt --mysql-install --nomsql-install
CONFIGURE_ENV= MYSQL_HOME=${PREFIX} IN_MYSQL_DISTRIBUTION=1
MAN1= dbimon.1
MAN3= Bundle::DBD::mysql.3 \
DBD::mysql.3 \
MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3 \
Mysql.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
pre-configure:
@${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (Msql-Mysql-modules-1.2216.tar.gz) = b5f764a84c452c9f46c3f7d937798e77
MD5 (DBD-mysql-2.1004.tar.gz) = c15dc25536260fab78b86890d1508e8f

View file

@ -1 +1 @@
Perl5 modules for accessing MySQL databases
MySQL driver for the Perl5 Database Interface (DBI)

View file

@ -1,15 +1,10 @@
Mysql.pm and DBD::mysql implement two different approaches to
communicate with an MySQL server. DBD::mysql is built upon the DBI, the
generic Perl Database Interface. It brings you an identical interface
to a broad variety of databases and is in this regard comparable to
ODBC. The advantage of the DBI approach is portability and
interoperability. Msql.pm is the elder species. It was written before
DBI was available but it was inspired by an early draft of the DBI
specification. As it has been circulating longer it is more mature and
pretty stable. It's also more complete than DBD::mysql.
DBD::mysql is the Perl5 Database Interface driver for the
MySQL database. In other words: DBD::mysql is an interface
between the Perl programming language and the MySQL
programming API that comes with the MySQL relational
database management system. Most functions provided by
this programming API are supported. Some rarely used
functions are missing, mainly because noone ever requested
them.
Some day in the future DBD::mysql will probably be the clearly superior
competitor in this package. Today you have to decide on your own about
the trade-offs.
WWW: http://www.symbolstone.org/technology/perl/DBI/
WWW: http://search.cpan.org/search?dist=DBD-mysql

View file

@ -1,14 +1,15 @@
bin/dbimon
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql/.packlist
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle/DBD/mysql.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/mysql.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/mysql.pod
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/mysql/INSTALL.pod
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql/Statement.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql/mysql.bs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql/mysql.so
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Msql-Mysql-modules/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Msql-Mysql-modules
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/mysql
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Mysql
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle/DBD
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/mysql
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Bundle/DBD 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true