diff options
author | knu <knu@FreeBSD.org> | 2001-06-09 22:23:33 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-09 22:23:33 +0800 |
commit | 2950959561391a595e8f20f73a6531aa1a6f01e9 (patch) | |
tree | a71842a26dc8fbaeb144ef9e7d6482fb323e64bc /databases/ruby-dbd_mysql | |
parent | b19838b2b1718044d5eeb3b47519b5aeaedca7ef (diff) | |
download | freebsd-ports-gnome-2950959561391a595e8f20f73a6531aa1a6f01e9.tar.gz freebsd-ports-gnome-2950959561391a595e8f20f73a6531aa1a6f01e9.tar.zst freebsd-ports-gnome-2950959561391a595e8f20f73a6531aa1a6f01e9.zip |
Update Ruby/DBI to 0.0.5.
ruby-dbd_postgresql has been renamed to ruby-dbd_pg. (without a
repocopy since ruby-dbd_postgresql has no history)
Diffstat (limited to 'databases/ruby-dbd_mysql')
-rw-r--r-- | databases/ruby-dbd_mysql/Makefile | 29 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/pkg-descr | 4 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/pkg-plist | 5 |
4 files changed, 16 insertions, 23 deletions
diff --git a/databases/ruby-dbd_mysql/Makefile b/databases/ruby-dbd_mysql/Makefile index c2d57d90bc5b..ddfa733245de 100644 --- a/databases/ruby-dbd_mysql/Makefile +++ b/databases/ruby-dbd_mysql/Makefile @@ -6,38 +6,33 @@ # PORTNAME= dbd_mysql -PORTVERSION= 0.0.4 +PORTVERSION= ${RUBY_DBI_PORTVERSION} CATEGORIES= databases ruby -MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/ +MASTER_SITES= ${RUBY_DBI_MASTER_SITES} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ruby-dbi-${PORTVERSION} -EXTRACT_SUFX= .tgz +DISTNAME= ${RUBY_DBI_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi \ +RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} \ ${RUBY_SITEARCHLIBDIR}/mysql.so:${.CURDIR}/../ruby-mysql USE_RUBY= yes +USE_RUBY_SETUP= yes -NO_BUILD= yes +WRKSRC= ${RUBY_DBI_WRKSRC} +CONFIGURE_ARGS= --with=lib/${PORTNAME} -WRKSRC= ${WRKDIR}/lib/${PORTNAME} +DOCS_EN= lib/${PORTNAME}/doc/* -EXAMPLES_EN= ../../examples/test1.rb -DOCS_EN= doc/* +.include "${.CURDIR}/../ruby-dbi/Makefile.common" -do-install: - ${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/dbi/ +post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME} -.for f in ${EXAMPLES_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME}/ -.endfor - ${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME} + ${MKDIR} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME} .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}/ .endfor .endif diff --git a/databases/ruby-dbd_mysql/distinfo b/databases/ruby-dbd_mysql/distinfo deleted file mode 100644 index 577d95dcd0c3..000000000000 --- a/databases/ruby-dbd_mysql/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449 diff --git a/databases/ruby-dbd_mysql/pkg-descr b/databases/ruby-dbd_mysql/pkg-descr index d6a66f296340..816affcffeb0 100644 --- a/databases/ruby-dbd_mysql/pkg-descr +++ b/databases/ruby-dbd_mysql/pkg-descr @@ -1,4 +1,4 @@ -This is the MySQL driver for Rainer Perl's DBI-for-Ruby. +This is the MySQL driver for DBI-for-Ruby. Author: Rainer Perl <rainer.perl@sprytech.com> -WWW: http://www.sprytech.com/~rainer.perl/ruby/ +WWW: http://www.ruby-projects.org/dbi/ diff --git a/databases/ruby-dbd_mysql/pkg-plist b/databases/ruby-dbd_mysql/pkg-plist index 86a95a0707e7..b41ebb46bce4 100644 --- a/databases/ruby-dbd_mysql/pkg-plist +++ b/databases/ruby-dbd_mysql/pkg-plist @@ -1,6 +1,5 @@ -%%RUBY_SITELIBDIR%%/dbi/dbd_mysql.rb -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_mysql/test1.rb -%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi/dbd_mysql +%%RUBY_SITELIBDIR%%/DBD/Mysql/Mysql.rb +@dirrm %%RUBY_SITELIBDIR%%/DBD/Mysql %%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_mysql/HISTORY %%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_mysql/README %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_mysql |