blob: 26f91bf934e4170b4ac1701baa32c610b8d6e157 (
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
33
|
# $NetBSD: Makefile,v 1.30 2009/10/17 06:59:26 taca Exp $
#
DISTNAME= mysql-ruby-2.8.1
PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.8.1
CATEGORIES= databases ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/51087/ \
http://tmtm.org/downloads/mysql/ruby/
MAINTAINER= neumann@s-direktnet.de
HOMEPAGE= http://www.tmtm.org/en/mysql/ruby/
COMMENT= Ruby extension for MySQL
LICENSE= gnu-gpl-v2
RUBY_HAS_ARCHLIB= yes
RUBY_REQD= 1.8.2
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
CONFIGURE_ARGS+= --with-mysql-config
INSTALLATION_DIRS= ${RUBY_DOC}/mysql ${RUBY_EG}/mysql
PKG_DESTDIR_SUPPORT= destdir
DOCS= README.html README_ja.html tommy.css
post-install:
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/mysql
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/test.rb ${DESTDIR}${PREFIX}/${RUBY_EG}/mysql
.include "../../lang/ruby/modules.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|