diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-11-27 17:51:06 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-11-27 17:51:06 +0000 |
commit | 2c6bfc326a75b600539a5bbf4f95ddb18e19f65a (patch) | |
tree | e6e0f3b7bad3c9e6acac5f20bf66646bcc1d65ae /databases | |
parent | 71d5b1b067c6166eb29f8461a536d61e607004ac (diff) | |
download | freebsd-ports-2c6bfc326a75b600539a5bbf4f95ddb18e19f65a.zip |
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>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 23 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/pkg-comment | 2 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/pkg-descr | 23 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/pkg-plist | 15 |
5 files changed, 26 insertions, 39 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index ee81d683bea3..70f9f89f3a89 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -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> diff --git a/databases/p5-DBD-mysql/distinfo b/databases/p5-DBD-mysql/distinfo index 06156327beaf..2d026ee85d08 100644 --- a/databases/p5-DBD-mysql/distinfo +++ b/databases/p5-DBD-mysql/distinfo @@ -1 +1 @@ -MD5 (Msql-Mysql-modules-1.2216.tar.gz) = b5f764a84c452c9f46c3f7d937798e77 +MD5 (DBD-mysql-2.1004.tar.gz) = c15dc25536260fab78b86890d1508e8f diff --git a/databases/p5-DBD-mysql/pkg-comment b/databases/p5-DBD-mysql/pkg-comment index a2e381f8ae1a..270c05e228d8 100644 --- a/databases/p5-DBD-mysql/pkg-comment +++ b/databases/p5-DBD-mysql/pkg-comment @@ -1 +1 @@ -Perl5 modules for accessing MySQL databases +MySQL driver for the Perl5 Database Interface (DBI) diff --git a/databases/p5-DBD-mysql/pkg-descr b/databases/p5-DBD-mysql/pkg-descr index 5387b091d049..dd065ed4f44d 100644 --- a/databases/p5-DBD-mysql/pkg-descr +++ b/databases/p5-DBD-mysql/pkg-descr @@ -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 diff --git a/databases/p5-DBD-mysql/pkg-plist b/databases/p5-DBD-mysql/pkg-plist index cebf02907e5a..10842784c96a 100644 --- a/databases/p5-DBD-mysql/pkg-plist +++ b/databases/p5-DBD-mysql/pkg-plist @@ -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 |