2010-11-08 18:28:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2010/11/08 23:28:53 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
|
2010-11-08 18:28:53 -05:00
|
|
|
REVISION= 4
|
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
|
|
|
|
|
2010-10-26 17:42:13 -04:00
|
|
|
WANTLIB= mysqlclient
|
2008-02-02 09:06:05 -05:00
|
|
|
|
2010-10-26 17:42:13 -04: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
|
|
|
|
|
|
|
REGRESS_DEPENDS=::databases/mysql,-server
|
|
|
|
|
|
|
|
# A running mysqld is required to run the regression tests.
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKBUILD} && ${RUBY} test.rb
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|