blob: 54fce41ecb017bb87fbba7b96ec43feb267c37b5 (
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.34 2011/02/21 16:01:11 taca Exp $
#
DISTNAME= mysql-ruby-2.8.2
PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.8.2
PKGREVISION= 2
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 OR ruby-license
PKG_DESTDIR_SUPPORT= user-destdir
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
CONFIGURE_ARGS+= --with-mysql-config
INSTALLATION_DIRS= ${RUBY_DOC}/mysql ${RUBY_EG}/mysql
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"
|