summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-05-18 01:44:53 +0000
committerSteve Wills <swills@FreeBSD.org>2012-05-18 01:44:53 +0000
commitd44039efea6b48e7823b8ca13f0415fb31febfc7 (patch)
tree1f26edf01a3d671ac71303fe30b430c310f886c5 /devel
parentFix pkglist (diff)
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
Notes
Notes: svn path=/head/; revision=296871
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