aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2011-08-06 16:01:59 +0800
committertota <tota@FreeBSD.org>2011-08-06 16:01:59 +0800
commitdd15919e16dd778dc116352fe8d1a66574ec4584 (patch)
tree3a3308210af712124115487ff59f71031491f93d /devel
parent96c9e309e34349528824cd61b48ec57afd2d6c4c (diff)
downloadfreebsd-ports-gnome-dd15919e16dd778dc116352fe8d1a66574ec4584.tar.gz
freebsd-ports-gnome-dd15919e16dd778dc116352fe8d1a66574ec4584.tar.zst
freebsd-ports-gnome-dd15919e16dd778dc116352fe8d1a66574ec4584.zip
- Add a new port: devel/rubygem-io-like
The IO::Like module provides all of the methods of typical IO implementations such as File; most importantly the read, write, and seek series of methods. A class which includes IO::Like needs to provide only a few methods in order to enable the higher level methods. Buffering is automatically provided by default for the methods which normally provide it in IO. WWW: https://github.com/javanthropus/io-like
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-io-like/Makefile26
-rw-r--r--devel/rubygem-io-like/distinfo2
-rw-r--r--devel/rubygem-io-like/pkg-descr7
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 39e50c84d606..e092740b16e8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3299,6 +3299,7 @@
SUBDIR += rubygem-icalendar
SUBDIR += rubygem-igraph
SUBDIR += rubygem-inline
+ SUBDIR += rubygem-io-like
SUBDIR += rubygem-jammit
SUBDIR += rubygem-jruby-jars
SUBDIR += rubygem-json
diff --git a/devel/rubygem-io-like/Makefile b/devel/rubygem-io-like/Makefile
new file mode 100644
index 000000000000..5616bd952610
--- /dev/null
+++ b/devel/rubygem-io-like/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: rubygem-io-like
+# Date created: 2011-08-06
+# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= io-like
+PORTVERSION= 0.3.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= The interface of IO objects to classes providing a few simple methods
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} == 1.9
+BROKEN= does not work with ruby 1.9
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/rubygem-io-like/distinfo b/devel/rubygem-io-like/distinfo
new file mode 100644
index 000000000000..4845d29e4947
--- /dev/null
+++ b/devel/rubygem-io-like/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/io-like-0.3.0.gem) = d3fc128940d11704ac0d9bc0d46a2b30be162aca030273e690b1bfca8506d612
+SIZE (rubygem/io-like-0.3.0.gem) = 31744
diff --git a/devel/rubygem-io-like/pkg-descr b/devel/rubygem-io-like/pkg-descr
new file mode 100644
index 000000000000..233b0cba0028
--- /dev/null
+++ b/devel/rubygem-io-like/pkg-descr
@@ -0,0 +1,7 @@
+The IO::Like module provides all of the methods of typical IO implementations
+such as File; most importantly the read, write, and seek series of methods. A
+class which includes IO::Like needs to provide only a few methods in order to
+enable the higher level methods. Buffering is automatically provided by default
+for the methods which normally provide it in IO.
+
+WWW: https://github.com/javanthropus/io-like