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

37 lines
794 B
Makefile

# $OpenBSD: Makefile,v 1.7 2012/09/23 16:57:33 jeremy Exp $
COMMENT= enhanced ruby mysql driver, supporting async and threading
DISTNAME= mysqlplus-0.1.2
REVISION = 3
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 crypto ssl z
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>