5f374d4b11
3.4.25 (7 July 2017) * Fix a bug where * wouldn't always be eliminated during selector unification. Deprecations -- Must Read! * Extending compound selectors such as .a.b is deprecated. This never followed the stated semantics of extend: elements that match the extending selector are styled as though they matches the extended selector. * When you write h1 {@extend .a.b}, this should mean that all h1 elements are styled as though they match .a.b¡½that is, as though they have class="a b", which means they'd match both .a and .b separately. But instead we extend only selectors that contain both .a and .b, which is incorrect. * Color arithmetic is deprecated. Channel-by-channel arithmetic doesn't correspond closely to intuitive understandings of color. Sass's suite of color functions are a much cleaner and more comprehensible way of manipulating colors dynamically. * The reference combinator, /foo/, is deprecated since it hasn't been in the CSS specification for some time. * The old-style :name value property syntax is deprecated. This syntax is not widely used, and is unnecessarily different from CSS.
28 lines
689 B
Makefile
28 lines
689 B
Makefile
# $NetBSD: Makefile,v 1.2 2019/02/24 16:22:26 taca Exp $
|
|
|
|
DISTNAME= sass-3.4.25
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/sass/sass34/}
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://sass-lang.com/
|
|
COMMENT= Powerful, but elegant CSS compiler that makes CSS fun again
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
RUBYGEM_OPTIONS+= --format-executable
|
|
SASS_COMMANDS= sass sass-convert scss
|
|
|
|
.for f in ${SASS_COMMANDS}
|
|
OVERRIDE_GEMSPEC+= :executables ${f}=${f}34
|
|
OVERRIDE_GEMSPEC+= :files bin/${f}=bin/${f}34
|
|
.endfor
|
|
|
|
pre-configure:
|
|
.for f in ${SASS_COMMANDS}
|
|
mv ${WRKSRC}/bin/${f} ${WRKSRC}/bin/${f}34
|
|
.endfor
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|