Created attachment 225369 [details]
Patch for port Makefile & htop 3.0.4 files.
The patch adds regex support to filter function of htop via GNU regex library. Main patch set -- everything but the port Makefile -- has been manually updated from an old version located at ...
... which was never adopted by earlier maintainer(s).
I suggest also send a pull request to htop new upstream: https://github.com/htop-dev/htop
And, have you tried to apply it to htop 3.0.5?
(In reply to Hung-Yi Chen from comment #1)
No, I have not tried to apply to version 3.0.5? Is it in Ports now?
The I had submitted does not apply to 3.0.5 version.
I was trying to log in here, but keep getting "password invalid" message in Firefox on FreeBSD in virtual machine. I am typing this in Firefox on Windows. Now, my account is about to be locked. Excellent.
Next I will post the patch set against version 3.0.5.
Created attachment 225443 [details]
Patch for port Makefile & htop 3.0.5 files.
- This patch for htop 3.0.5 is independent of previous patch submitted.
- The Ports collection still had version 3.0.4. It assumes that sysutils/htop is already at 3.0.5.
- It does not updated the existing port to 3.0.5.