This plugin changes the behavior of Sass's @import directive so that if the same
sass file is imported more than once, the second import will be a no-op. This
allows dependencies to behave how most people expect them to behave and provides
a considerable performance improvement for some sass projects.
Note: Although this plugin is maintained by compass, it can be used without
compass in any Sass-based project.
WWW: https://github.com/Compass/compass/tree/master/import-once
textproc/rubygem-scss_lint, textproc/rubygem-compass,
textproc/rubygem-compass-import-once, textproc/rubygem-compass-core: Depend
on textproc/rubygem-sass34, so that textproc/rubygem-sass can be upgraded.
The gemspecs for these gems require a version of sass < 3.5.
Approved by: sunpoet (maintainer)
Differential Revision: https://reviews.freebsd.org/D11809
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem
PR: 209041
Differential Revision: https://reviews.freebsd.org/D6070
- Add rubygem-compass-import-once 1.0.5
This plugin changes the behavior of Sass's @import directive so that if the same
sass file is imported more than once, the second import will be a no-op. This
allows dependencies to behave how most people expect them to behave and provides
a considerable performance improvement for some sass projects.
Note: Although this plugin is maintained by compass, it can be used without
compass in any Sass-based project.
WWW: https://github.com/Compass/compass/tree/master/import-once
RG: https://rubygems.org/gems/compass-import-once