30b0cd4038
for Ruby packages. 2004-09-20 version 2.5.1 * add Mysql#set_ssl(). 2004-08-31 version 2.5 * correspond to MySQL 4.1.x. * change MysqlRes, MysqlField, MysqlError to Mysql::Result, Mysql::Field, Mysql::Error. * add Mysql.client_version(), Mysql.get_client_version(), Mysql#client_version(), Mysql#get_client_version(), Mysql#server_version(), Mysql#get_server_version(), Mysql#warning_count(), Mysql#commit(), Mysql#rollback(), Mysql#autocommit(). * add Mysql::Field#is_not_null?(), Mysql::Field#is_pri_key?(), Mysql::Field#is_num?(). * add MysqlField::TYPE_VAR_STRING.
32 lines
932 B
Makefile
32 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.10 2004/11/27 15:45:57 taca Exp $
|
|
#
|
|
|
|
DISTNAME= mysql-ruby-2.5.1
|
|
PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.5.1
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= http://www.tmtm.org/mysql/ruby/
|
|
|
|
MAINTAINER= neumann@s-direktnet.de
|
|
HOMEPAGE= http://www.tmtm.org/mysql/ruby/
|
|
COMMENT= Ruby extension for MySQL
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
INSTALL_TARGET= site-install
|
|
CONFIGURE_ARGS+= --with-mysql-include-dir=${BUILDLINK_PREFIX.mysql-client}/include \
|
|
--with-mysql-lib-dir=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
|
|
|
|
DOCS= README.html README_ja.html
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mysql
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/mysql
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mysql
|
|
${INSTALL_SCRIPT} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/mysql
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|