blob: 9556b6461f0848256709f0c3968ceb11890a931f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $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"
|