2009-10-19 10:39:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2009/10/19 08:39:37 taca Exp $
|
2008-04-04 17:15:50 +02:00
|
|
|
|
2009-10-17 07:44:09 +02:00
|
|
|
DISTNAME= ruby-odbc-0.9997
|
2008-04-04 17:15:50 +02:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${GEM_NAME}
|
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://www.ch-werner.de/rubyodbc/
|
2009-10-17 07:44:09 +02:00
|
|
|
# needs EXTRACT_SUFX since DISTFILE isn't Ruby's gem format.
|
|
|
|
EXTRACT_SUFX= .tar.gz
|
2008-04-04 17:15:50 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.ch-werner.de/rubyodbc/
|
|
|
|
COMMENT= ODBC binding for Ruby
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
2009-10-19 10:39:37 +02:00
|
|
|
.include "options.mk"
|
2008-04-04 17:15:50 +02:00
|
|
|
.include "../../misc/rubygems/rubygem.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|