openbsd-ports/databases/ruby-do_mysql/Makefile
jeremy 1c5550fb81 Clean up regression code in some ruby database ports, adding
NO_REGRESS and REGRESS_IS_INTERACTIVE when appropriate, and
comments for some broken regression tests.

Prompted and OK ajacoutot@
2010-12-21 17:10:58 +00:00

32 lines
710 B
Makefile

# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:58 jeremy Exp $
COMMENT= ruby-data_objects driver for MySQL
DISTNAME= do_mysql-0.10.2
CATEGORIES= databases
# 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}
WANTLIB= mysqlclient
LIB_DEPENDS= databases/mysql
# Requires running MySQL database
REGRESS_IS_INTERACTIVE = Yes
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>