#55414 closed submission (worksforme)
new port: sassc and libsass, 3.4.7
Reported by: | mjl- | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | sassc libsass |
Description
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.
Attachments (4)
Change History (11)
Changed 7 years ago by mjl-
Attachment: | libsass-sassc-portfiles.tgz added |
---|
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | haspatch removed |
---|---|
Version: | 2.4.2 |
comment:2 Changed 7 years ago by mf2k (Frank Schima)
If you want more people to look at your submissions, just upload the individual Portfiles directly and not as a single compressed file. I will do that now.
Changed 7 years ago by mf2k (Frank Schima)
Attachment: | Portfile-sassc added |
---|
Changed 7 years ago by mf2k (Frank Schima)
Attachment: | Portfile-libsass added |
---|
comment:3 follow-up: 5 Changed 7 years ago by mf2k (Frank Schima)
Port: | sassc added; sass removed |
---|
Initial comment. You are naming the primary port sassc and the library libsass. I would think the names should be synchronized. So either sassc/libsassc or sass/libsass.
Changed 7 years ago by mf2k (Frank Schima)
Attachment: | patch-Makefile.diff added |
---|
comment:4 Changed 7 years ago by mf2k (Frank Schima)
Since they both download from GitHub, you should use the GitHub portgroup.
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to mf2k:
You are naming the primary port sassc and the library libsass. I would think the names should be synchronized. So either sassc/libsassc or sass/libsass.
Those are the upstream names of the projects so it is appropriate for the port names to match them.
Use use_configure no
instead of configure {}
.
Don't xinstall -d ${destroot}${prefix}/bin
; it already exists.
Don't put PREFIX=${prefix}
in destroot.destdir
; put it in destroot.args
.
comment:6 Changed 7 years ago by raimue (Rainer Müller)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
contains textproc/sassc and textproc/libsass