openbsd-ports/databases/ruby-sqlite3/Makefile
jeremy c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00

38 lines
794 B
Makefile

# $OpenBSD: Makefile,v 1.26 2012/09/23 16:57:33 jeremy Exp $
COMMENT= access a SQLite3 database from ruby
VERSION= 1.3.6
DISTNAME= sqlite3-${VERSION}
REVISION = 0
CATEGORIES= databases
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
HOMEPAGE= http://sqlite-ruby.rubyforge.org/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
WANTLIB= sqlite3
CONFIGURE_STYLE= ruby gem ext
MODRUBY_REGRESS= rake
REGRESS_DEPENDS= devel/ruby-mocha,${MODRUBY_FLAVOR} \
converters/ruby-json,${MODRUBY_FLAVOR} \
${MODRUBY_ICONV_DEPENDS} \
${FULLPKGNAME}:${BUILD_PKGPATH}
do-regress:
cd ${WRKSRC}/test && ${RUBY} -I . -rubygems -e \
"require 'sqlite3'; Dir['test_*.rb'].each{|f| load(f)}"
.include <bsd.port.mk>