aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-10-25 03:11:41 +0800
committerswills <swills@FreeBSD.org>2013-10-25 03:11:41 +0800
commit0b5274d038878569d5908521e80ecd77f32086a0 (patch)
treea00f611d3e6394e50166ba0c200b8056852d2228
parent03a12156d263e9a80e78eb946a038b8f94be5314 (diff)
downloadfreebsd-ports-gnome-0b5274d038878569d5908521e80ecd77f32086a0.tar.gz
freebsd-ports-gnome-0b5274d038878569d5908521e80ecd77f32086a0.tar.zst
freebsd-ports-gnome-0b5274d038878569d5908521e80ecd77f32086a0.zip
Select2 is a jQuery based replacement for select boxes. It supports searching,
remote data sets, and infinite scrolling of results. This gem integrates Select2 with Rails asset pipeline for easy of use. WWW: https://github.com/argerim/select2-rails PR: ports/182736 Submitted by: Loic Blot <loic.blot@unix-experience.fr>
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-select2-rails/Makefile19
-rw-r--r--www/rubygem-select2-rails/distinfo2
-rw-r--r--www/rubygem-select2-rails/pkg-descr5
4 files changed, 27 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 0bb30e19763c..2e62699fa942 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1821,6 +1821,7 @@
SUBDIR += rubygem-robots
SUBDIR += rubygem-scrapi
SUBDIR += rubygem-scrubyt
+ SUBDIR += rubygem-select2-rails
SUBDIR += rubygem-selenium-webdriver
SUBDIR += rubygem-simple-rss
SUBDIR += rubygem-sinatra
diff --git a/www/rubygem-select2-rails/Makefile b/www/rubygem-select2-rails/Makefile
new file mode 100644
index 000000000000..343ad36fbaf6
--- /dev/null
+++ b/www/rubygem-select2-rails/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= select2-rails
+PORTVERSION= 3.5.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Implement select2 jQuery library into Rails
+
+RUN_DEPENDS= rubygem-thor>=0.14:${PORTSDIR}/devel/rubygem-thor
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+NO_STAGE= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-select2-rails/distinfo b/www/rubygem-select2-rails/distinfo
new file mode 100644
index 000000000000..8bea370a013e
--- /dev/null
+++ b/www/rubygem-select2-rails/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/select2-rails-3.5.0.gem) = bc89f7d91db12d6dd2f827d95449f7895d69c9a0ff0ab6f2ffbf367195f8ddfe
+SIZE (rubygem/select2-rails-3.5.0.gem) = 50688
diff --git a/www/rubygem-select2-rails/pkg-descr b/www/rubygem-select2-rails/pkg-descr
new file mode 100644
index 000000000000..89e0251c06ad
--- /dev/null
+++ b/www/rubygem-select2-rails/pkg-descr
@@ -0,0 +1,5 @@
+Select2 is a jQuery based replacement for select boxes. It supports searching,
+remote data sets, and infinite scrolling of results. This gem integrates
+Select2 with Rails asset pipeline for easy of use.
+
+WWW: https://github.com/argerim/select2-rails