2011-03-25 12:39:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2011/03/25 16:39:54 jeremy Exp $
|
2010-12-20 12:45:27 -05:00
|
|
|
|
|
|
|
COMMENT= enhanced ruby mysql driver, supporting async and threading
|
|
|
|
|
|
|
|
DISTNAME= mysqlplus-0.1.2
|
2011-01-05 23:24:22 -05:00
|
|
|
REVISION = 0
|
2010-12-20 12:45:27 -05:00
|
|
|
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
|
2010-12-21 12:10:58 -05:00
|
|
|
REGRESS_IS_INTERACTIVE = Yes
|
2010-12-20 12:45:27 -05:00
|
|
|
REGRESS_DEPENDS=databases/mysql,-server \
|
|
|
|
${FULLPKGNAME}:${BUILD_PKGPATH}
|
|
|
|
MODRUBY_REGRESS=rake
|
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && \
|
2011-03-25 12:39:54 -04:00
|
|
|
RUBYLIB=test:$(dirname `gem which mysqlplus`) ${RAKE} test
|
2010-12-20 12:45:27 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|