[Bug 257358] [New Port] www/writefreely: Clean, Markdown-based publishing platform made for writers

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Jul 2021 15:30:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257358

            Bug ID: 257358
           Summary: [New Port] www/writefreely: Clean, Markdown-based
                    publishing platform made for writers
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://writefreely.org
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su

Created attachment 226635
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226635&action=edit
www/writefreely: Clean, Markdown-based publishing platform made for writers

Go-based port.  Lots of distfiles.  On dependency had to be swapped out because
the repo moved.  Custom rc script with a dedicated writefreely user.

portlint and portclippy like the port.  Tested with Poudriere on armv7, arm64,
amd64, i386 FreeBSD 13.0-RELEASE.

This port requires a bunch of CSS files to be generated with lessc.  This is a
tool written for node.js and comes with the usual NPM issues.  I have decided
to roll a custom distfile hosted on my own server with pre-generated CSS files
to side step this issue.  Users can decide to compile their own CSS files with
the CSS_LESSC option (which uses NPM to download lessc and then uses that).

Alternative options are:

 * take the CSS files from the Linux binary distribution of the package
 * use some other less compiler to compile the CSS files (py-lesscpy was tested
and doesn't like the files)
 * port lessc and use that to compile the CSS files (troublesome NPM port)

Please advise if one of the other courses of action should be taken.

***
WriteFreely is a clean, minimalist publishing platform made for writers.
Start a blog, share knowledge within your organization, or build a
community around the shared act of writing.

WWW: https://writefreely.org

-- 
You are receiving this mail because:
You are the assignee for the bug.