c7ff05f63e
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
23 lines
624 B
Makefile
23 lines
624 B
Makefile
# $NetBSD: Makefile,v 1.18 2019/05/23 19:22:55 rillig 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
|
|
|
|
RUBY_VERSIONS_ACCEPTED= 24 25 26
|
|
|
|
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"
|