[MacPorts] #55414: new port: sassc and libsass, 3.4.7
MacPorts
noreply at macports.org
Sun Nov 26 15:10:42 UTC 2017
#55414: new port: sassc and libsass, 3.4.7
------------------------+--------------------------
Reporter: mjl- | Owner:
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Keywords: haspatch | Port: sass libsass
------------------------+--------------------------
This port contains sassc and its dependency libsass.
Libsass is a C/C++ library implementation with a C API of a sass
"compiler", generating CSS from SCSS/SASS files.
Sassc is a command-line tool that uses libsass.
This provides similar functionality to the ruby sass implementation. But
sassc is faster and has no big ruby dependency.
This is my first port. I didn't attach my name as maintainer but I'm OK
with being marked as maintainer if it helps to have a maintainer and no
one else wants to.
Libsass is pretty straightforward. Makes a static library and installs it
along with header files.
Sassc needs a patch. Because it assumes it is also in charge of compiling
libsass. The patch disables that assumption. With the patch, the Makefile
will assume the library/headers are in place, which they are, because
libsass is marked as dependency in the sassc Portfile.
You could create a sassc port without having a separate libsass port. Two
reasons I didn't: 1. libsass could be useful on its own. 2. I don't know
how to fetch two different distfiles and extract them in the right
location etc, this was easier. (:
Attached are the portfiles and patch.
--
Ticket URL: <https://trac.macports.org/ticket/55414>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list