diff options
author | taca <taca@pkgsrc.org> | 2002-01-27 15:17:35 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2002-01-27 15:17:35 +0000 |
commit | 661ee2286484bf6035f5ac42434b32c32fd8d2e6 (patch) | |
tree | 535afe925421055dc3a9613889c464f3364e80e9 /databases/ruby-mysql/Makefile | |
parent | e176c1be82a756406b9d81a9fdb68cb6268c7360 (diff) | |
download | pkgsrc-661ee2286484bf6035f5ac42434b32c32fd8d2e6.tar.gz |
Importing ruby-mysql package, extension library to access a MySQL database
from Ruby.
Based on PR pkg/14302 with slightly modification and newer version, 2.4.2.
Diffstat (limited to 'databases/ruby-mysql/Makefile')
-rw-r--r-- | databases/ruby-mysql/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile new file mode 100644 index 00000000000..8aff4b1a51f --- /dev/null +++ b/databases/ruby-mysql/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/27 15:19:06 taca Exp $ +# + +DISTNAME= mysql-ruby-2.4.2 +PKGNAME= ${RUBY_PKGNAMEPREFIX}mysql-2.4 +CATEGORIES= databases +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 + +DIST_SUBDIR= ruby +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS+= --with-mysql-include-dir=${PREFIX}/include \ + --with-mysql-lib-dir=${PREFIX}/lib/mysql +INSTALL_TARGET= site-install + +DOCS= README README.ja +TEST_SCRIPTS= test.rb +TEST_SCRIPTS2= 00connect.rb 10create_db.rb 20create_table.rb 30insert.rb \ + 40select.rb 50update.rb 60drop_table.rb 70drop_db.rb \ + 80close.rb + +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/t +.for f in ${TEST_SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/$f ${RUBY_EXAMPLESDIR}/mysql +.endfor +.for f in ${TEST_SCRIPTS2} + ${INSTALL_SCRIPT} ${WRKSRC}/t/$f ${RUBY_EXAMPLESDIR}/mysql/t +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../databases/mysql-client/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |