Please see my previous report #245734 for my optional dependencies question. Is it OK to declare the optional dependencies (suggested ports) in port options? If not I will need to move it into pkg-message instead.
Created attachment 217721 [details] ports.net-im.sshout-1.2.0-with-xclip-optional-dependency.diff Update with xclip optional dependency as a port option.
Please see my previous bug #245734 for my optional dependencies question.
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. ^Triage: Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval. -- Attachment -> Details -> maintainer-approval [+]
(In reply to WHR from comment #0) It's fine to add dependencies based on the option value.
A commit references this bug: Author: lwhsu Date: Tue Sep 8 09:33:55 UTC 2020 New revision: 547975 URL: https://svnweb.freebsd.org/changeset/ports/547975 Log: net-im/sshout: Update to 1.2.0 PR: 249082 Submitted by: WHR <msl0000023508@gmail.com> (maintainer) Changes: head/net-im/sshout/Makefile head/net-im/sshout/distinfo head/net-im/sshout/pkg-message head/net-im/sshout/pkg-plist