aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-10-21 10:50:09 +0800
committerswills <swills@FreeBSD.org>2013-10-21 10:50:09 +0800
commit7e367772f70573b2674b36ad68e07830674f8aa0 (patch)
treecafe93460f7e0cc654e24ed689bac55a0f4a15f0
parent8646eb54fa3177842ce410cb8bd6022fe49bbe42 (diff)
downloadfreebsd-ports-gnome-7e367772f70573b2674b36ad68e07830674f8aa0.tar.gz
freebsd-ports-gnome-7e367772f70573b2674b36ad68e07830674f8aa0.tar.zst
freebsd-ports-gnome-7e367772f70573b2674b36ad68e07830674f8aa0.zip
Neatly packaged Modernizr JS assets for use in Sprockets or the Rails 3 asset pipeline.
WWW: https://github.com/josh/ruby-modernizr PR: ports/182704 Submitted by: Loic Blot <loic.blot@unix-experience.fr>
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-modernizr/Makefile19
-rw-r--r--www/rubygem-modernizr/distinfo2
-rw-r--r--www/rubygem-modernizr/pkg-descr3
4 files changed, 25 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c28c0987c7e7..6338ac13d8c5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1783,6 +1783,7 @@
SUBDIR += rubygem-merb-haml
SUBDIR += rubygem-merb-helpers
SUBDIR += rubygem-merb-param-protection
+ SUBDIR += rubygem-modernizr
SUBDIR += rubygem-mongrel
SUBDIR += rubygem-mongrel_cluster
SUBDIR += rubygem-multipart-post
diff --git a/www/rubygem-modernizr/Makefile b/www/rubygem-modernizr/Makefile
new file mode 100644
index 000000000000..403787b5e81f
--- /dev/null
+++ b/www/rubygem-modernizr/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= modernizr
+PORTVERSION= 2.6.2
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Neatly packaged Modernizr JS assets
+
+RUN_DEPENDS= rubygem-sprockets>=2.0:${PORTSDIR}/devel/rubygem-sprockets
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+NO_STAGE= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-modernizr/distinfo b/www/rubygem-modernizr/distinfo
new file mode 100644
index 000000000000..235f16e16bfc
--- /dev/null
+++ b/www/rubygem-modernizr/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/modernizr-2.6.2.gem) = f461355bb24a013275c8687bbeb02861ac404cd3a1db81a78166376422ac8f3c
+SIZE (rubygem/modernizr-2.6.2.gem) = 43520
diff --git a/www/rubygem-modernizr/pkg-descr b/www/rubygem-modernizr/pkg-descr
new file mode 100644
index 000000000000..818872725e87
--- /dev/null
+++ b/www/rubygem-modernizr/pkg-descr
@@ -0,0 +1,3 @@
+Neatly packaged Modernizr JS assets for use in Sprockets or the Rails 3 asset pipeline.
+
+WWW: https://github.com/josh/ruby-modernizr