aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-08-12 08:27:59 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-08-12 08:27:59 +0800
commite34abe63e999fbc51dcfc7889d676060486e0df5 (patch)
tree27ec972358c6f02dd9224ac464d9a1a205d745f3
parent1b4626a904356511764bda42dc454832c353f85e (diff)
downloadfreebsd-ports-gnome-e34abe63e999fbc51dcfc7889d676060486e0df5.tar.gz
freebsd-ports-gnome-e34abe63e999fbc51dcfc7889d676060486e0df5.tar.zst
freebsd-ports-gnome-e34abe63e999fbc51dcfc7889d676060486e0df5.zip
- Add rubygem-memoizable 0.4.2
Memoize method return values WWW: https://github.com/dkubb/memoizable RG: https://rubygems.org/gems/memoizable
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-memoizable/Makefile20
-rw-r--r--devel/rubygem-memoizable/distinfo2
-rw-r--r--devel/rubygem-memoizable/pkg-descr4
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 851b5de22206..18acf26324c4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4379,6 +4379,7 @@
SUBDIR += rubygem-main
SUBDIR += rubygem-map
SUBDIR += rubygem-mash
+ SUBDIR += rubygem-memoizable
SUBDIR += rubygem-mercenary
SUBDIR += rubygem-metaclass
SUBDIR += rubygem-metaid
diff --git a/devel/rubygem-memoizable/Makefile b/devel/rubygem-memoizable/Makefile
new file mode 100644
index 000000000000..2f0f8bcb4fa8
--- /dev/null
+++ b/devel/rubygem-memoizable/Makefile
@@ -0,0 +1,20 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= memoizable
+PORTVERSION= 0.4.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Memoize method return values
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-thread_safe>=0.3.1:${PORTSDIR}/devel/rubygem-thread_safe
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-memoizable/distinfo b/devel/rubygem-memoizable/distinfo
new file mode 100644
index 000000000000..a4ffda9dd712
--- /dev/null
+++ b/devel/rubygem-memoizable/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/memoizable-0.4.2.gem) = acf4d2280fea019318e61cfc5e69077dcb3c2126817ee596ffd76d0ddf5e826c
+SIZE (rubygem/memoizable-0.4.2.gem) = 13312
diff --git a/devel/rubygem-memoizable/pkg-descr b/devel/rubygem-memoizable/pkg-descr
new file mode 100644
index 000000000000..71d7ca9afddc
--- /dev/null
+++ b/devel/rubygem-memoizable/pkg-descr
@@ -0,0 +1,4 @@
+Memoize method return values
+
+WWW: https://github.com/dkubb/memoizable
+RG: https://rubygems.org/gems/memoizable