Created attachment 187606 [details] Patch fzy is a fast, simple fuzzy text selector for the terminal with an advanced scoring algorithm. Link: https://github.com/jhawthorn/fzy Port tested with portlint.
The following changes are needed: * Remove the 'Created by' line, they are phased out * PORTVERSION -> DISTVERSION * USE_GUTHUB should be moved after USES, it should be in the same section as USES * post-install isn't needed, it should be merged into the do-install section * same with post-install-X-on * -g and -O3 should be patched away, preferably with REINPLACE_CMD * improve option descriptions: explain what fzy-tmux/fzy-dvtm are I would also ask upstream to fix the 'install' target in Makefile. I should install into $(DESTDIR)/$(PREFIX)/, not into $(DESTDIR).
(In reply to Yuri Victorovich from comment #1) * Remove the 'Created by' line, they are phased out Why? In other bugs with new ports this line exist. * PORTVERSION -> DISTVERSION Ok. * USE_GUTHUB should be moved after USES, it should be in the same section as USES Ok. * post-install isn't needed, it should be merged into the do-install section Ok. * same with post-install-X-on Ok. * -g and -O3 should be patched away, preferably with REINPLACE_CMD Ok. * improve option descriptions: explain what fzy-tmux/fzy-dvtm are If you know what is fzy then you must know what doing fzy-tmux and fzy-dvtm.
Created attachment 187785 [details] Patch v2
A commit references this bug: Author: yuri Date: Mon Nov 6 18:51:08 UTC 2017 New revision: 453639 URL: https://svnweb.freebsd.org/changeset/ports/453639 Log: New port: textproc/fzy: Interactive fuzzy text selector for the terminal Committed with minor changes. PR: 223337 Submitted by: Oleh Hushchenkov <gor@clogic.com.ua> Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D12971 Changes: head/textproc/Makefile head/textproc/fzy/ head/textproc/fzy/Makefile head/textproc/fzy/distinfo head/textproc/fzy/pkg-descr
Oleh, FYI: 'Created by' is now obsolete, and will eventually be removed from all ports. Thank you for your contribution! Yuri
Thank you!