aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-05-18 09:44:53 +0800
committerswills <swills@FreeBSD.org>2012-05-18 09:44:53 +0800
commitdeabf9a5c5a9c8130a75aa4e6cdaab490daaaab6 (patch)
tree323047e4ee96aa2231f36917aba44d1bb4a4482b /devel
parent8b967bbae842f602ce88cd442ec80000e94a1f33 (diff)
downloadfreebsd-ports-gnome-deabf9a5c5a9c8130a75aa4e6cdaab490daaaab6.tar.gz
freebsd-ports-gnome-deabf9a5c5a9c8130a75aa4e6cdaab490daaaab6.tar.zst
freebsd-ports-gnome-deabf9a5c5a9c8130a75aa4e6cdaab490daaaab6.zip
A ruby gem to mirror gems from rubygems.org. It uses net/http/persistent and
threads to grab the mirror set a little faster than the original. WWW: http://rubygems.org/gems/rubygems-mirror
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-mirror/Makefile25
-rw-r--r--devel/rubygem-mirror/distinfo2
-rw-r--r--devel/rubygem-mirror/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 732c9ab567d2..8d5cce76e059 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3749,6 +3749,7 @@
SUBDIR += rubygem-metaid
SUBDIR += rubygem-method_source
SUBDIR += rubygem-minitest
+ SUBDIR += rubygem-mirror
SUBDIR += rubygem-mixlib-authentication
SUBDIR += rubygem-mixlib-cli
SUBDIR += rubygem-mixlib-config
diff --git a/devel/rubygem-mirror/Makefile b/devel/rubygem-mirror/Makefile
new file mode 100644
index 000000000000..05f90fb9c0bd
--- /dev/null
+++ b/devel/rubygem-mirror/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rubygem-mirror
+# Date created: 2012-05-10
+# Whom: Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mirror
+PORTVERSION= 1.0.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+DISTNAME= ${GEM_NAME}
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= A gem to mirror rubygems
+
+RUN_DEPENDS= rubygem-net-http-persistent>=2.1:${PORTSDIR}/www/rubygem-net-http-persistent
+
+USE_RUBY= yes
+USE_RAKE= yes
+USE_RUBYGEMS= yes
+GEM_NAME= rubygems-${PORTNAME}-${PORTVERSION}
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-mirror/distinfo b/devel/rubygem-mirror/distinfo
new file mode 100644
index 000000000000..ccb02c03ee68
--- /dev/null
+++ b/devel/rubygem-mirror/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rubygems-mirror-1.0.1.gem) = a4b98ece7f038de0ca414e05e5276fcf6e11dc2978dbb08dccefdc9c138a44da
+SIZE (rubygem/rubygems-mirror-1.0.1.gem) = 10240
diff --git a/devel/rubygem-mirror/pkg-descr b/devel/rubygem-mirror/pkg-descr
new file mode 100644
index 000000000000..a560524c78b3
--- /dev/null
+++ b/devel/rubygem-mirror/pkg-descr
@@ -0,0 +1,4 @@
+A ruby gem to mirror gems from rubygems.org. It uses net/http/persistent and
+threads to grab the mirror set a little faster than the original.
+
+WWW: http://rubygems.org/gems/rubygems-mirror