Bug 242840 - [NEW PORT] sysutils/glow: Render markdown on the CLI, with pizzazz!
Summary: [NEW PORT] sysutils/glow: Render markdown on the CLI, with pizzazz!
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL: https://github.com/charmbracelet/glow
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-23 18:38 UTC by Lewis Cook
Modified: 2019-12-23 19:14 UTC (History)
1 user (show)

See Also:


Attachments
glow-0.1.2.diff (6.89 KB, patch)
2019-12-23 18:38 UTC, Lewis Cook
no flags Details | Diff
glow-0.1.2.diff (6.89 KB, patch)
2019-12-23 19:06 UTC, Lewis Cook
lcook: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Cook freebsd_committer freebsd_triage 2019-12-23 18:38:06 UTC
Created attachment 210180 [details]
glow-0.1.2.diff

Render markdown files within the terminal,
posing a depth of customization and styles
to fit your needs.

WWW: https://github.com/charmbracelet/glow

QA:
 * portlint: looks fine;
 * poudriere: package built, application works as intended.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2019-12-23 18:51:50 UTC
Moin moin 

Fails to stage:
=======================<phase: stage          >============================
===>  Staging for glow-0.1.2
===>   Generating temporary packing list
for t in glow; do  dst=$(echo ${t} |  /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/glow/');  src=$(/usr/bin/basename ${dst});  case ${dst} in  /*) dst=/wrkdirs/usr/ports/sysutils/glow/work/stage${dst}; /bin/mkdir -p $(/usr/bin/dirname ${dst}) ;;  *) dst=/wrkdirs/usr/ports/sysutils/glow/work/stage/usr/local/bin/${src} ;;  esac;  echo "===>  Installing ${src} as ${dst}";  install  -s -m 555 /wrkdirs/usr/ports/sysutils/glow/work/bin/${src} ${dst};  done
===>  Installing glow as /wrkdirs/usr/ports/sysutils/glow/work/stage/usr/local/bin/glow
install  -m 0644 /wrkdirs/usr/ports/sysutils/glow/work/glow-0.1.2/README.md /
/wrkdirs/usr/ports/sysutils/glow/work/stage/usr/local/share/doc/glow
make: exec(/wrkdirs/usr/ports/sysutils/glow/work/stage/usr/local/share/doc/glow) failed (Permission denied)
*** Error code 1

mfg Tobias
Comment 2 Lewis Cook freebsd_committer freebsd_triage 2019-12-23 19:03:36 UTC
(In reply to Tobias C. Berner from comment #1)

*facepalm*, yup I see the issue! For whatever reason I decided to use a forward-slash '/' instead of the correct back-slash '\' to signify the line break in the doc install phase. Will fix right away. :)

(On the topic is this, it also appears that I was building a different package -- not glow, and seemingly mixed them up)
Comment 3 Lewis Cook freebsd_committer freebsd_triage 2019-12-23 19:06:55 UTC
Created attachment 210182 [details]
glow-0.1.2.diff
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2019-12-23 19:13:45 UTC
Committed. Thanks.
Comment 5 commit-hook freebsd_committer freebsd_triage 2019-12-23 19:13:56 UTC
A commit references this bug:

Author: tcberner
Date: Mon Dec 23 19:13:01 UTC 2019
New revision: 520738
URL: https://svnweb.freebsd.org/changeset/ports/520738

Log:
  New port: sysutils/glow: Render markdown on the CLI

  Render markdown files within the terminal,
  posing a depth of customization and styles
  to fit your needs.

  WWW: https://github.com/charmbracelet/glow

  PR:		242840
  Submitted by:	Lewis Cook <vulcan@wired.sh>

Changes:
  head/sysutils/Makefile
  head/sysutils/glow/
  head/sysutils/glow/Makefile
  head/sysutils/glow/distinfo
  head/sysutils/glow/pkg-descr
Comment 6 Lewis Cook freebsd_committer freebsd_triage 2019-12-23 19:14:30 UTC
Cheers!