openbsd-ports/databases/ruby-do_sqlite3/Makefile
bernd 3f562b49cd Initial import of ruby-do_sqlite3-0.9.11.
SQLite3 plugin for DataObjects.
2009-01-30 01:06:45 +00:00

39 lines
776 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/01/30 01:06:45 bernd Exp $
SHARED_ONLY = Yes
COMMENT = DataObjects driver for SQLite3
DISTNAME = do_sqlite3-0.9.11
PKGNAME = ruby-${DISTNAME}
CATEGORIES = databases
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=dorb/}
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = ::databases/ruby-data_objects
WANTLIB = c m
LIB_DEPENDS = ruby::lang/ruby \
sqlite3::databases/sqlite3
REGRESS_DEPENDS = ::devel/ruby-rake \
::devel/ruby-rspec \
::devel/ruby-rcov \
:${PKGNAME}:${BASE_PKGPATH}
do-regress:
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake spec
.include <bsd.port.mk>