pkgsrc/textproc/ruby-rdtool/Makefile
rillig c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00

24 lines
668 B
Makefile

# $NetBSD: Makefile,v 1.46 2019/05/23 19:23:18 rillig Exp $
DISTNAME= rdtool-0.6.38
PKGREVISION= 2
CATEGORIES= textproc ruby
MAINTAINER= taca@NetBSD.org
HOMEPAGE= https://github.com/uwabami/rdtool
COMMENT= RD (Ruby Document) converter to HTML/man/etc
LICENSE= gnu-gpl-v2 OR ruby-license
CONF_FILES+= ${GEM_LIBDIR}/lib/rd/dot.rd2rc ${PKG_SYSCONFDIR}/dot.rd2rc
SUBST_CLASSES+= path
SUBST_STAGE.path= post-configure
SUBST_FILES.path= bin/rd2
SUBST_VARS.path= PKG_SYSCONFDIR
SUBST_MESSAGE.path= Fixing PKG_SYSCONFDIR paths.
RUBYGEM_OPTIONS+= --format-executable
.include "../../lang/ruby/gem.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"