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:
parent
830474d23f
commit
526cbb09ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387483
@ -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
|
||||
|
19
devel/rubygem-sprockets-sass/Makefile
Normal file
19
devel/rubygem-sprockets-sass/Makefile
Normal 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>
|
2
devel/rubygem-sprockets-sass/distinfo
Normal file
2
devel/rubygem-sprockets-sass/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (rubygem/sprockets-sass-1.3.1.gem) = a5197d3a47b28ff78be9c3bb57b48db9ee0ff022ad2e740936f083bb194e3fad
|
||||
SIZE (rubygem/sprockets-sass-1.3.1.gem) = 15360
|
7
devel/rubygem-sprockets-sass/pkg-descr
Normal file
7
devel/rubygem-sprockets-sass/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user