Sunday, September 24, 2023

Re: [NEW] editors/hyx

Hello,

On 2023/09/23 22:51:21 +0200, Thim Cederlund <thim@cederlund.de> wrote:
> Hi ports@,
>
> Here's a port for this neat little hex editor with vim keybindings.
>
> There is no man page for hyx unfortunately, but passing the `--help`
> or `-h` flag tells you all about it.
>
> The upstream makefile has no install target which is why I opted for
> a do-install in the port.
>
> % pkg_info hyx

It's a nice small editor!

> Information for inst:hyx-2021.06.09
>
> Comment:
> minimal cli hex editor with Vim-like keybindings
>
> Description:
> minimalistic but powerful terminal hex editor with features such as:

nit: I'd start the DESCR with "Hyx is a minimalistic [...]" and
reflow.

> insert/replace/delete, copy/paste, undo/redo, search, colors and
> vim-inspired controls.
>
> Maintainer: Thim Cederlund <thim@cederlund.de>
>
> WWW: https://yx7.cc/code
>
>
> Please let me know what you guys think. Thanks.

port looks fine to me, and the program seems nice. Another minor nit
regarding the indentation in the Makefile but then it's ok op@ to
import.

Thanks!


--- Makefile.orig Sun Sep 24 09:44:23 2023
+++ Makefile Sun Sep 24 09:51:20 2023
@@ -1,6 +1,6 @@
COMMENT = minimal cli hex editor with Vim-like keybindings

-V = 2021.06.09
+V = 2021.06.09
DISTNAME = hyx-${V}

CATEGORIES = editors
@@ -14,10 +14,10 @@

WANTLIB += c

-MASTER_SITES = https://yx7.cc/code/hyx/
+SITES = https://yx7.cc/code/hyx/
EXTRACT_SUFX = .tar.xz

-USE_GMAKE = Yes
+USE_GMAKE = Yes

do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/hyx ${PREFIX}/bin

No comments:

Post a Comment