Created attachment 248585 [details] patch Users without deeper knowledge about the audio systems OSS and sndio can be surprised when they try CAVA and the visualization doesn't work. Therefore provide a pkg-message which informs the user about required further setup and point them to the /usr/local/share/doc/cava/README.md documentation, which has detailed instructions.
I don't know if the sole addition of the pkg-message needs an increase of the PORTREVISION. I believe not. If I am wrong then I can add it.
A bump of PORTREVISION is desired here because the generated package is different. From the porter's handbook: > PORTREVISION must be increased each time a change is made to the port that changes the generated package in any way. and > Examples of when PORTREVISION must be bumped: Changes in the packing list or the install-time behavior of the package. For example, a change to a script which generates initial data for the package, like ssh(1) host keys.
Created attachment 248595 [details] patch Thank you, I was unsure about it. Fixed it.
Thanks! Time to wait for maintainer-approval.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f326a00c927b8336c8742544b9814fcc25f7233 commit 1f326a00c927b8336c8742544b9814fcc25f7233 Author: bsdcode <bsdcode@disroot.org> AuthorDate: 2024-04-18 15:40:52 +0000 Commit: Joel Bodenmann <jbo@FreeBSD.org> CommitDate: 2024-04-18 19:45:09 +0000 audio/cava: Add pkg-message Add a pkg-message to inform new users about required setup steps. PR: 277152 Approved by: tcberner (mentor), Adam Jimerson <vendion@gmail.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D44676 audio/cava/Makefile | 2 ++ audio/cava/files/pkg-message.in (new) | 16 ++++++++++++++++ 2 files changed, 18 insertions(+)
Committed - Thanks!