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/Makefile | |
parent | Change maintainer's email address: clefevre@poboxes.com -> clefevre@redirect.to (diff) |
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/Makefile')
-rw-r--r-- | databases/ruby-dbd_mysql/Makefile | 29 |
1 files changed, 12 insertions, 17 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 |