pkgsrc/textproc/ruby-sary/Makefile
joerg 852712577b Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow the
naming scheme of the other multi-version packages. Add support for the
coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
2016-09-08 15:19:16 +00:00

36 lines
871 B
Makefile

# $NetBSD: Makefile,v 1.19 2016/09/08 15:19:19 joerg Exp $
#
DISTNAME= sary-ruby-1.2.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/}
PKGREVISION= 6
CATEGORIES= textproc ruby
MASTER_SITES= http://sary.sourceforge.net/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sary.sourceforge.net/
COMMENT= Ruby Binding of Sary
LICENSE= gnu-lgpl-v2.1
RUBY_VERSIONS_ACCEPTED= 18 21 22 23
USE_RUBY_EXTCONF= yes
USE_TOOLS+= pkg-config
DOCS= Reference.en.rd Reference.ja.rd
SUBST_CLASSES+= ruby
SUBST_STAGE.ruby= post-build
SUBST_FILES.ruby= ${DOCS}
SUBST_SED.ruby= -e 's|/usr/local/bin/ruby|${RUBY}|g'
INSTALLATION_DIRS= ${RUBY_DOC}/sary
post-install:
.for d in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${d} ${DESTDIR}${PREFIX}/${RUBY_DOC}/sary
.endfor
.include "../../lang/ruby/modules.mk"
.include "../../textproc/sary/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"