pkgsrc/devel/ruby-wisper/Makefile

29 lines
741 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.1 2020/01/19 15:01:47 taca Exp $
DISTNAME= wisper-2.0.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/krisleech/wisper
COMMENT= Providing objects with Publish-Subscribe capabilities
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=2.0:../../misc/ruby-bundler
DEPENDS+= ${RUBY_PKGPREFIX}-pry>=0.12.1:../../misc/ruby-pry
USE_LANGUAGES= # empty
USE_TOOLS= bash:run
REPLACE_BASH= bin/setup
RUBYGEM_OPTIONS+= --format-executable
WISPER_COMMANDS= console setup
post-install:
.for f in ${WISPER_COMMANDS}
mv ${DESTDIR}${PREFIX}/bin/${f}${RUBY_SUFFIX} \
${DESTDIR}${PREFIX}/bin/wisper-${f}${RUBY_SUFFIX}
.endfor
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"