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

36 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:59 jeremy Exp $
COMMENT= enhanced ruby mysql driver, supporting async and threading
DISTNAME= mysqlplus-0.1.2
CATEGORIES= databases
HOMEPAGE= http://github.com/oldmoe/mysqlplus
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
WANTLIB= mysqlclient
LIB_DEPENDS= databases/mysql
CONFIGURE_STYLE=ruby gem ext
# Requires running mysql server
REGRESS_IS_INTERACTIVE = Yes
REGRESS_DEPENDS=databases/mysql,-server \
${FULLPKGNAME}:${BUILD_PKGPATH}
MODRUBY_REGRESS=rake
do-regress:
cd ${WRKSRC} && \
RUBYLIB=test:$(dirname `gem which mysqlplus`) rake test
.include <bsd.port.mk>