diff --git a/sysutils/Makefile b/sysutils/Makefile index f2131906860a..06ad1eb25bb7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -832,6 +832,7 @@ SUBDIR += rubygem-ohai SUBDIR += rubygem-parallel SUBDIR += rubygem-rubyipmi + SUBDIR += rubygem-shellany SUBDIR += rubygem-smart_proxy_salt SUBDIR += rubygem-sys-admin SUBDIR += rubygem-sys-cpu diff --git a/sysutils/rubygem-shellany/Makefile b/sysutils/rubygem-shellany/Makefile new file mode 100644 index 000000000000..235b8429f34c --- /dev/null +++ b/sysutils/rubygem-shellany/Makefile @@ -0,0 +1,18 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= shellany +PORTVERSION= 0.0.1 +CATEGORIES= sysutils rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= MRI+JRuby compatible command output capturing + +LICENSE= MIT + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include diff --git a/sysutils/rubygem-shellany/distinfo b/sysutils/rubygem-shellany/distinfo new file mode 100644 index 000000000000..5613966d9254 --- /dev/null +++ b/sysutils/rubygem-shellany/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/shellany-0.0.1.gem) = 0e127a9132698766d7e752e82cdac8250b6adbd09e6c0a7fbbb6f61964fedee7 +SIZE (rubygem/shellany-0.0.1.gem) = 9216 diff --git a/sysutils/rubygem-shellany/pkg-descr b/sysutils/rubygem-shellany/pkg-descr new file mode 100644 index 000000000000..82407ec2cb36 --- /dev/null +++ b/sysutils/rubygem-shellany/pkg-descr @@ -0,0 +1,11 @@ +Shellany captures command output. + +Features: +- Portability (should work on recent JRuby versions). +- Capturing stdout, stderr in a convenient way. +- Returning the result in a convenient way. +- Detecting if a shell is needed (though incomplete/primitive implementation). +- Prevents running the same command multiple times. + +WWW: https://github.com/guard/shellany +RG: https://rubygems.org/gems/shellany