Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Features -------- * Pure Ruby, with no runtime dependencies other than Ruby 1.9.x or higher. * Tokenizes and parses CSS according to the rules defined in the 14 November 2014 editor's draft of the [CSS Syntax Level 3][css] specification. * Extremely tolerant of broken or invalid CSS. If a browser can handle it, Crass should be able to handle it too. * Optionally includes comments in the token stream. * Optionally preserves certain CSS hacks, such as the IE "*" hack, which would otherwise be discarded according to CSS3 tokenizing rules. * Capable of serializing the parse tree back to CSS while maintaining all original whitespace, comments, and indentation.
12 lines
312 B
Makefile
12 lines
312 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/03/13 16:10:50 taca Exp $
|
|
|
|
DISTNAME= crass-1.0.2
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/rgrove/crass/
|
|
COMMENT= CSS parser based on the CSS Syntax Level 3 spec
|
|
LICENSE= mit
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|