diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2010-05-21 05:35:44 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2010-05-21 05:35:44 +0000 |
commit | 8f42fb52837083b4bcb9ae9679b23e68b08ec4b4 (patch) | |
tree | aaf72aba534aba1d20053bb70a09dd1777abf46c | |
parent | 324fe0496e9d9862162099c482ccf987fad3d72b (diff) |
Update to 0.99991.
Notes
Notes:
svn path=/head/; revision=254688
-rw-r--r-- | databases/ruby-odbc/Makefile | 35 | ||||
-rw-r--r-- | databases/ruby-odbc/distinfo | 6 | ||||
-rw-r--r-- | databases/ruby-odbc/pkg-plist | 15 |
3 files changed, 30 insertions, 26 deletions
diff --git a/databases/ruby-odbc/Makefile b/databases/ruby-odbc/Makefile index f1d61445a158..4bee80a8e308 100644 --- a/databases/ruby-odbc/Makefile +++ b/databases/ruby-odbc/Makefile @@ -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> diff --git a/databases/ruby-odbc/distinfo b/databases/ruby-odbc/distinfo index 6a9c49bc6fbe..906ad72aecb1 100644 --- a/databases/ruby-odbc/distinfo +++ b/databases/ruby-odbc/distinfo @@ -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 diff --git a/databases/ruby-odbc/pkg-plist b/databases/ruby-odbc/pkg-plist deleted file mode 100644 index 9dff390dfd66..000000000000 --- a/databases/ruby-odbc/pkg-plist +++ /dev/null @@ -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%% |