29 lines
564 B
Makefile
29 lines
564 B
Makefile
# $OpenBSD: Makefile,v 1.40 2021/07/16 15:05:47 jeremy Exp $
|
|
|
|
COMMENT= access a MySQL database from Ruby
|
|
|
|
DISTNAME= mysql-2.9.1
|
|
REVISION= 5
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://tmtm.org/mysql/ruby/
|
|
|
|
# Ruby License
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= databases/mariadb lang/ruby
|
|
|
|
WANTLIB= mysqlclient crypto pthread ssl z
|
|
|
|
LIB_DEPENDS= databases/mariadb
|
|
|
|
CONFIGURE_STYLE=ruby gem ext
|
|
|
|
TEST_ENV = \
|
|
MYSQL_SOCK=${MODMARIADB_TEST_SOCKET} \
|
|
RUBYLIB=${GEM_BASE_LIB}/gems/${DISTNAME}/lib
|
|
|
|
MODMARIADB_TEST_CMD = ${RUBY} ${WRKSRC}/test/test_mysql.rb
|
|
|
|
.include <bsd.port.mk>
|