pkgsrc/archivers/ruby-xz/Makefile
taca efa987a4d4 archivers/ruby-xz: allow build with ruby27
Allow build with Ruby 2.7.
2020-03-23 15:23:10 +00:00

21 lines
588 B
Makefile

# $NetBSD: Makefile,v 1.19 2020/03/23 15:23:10 taca Exp $
DISTNAME= ruby-xz-1.0.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
CATEGORIES= archivers
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://github.com/Quintus/ruby-xz
COMMENT= Ruby bindings for liblzma
LICENSE= mit
DEPENDS+= ${RUBY_NAME}-fiddle>=${RUBY_VERSION}:../../devel/ruby-fiddle
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_FILES.path= lib/xz/lib_lzma.rb
SUBST_VARS.path= LOCALBASE
SUBST_SED.path+= -e "s,@SHLIB_EXT@,${RUBY_SLEXT},g"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"