Hi, On 2023-09-24 09:58, Omar Polo wrote: > Hello, > > On 2023/09/23 22:51:21 +0200, Thim Cederlund <t...@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!
Indeed! I was kind of surprised really that no one had packaged it prior to this :) > > > 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 <t...@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. Not entirely sure how that happened. AFAIK there should be a TAB after the equals sign and whatever text is after but could be vim that is acting up. > 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 I've attached a new tarball with your diff and a modified pkg/DESCR. Thanks!
hyx.tar.gz
Description: application/tar-gz