pkgsrc/databases/ruby-mysql/Makefile
2021-06-23 20:33:06 +00:00

32 lines
840 B
Makefile

# $NetBSD: Makefile,v 1.40 2021/06/23 20:33:09 nia Exp $
#
DISTNAME= ruby-mysql-2.9.14
PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.9.14
PKGREVISION= 1
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"