2012-09-23 12:57:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2012/09/23 16:57:33 jeremy Exp $
|
2008-02-02 09:06:05 -05:00
|
|
|
|
|
|
|
COMMENT= access a MySQL database from Ruby
|
|
|
|
|
2010-10-14 16:33:09 -04:00
|
|
|
DISTNAME= mysql-2.8.1
|
2012-09-23 12:57:32 -04:00
|
|
|
REVISION= 10
|
2008-02-02 09:06:05 -05:00
|
|
|
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
|
|
|
|
|
2011-11-04 04:16:23 -04:00
|
|
|
WANTLIB= mysqlclient crypto ssl z
|
2008-02-02 09:06:05 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= databases/mysql
|
2008-02-02 09:06:05 -05:00
|
|
|
|
2010-10-26 17:42:13 -04:00
|
|
|
CONFIGURE_STYLE=ruby gem ext
|
2008-02-02 09:06:05 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
REGRESS_DEPENDS=databases/mysql,-server
|
2008-02-02 09:06:05 -05:00
|
|
|
|
|
|
|
# A running mysqld is required to run the regression tests.
|
2010-12-21 12:10:58 -05:00
|
|
|
REGRESS_IS_INTERACTIVE = Yes
|
|
|
|
|
2008-02-02 09:06:05 -05:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKBUILD} && ${RUBY} test.rb
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|