openbsd-ports/databases/ruby-mysql/Makefile
2013-01-09 17:38:52 +00:00

34 lines
641 B
Makefile

# $OpenBSD: Makefile,v 1.24 2013/01/09 17:38:52 jeremy Exp $
COMMENT= access a MySQL database from Ruby
DISTNAME= mysql-2.8.1
REVISION= 11
CATEGORIES= databases
HOMEPAGE= http://tmtm.org/mysql/ruby/
# Ruby 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
REGRESS_DEPENDS=databases/mysql,-server
# A running mysqld is required to run the regression tests.
REGRESS_IS_INTERACTIVE = Yes
do-regress:
@cd ${WRKBUILD} && ${RUBY} test.rb
.include <bsd.port.mk>