diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-09 14:23:33 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-09 14:23:33 +0000 |
commit | 58261648b1b4ad3f2a0cd535dedbfce64df600be (patch) | |
tree | 73aea292059a4ac9397dab2638fae92bfad885f5 /databases/ruby-dbd_mysql | |
parent | 9c0a0718648657ec021605bd7c331313d582075d (diff) |
Notes
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 |