openbsd-ports/databases/ruby-sqlite3/Makefile

37 lines
819 B
Makefile
Raw Normal View History

2012-01-21 19:53:30 -05:00
# $OpenBSD: Makefile,v 1.23 2012/01/22 00:53:30 jeremy Exp $
COMMENT= access a SQLite3 database from ruby
2012-01-21 19:53:30 -05:00
VERSION= 1.3.5
DISTNAME= sqlite3-${VERSION}
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
2010-11-26 02:18:59 -05:00
LIB_DEPENDS= databases/sqlite3>=3.3.4
CONFIGURE_STYLE= ruby gem ext
MODRUBY_REGRESS= rake
REGRESS_DEPENDS= devel/ruby-mocha,${MODRUBY_FLAVOR} \
converters/ruby-json,${MODRUBY_FLAVOR} \
${MODRUBY_ICONV_DEPENDS} \
2010-11-15 07:44:20 -05:00
${FULLPKGNAME}:${BUILD_PKGPATH}
2008-06-05 03:37:47 -04:00
do-regress:
cd ${WRKSRC}/test && ${RUBY} -I . -rubygems -e \
"require 'sqlite3'; Dir['test_*.rb'].each{|f| load(f)}"
.include <bsd.port.mk>