pkgsrc/devel/ruby-wisper/Makefile
taca b79043f91b devel/ruby-wisper: add version 2.0.1 package
Add ruby-wisper version 2.0.1 package.

Wisper

A micro library providing Ruby objects with Publish-Subscribe capabilities.

* Decouple core business logic from external concerns in Hexagonal style
  architectures.
* Use as an alternative to ActiveRecord callbacks and Observers in Rails
  apps.
* Connect objects based on context without permanence.
* React to events synchronously or asynchronously.

Note: Wisper was originally extracted from a Rails codebase but is not
dependant on Rails.
2020-01-19 15:01:47 +00:00

28 lines
741 B
Makefile

# $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"