d2c079d5d6
ODBC binding for Ruby --------------------- Wed May 20 2009 version 0.9997 released * added Chad Johnson's FreeTDS/MSSQL patch to prevent from re-prepare of queries with SQL_VARCHAR parameters Mon Feb 02 2009 version 0.9996 released * updates for Ruby > 1.8 * added Stephen Veit's SQL_NO_TOTAL handling to improve retrieving large SQL_C_BINARY data * fixes for SQLExecute/SQLExecDirect returning SQL_NO_DATA
28 lines
727 B
Makefile
28 lines
727 B
Makefile
# $NetBSD: Makefile,v 1.3 2009/10/17 05:44:09 taca Exp $
|
|
|
|
DISTNAME= ruby-odbc-0.9997
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${GEM_NAME}
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.ch-werner.de/rubyodbc/
|
|
# needs EXTRACT_SUFX since DISTFILE isn't Ruby's gem format.
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.ch-werner.de/rubyodbc/
|
|
COMMENT= ODBC binding for Ruby
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "options.mk"
|
|
|
|
GEM_NAME= ${DISTNAME:S/ruby-//}
|
|
GEM_BUILD= gemspec
|
|
GEM_CLEANBUILD= Makefile mkmf.log *.o odbc.${RUBY_DLEXT} utf8/*
|
|
|
|
CONFIGURE_ARGS= --disable-dlopen
|
|
|
|
post-extract:
|
|
cp ${FILESDIR}/gemspec ${GEM_SPECFILE}
|
|
|
|
.include "../../misc/rubygems/rubygem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|