From: Stuart Henderson Subject: Re: [new] glow - Render markdown on the CLI To: "juan.picca" Cc: ports@openbsd.org Date: Mon, 12 Feb 2024 14:16:33 +0000 On 2024/02/12 01:44, juan.picca wrote: > Hi. > > First port. > > A markdown render for the terminal. > > https://github.com/charmbracelet/glow > > Written in go, the port is trivial. > The site already generate a release for openbsd, I don't see that in assets on their releases page (and the last release was long enough ago that it probably won't work on -current anyway). > but I think is better having it in the ports tree. > > Regards, > JMPC a few tweaks, - textproc seems a better category? - use tabs for whitespace - adjust COMMENT; partly because the main part of it seems to be the TUI not the CLI tools, partly to make it clear it has cloud stuff in it (even if encrypted I imagine many people will stay away from it because of that) - missing WANTLIB I haven't tested runtime as I'm not particularly interested in some Markdown cloud storage tool :) diff --git a/textproc/glow/Makefile b/textproc/glow/Makefile index a528e9b..bd6f720 100644 --- a/textproc/glow/Makefile +++ b/textproc/glow/Makefile @@ -1,19 +1,21 @@ -COMMENT = render markdown on the CLI -CATEGORIES = misc +COMMENT = terminal based markdown reader with cloud storage +CATEGORIES = textproc -MODGO_MODNAME = github.com/charmbracelet/glow -MODGO_VERSION = v1.5.1 +MODGO_MODNAME = github.com/charmbracelet/glow +MODGO_VERSION = v1.5.1 -DISTNAME = glow-${MODGO_VERSION} +DISTNAME = glow-${MODGO_VERSION} -HOMEPAGE = https://github.com/charmbracelet/glow +HOMEPAGE = https://github.com/charmbracelet/glow # MIT PERMIT_PACKAGE = Yes -MODULES = lang/go +WANTLIB += c pthread -NO_TEST = Yes +MODULES = lang/go + +NO_TEST = Yes .include "modules.inc"