pkgsrc/databases/ruby-mysql/Makefile
taca c3032a46e1 databases/ruby-mysql: udpate to 2.9.14
Better support for MySQL 5.7.

* avoid warning
* add collations and constants from MySQL 5.7.10
* support JSON type on MySQL 5.7
2017-09-18 02:48:08 +00:00

31 lines
826 B
Makefile

# $NetBSD: Makefile,v 1.39 2017/09/18 02:48:08 taca Exp $
#
DISTNAME= ruby-mysql-2.9.14
PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.9.14
CATEGORIES= databases ruby
MASTER_SITES= ${MASTER_SITE_GITHUB:=tmtm/}
GITHUB_PROJECT= ruby-mysql
GITHUB_TAG= ${PKGVERSION_NOREV}
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
USE_RUBY_SETUP= yes
USE_RUBY_SETUP_PKG= yes
INSTALLATION_DIRS= ${RUBY_DOC}/mysql ${RUBY_EG}/mysql
DOCS= README.rdoc
ppost-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"