Update to 0.99991.

This commit is contained in:
Akinori MUSHA 2010-05-21 05:35:44 +00:00
parent 324fe0496e
commit 8f42fb5283
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254688
3 changed files with 30 additions and 26 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= odbc
PORTVERSION= 0.9995
PORTVERSION= 0.99991
CATEGORIES= databases ruby
MASTER_SITES= http://www.ch-werner.de/rubyodbc/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -20,19 +20,38 @@ LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_WRKSRC= ${WRKSRC}/ext
BUILD_WRKSRC= ${WRKSRC}/ext
INSTALL_WRKSRC= ${WRKSRC}/ext
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README doc/odbc.html
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/odbc.so \
%%RUBY_SITELIBDIR%%/cqgen.rb
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR}
PORTEXAMPLES= test
DOCSDIR= ${RUBY_MODDOCDIR}
PORTDOCS= COPYING ChangeLog README doc
.endif
post-extract:
cd ${WRKSRC} && ${MV} lib ext/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/test* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${EXAMPLESDIR}/
.endfor
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (ruby/ruby-odbc-0.9995.tar.gz) = c23adc7726bd7548b7e53b1739ca90f7
SHA256 (ruby/ruby-odbc-0.9995.tar.gz) = 9fe3bfbdff28376aa21e0b6fee5702f95f25d01e35099c2da2309d1797e7b92a
SIZE (ruby/ruby-odbc-0.9995.tar.gz) = 69459
MD5 (ruby/ruby-odbc-0.99991.tar.gz) = 64eaf6089e7ca17eeff54c4fe052ac96
SHA256 (ruby/ruby-odbc-0.99991.tar.gz) = f4e0b215af6cec4c98f5b9cc75ebb2d952417a79c93db9f1a7e4b3efb6f8cfa7
SIZE (ruby/ruby-odbc-0.99991.tar.gz) = 69908

View file

@ -1,15 +0,0 @@
%%RUBY_SITEARCHLIBDIR%%/odbc.so
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/00connect.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/10create_table.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/20insert.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/30select.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/40update.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/50drop_table.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/70close.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/test
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/odbc.html
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%