1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- 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
This commit is contained in:
Ryan Steinmetz 2015-05-26 15:29:02 +00:00
parent 830474d23f
commit 526cbb09ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387483
4 changed files with 29 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,19 @@
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= sprockets-sass
PORTVERSION= 1.3.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= ruby@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>

View File

@ -0,0 +1,2 @@
SHA256 (rubygem/sprockets-sass-1.3.1.gem) = a5197d3a47b28ff78be9c3bb57b48db9ee0ff022ad2e740936f083bb194e3fad
SIZE (rubygem/sprockets-sass-1.3.1.gem) = 15360

View File

@ -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