openbsd-ports/databases/ruby-do_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

31 lines
667 B
Makefile

# $OpenBSD: Makefile,v 1.16 2012/09/23 16:57:33 jeremy Exp $
COMMENT = DataObjects driver for SQLite3
VERSION = 0.10.8
DISTNAME = do_sqlite3-${VERSION}
CATEGORIES = databases
REVISION = 1
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem ext
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = databases/ruby-data_objects,${MODRUBY_FLAVOR}>=${VERSION}
WANTLIB = sqlite3
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
devel/ruby-bacon,${MODRUBY_FLAVOR}
do-regress:
cd ${WRKSRC} && bacon${GEM_BIN_SUFFIX} spec/*_spec.rb
.include <bsd.port.mk>