Perhaps it would be useful to install config.example as well? Please see the attached patch.
Created attachment 180440 [details] 0001-Install-config.example.patch install config.example
That's probably a good idea, thanks. I'm currently waiting for the next upstream release that would allow to drop our custom patches, and will likely include your proposal alongside with the "version update" commit. On a related note, I'm not sure yet if it would would be more appropriate to install example config file not as part of PORTEXAMPLES, but rather as a @sample file under $localbase/etc.
IIUC, you would like to suggest to the upstream author to support a system-wide config file as well? Currently, there's no such thing (you likely know this but just in case other people are reading this...), see cConfig::read in src/common/config.cpp.
I considered proposing it upstream, but then had thought that you might be more appropriate party to suggest it since it's your idea originally. :-) If you don't have a Bitbucket account, don't bother: in this case I'll probably do it myself after more investigation (thanks for the pointer at where to look).
Thanks. Actually, I've no strong opinion on the need for a system-wide config, so I won't pursue this upstream.
Status?
Undecided (still thinking).
(In reply to Alexey Dokuchaev from comment #7) > Undecided (still thinking). And now? It has been almost 2 years since this was opened and the request seems simple enough. I don't see how this requires much thought. Why not just add it to the port as suggested?
A commit references this bug: Author: tobik Date: Sat Jan 26 08:01:17 UTC 2019 New revision: 491246 URL: https://svnweb.freebsd.org/changeset/ports/491246 Log: graphics/simpleviewer: Install config.example PR: 217497 Submitted by: wjenkner@inode.at Changes: head/graphics/simpleviewer/Makefile head/graphics/simpleviewer/files/ head/graphics/simpleviewer/files/pkg-message.in
(In reply to Tobias Kortkamp from comment #8) > (In reply to Alexey Dokuchaev from comment #7) > > Undecided (still thinking). > > And now? It has been almost 2 years since this was opened and the request > seems simple enough. I don't see how this requires much thought. Why not > just add it to the port as suggested? I was under the mistaken impression that the port has a maintainer and that this was blocked by danfe@, but since that isn't the case: Landed. Thanks!