openbsd-ports/databases/ruby-mysql2/Makefile
jeremy 5a883ad8ca Update version to 0.2.7. Add patch to use the standard mysqlclient
library instead of the threaded one, as the threaded one would not
work correctly on ruby 1.8.
2011-04-14 17:23:32 +00:00

34 lines
769 B
Makefile

# $OpenBSD: Makefile,v 1.4 2011/04/14 17:23:32 jeremy Exp $
COMMENT= modern, simple and very fast Mysql library for Ruby
DISTNAME= mysql2-0.2.7
CATEGORIES= databases
HOMEPAGE= http://github.com/brianmario/mysql2
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= crypto mysqlclient ssl z
LIB_DEPENDS= databases/mysql
CONFIGURE_STYLE=ruby gem ext
# Regress tests currently don't work, probably because they
# need RSpec2. They also need a running MySQL server.
REGRESS_IS_INTERACTIVE = Yes
REGRESS_DEPENDS=databases/mysql,-server \
${FULLPKGNAME}:${BUILD_PKGPATH}
MODRUBY_REGRESS=rake rspec
.include <bsd.port.mk>