aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2015-04-03 04:30:14 +0800
committerswills <swills@FreeBSD.org>2015-04-03 04:30:14 +0800
commit0d79acc4ba9e295681a8d48bb7f6d41a78720749 (patch)
tree629108cd06b1215445c6640fff51b7857d05e14c /devel
parentd9bb69144f2af5c9552bb9f4b6388fa892e5e9a0 (diff)
downloadfreebsd-ports-gnome-0d79acc4ba9e295681a8d48bb7f6d41a78720749.tar.gz
freebsd-ports-gnome-0d79acc4ba9e295681a8d48bb7f6d41a78720749.tar.zst
freebsd-ports-gnome-0d79acc4ba9e295681a8d48bb7f6d41a78720749.zip
devel/rubygem-sprockets22: create port for older sprockets
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-sprockets22/Makefile28
-rw-r--r--devel/rubygem-sprockets22/distinfo2
-rw-r--r--devel/rubygem-sprockets22/files/patch-gemspec10
-rw-r--r--devel/rubygem-sprockets22/pkg-descr6
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f08125d9c314..9fc60eda5a0a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4687,6 +4687,7 @@
SUBDIR += rubygem-sprockets
SUBDIR += rubygem-sprockets-rails
SUBDIR += rubygem-sprockets211
+ SUBDIR += rubygem-sprockets22
SUBDIR += rubygem-spruz
SUBDIR += rubygem-state_machine
SUBDIR += rubygem-statsd
diff --git a/devel/rubygem-sprockets22/Makefile b/devel/rubygem-sprockets22/Makefile
new file mode 100644
index 000000000000..7416b0c8fe5f
--- /dev/null
+++ b/devel/rubygem-sprockets22/Makefile
@@ -0,0 +1,28 @@
+# Created by: Mikhail T. <m.tsatsenko@gmail.com>
+# $FreeBSD$
+
+PORTNAME= sprockets
+PORTVERSION= 2.2.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 22
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Ruby library that preprocesses and concatenates JavaScript files
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-hike>=1.2:${PORTSDIR}/devel/rubygem-hike \
+ rubygem-multi_json>=1.9.2:${PORTSDIR}/devel/rubygem-multi_json \
+ rubygem-rack>=1.0:${PORTSDIR}/www/rubygem-rack \
+ rubygem-tilt1>=1.1:${PORTSDIR}/devel/rubygem-tilt1
+
+CONFLICTS_INSTALL= rubygem-sprockets211-[0-9]* rubygem-sprockets-[0-9]*
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+PORTSCOUT= limit:^2\.2
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-sprockets22/distinfo b/devel/rubygem-sprockets22/distinfo
new file mode 100644
index 000000000000..95479c86b837
--- /dev/null
+++ b/devel/rubygem-sprockets22/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/sprockets-2.2.2.gem) = fae893b7e86e83c1936f6f2a64db3550510f86eabdd5fa9f0f23fb25d7e0cf96
+SIZE (rubygem/sprockets-2.2.2.gem) = 36352
diff --git a/devel/rubygem-sprockets22/files/patch-gemspec b/devel/rubygem-sprockets22/files/patch-gemspec
new file mode 100644
index 000000000000..8cd94297324b
--- /dev/null
+++ b/devel/rubygem-sprockets22/files/patch-gemspec
@@ -0,0 +1,10 @@
+--- sprockets.gemspec.orig 2015-01-24 20:05:48.000000000 +0000
++++ sprockets.gemspec 2015-01-24 20:05:51.000000000 +0000
+@@ -11,7 +11,6 @@
+ s.date = "2014-10-28"
+ s.description = "Sprockets is a Rack-based asset packaging system that concatenates and serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS."
+ s.email = ["sstephenson@gmail.com", "josh@joshpeek.com"]
+- s.executables = ["sprockets"]
+ s.files = ["LICENSE", "README.md", "bin/sprockets", "lib/rake/sprocketstask.rb", "lib/sprockets.rb", "lib/sprockets/asset.rb", "lib/sprockets/asset_attributes.rb", "lib/sprockets/base.rb", "lib/sprockets/bundled_asset.rb", "lib/sprockets/cache/file_store.rb", "lib/sprockets/caching.rb", "lib/sprockets/charset_normalizer.rb", "lib/sprockets/context.rb", "lib/sprockets/directive_processor.rb", "lib/sprockets/eco_template.rb", "lib/sprockets/ejs_template.rb", "lib/sprockets/engines.rb", "lib/sprockets/environment.rb", "lib/sprockets/errors.rb", "lib/sprockets/index.rb", "lib/sprockets/jst_processor.rb", "lib/sprockets/manifest.rb", "lib/sprockets/mime.rb", "lib/sprockets/processed_asset.rb", "lib/sprockets/processing.rb", "lib/sprockets/processor.rb", "lib/sprockets/safety_colons.rb", "lib/sprockets/server.rb", "lib/sprockets/static_asset.rb", "lib/sprockets/trail.rb", "lib/sprockets/utils.rb", "lib/sprockets/version.rb"]
+ s.homepage = "http://getsprockets.org/"
+ s.rubyforge_project = "sprockets"
diff --git a/devel/rubygem-sprockets22/pkg-descr b/devel/rubygem-sprockets22/pkg-descr
new file mode 100644
index 000000000000..d25dd56d9cdf
--- /dev/null
+++ b/devel/rubygem-sprockets22/pkg-descr
@@ -0,0 +1,6 @@
+Sprockets is a Ruby library that preprocesses and concatenates
+JavaScript source files. It takes any number of source files
+and preprocesses them line-by-line in order to build a single
+concatenation.
+
+WWW: http://getsprockets.org/