svn commit: r387483 - in head/devel: . rubygem-sprockets-sass
Ryan Steinmetz
zi at FreeBSD.org
Tue May 26 15:29:05 UTC 2015
Author: zi
Date: Tue May 26 15:29:02 2015
New Revision: 387483
URL: https://svnweb.freebsd.org/changeset/ports/387483
Log:
- New port: devel/rubygem-sprockets-sass:
When using Sprockets 2.0 with Sass you will eventually run into a pretty big
issue. `//= require` directives will not allow Sass mixins, variables, etc.
to be shared between files. So you'll try to use `@import`, and that'll also
blow up in your face. `sprockets-sass` fixes all of this by creating a
Sass::Importer that is Sprockets aware.
WWW: https://rubygems.org/gems/sprockets-sass
Added:
head/devel/rubygem-sprockets-sass/
head/devel/rubygem-sprockets-sass/Makefile (contents, props changed)
head/devel/rubygem-sprockets-sass/distinfo (contents, props changed)
head/devel/rubygem-sprockets-sass/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue May 26 15:28:13 2015 (r387482)
+++ head/devel/Makefile Tue May 26 15:29:02 2015 (r387483)
@@ -4730,6 +4730,7 @@
SUBDIR += rubygem-sprockets
SUBDIR += rubygem-sprockets-helpers
SUBDIR += rubygem-sprockets-rails
+ SUBDIR += rubygem-sprockets-sass
SUBDIR += rubygem-sprockets211
SUBDIR += rubygem-sprockets22
SUBDIR += rubygem-spruz
Added: head/devel/rubygem-sprockets-sass/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-sprockets-sass/Makefile Tue May 26 15:29:02 2015 (r387483)
@@ -0,0 +1,19 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sprockets-sass
+PORTVERSION= 1.3.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby at FreeBSD.org
+COMMENT= Implements a sprockets-aware sass importer
+
+RUN_DEPENDS= rubygem-sprockets>=2.0:${PORTSDIR}/devel/rubygem-sprockets \
+ rubygem-tilt1>=1.1:${PORTSDIR}/devel/rubygem-tilt1
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
Added: head/devel/rubygem-sprockets-sass/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-sprockets-sass/distinfo Tue May 26 15:29:02 2015 (r387483)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/sprockets-sass-1.3.1.gem) = a5197d3a47b28ff78be9c3bb57b48db9ee0ff022ad2e740936f083bb194e3fad
+SIZE (rubygem/sprockets-sass-1.3.1.gem) = 15360
Added: head/devel/rubygem-sprockets-sass/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-sprockets-sass/pkg-descr Tue May 26 15:29:02 2015 (r387483)
@@ -0,0 +1,7 @@
+When using Sprockets 2.0 with Sass you will eventually run into a pretty big
+issue. `//= require` directives will not allow Sass mixins, variables, etc.
+to be shared between files. So you'll try to use `@import`, and that'll also
+blow up in your face. `sprockets-sass` fixes all of this by creating a
+Sass::Importer that is Sprockets aware.
+
+WWW: https://rubygems.org/gems/sprockets-sass
More information about the svn-ports-all
mailing list