import ruby-mfi-0.9.1

Gem for integrating with mFi devices over SSH. Currently only the
mPower devices are supported.

ok jeremy@
This commit is contained in:
jasper 2014-08-15 12:09:41 +00:00
parent be20bdebb5
commit f3d6b25f5b
5 changed files with 54 additions and 0 deletions

21
net/ruby-mfi/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/08/15 12:09:41 jasper Exp $
COMMENT= integration with Ubiquiti mFi sensors and devices
DISTNAME= mfi-0.9.1
CATEGORIES= net
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= converters/ruby-json,${MODRUBY_FLAVOR}>=1.8.1 \
net/ruby-net-ssh,${MODRUBY_FLAVOR}
.include <bsd.port.mk>

2
net/ruby-mfi/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (mfi-0.9.1.gem) = 30xNgSlq1S7z3LFMAQiMDJ2A5q822nI+82rsGsQ6gGo=
SIZE (mfi-0.9.1.gem) = 6656

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-_metadata,v 1.1.1.1 2014/08/15 12:09:41 jasper Exp $
Fix dependency name
https://github.com/dansimpson/mfi/pull/1
--- .metadata.orig Thu Aug 14 12:47:03 2014
+++ .metadata Thu Aug 14 12:47:20 2014
@@ -11,7 +11,7 @@ cert_chain: []
date: 2013-11-02 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
- name: ssh
+ name: net-ssh
requirement: !ruby/object:Gem::Requirement
requirements:
- - '>='

2
net/ruby-mfi/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Gem for integrating with mFi devices over SSH. Currently only the
mPower devices are supported.

13
net/ruby-mfi/pkg/PLIST Normal file
View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/08/15 12:09:41 jasper Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/.gitignore
${GEM_LIB}/gems/${DISTNAME}/Gemfile
${GEM_LIB}/gems/${DISTNAME}/Gemfile.lock
${GEM_LIB}/gems/${DISTNAME}/README.md
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/mfi.rb
${GEM_LIB}/gems/${DISTNAME}/lib/mpower.rb
${GEM_LIB}/gems/${DISTNAME}/mfi.gemspec
${GEM_LIB}/specifications/${DISTNAME}.gemspec