Update qBittorrent to 4.2.0
Remove passing CFLAGS and CXXFLAGS to configure
Define BUILD_ and RUN_DEPENDS
Yes, but that's incorrect as 3.0.0 would be a lower version number than the current version and misleading?
Application version isn't 3.0.0 and since I'm not very fluent with git I asked for help in the #bsdports channel to understand this issue.
Releases are created off other branches and since 4.2.0 isn't released yet there's no branch or at least the seems to be their workflow given previous versions. 3.0.0 is the most recent tag reached from master branch which is why that's reported by git describe however that should be disregarded in this case. Application version is set in https://github.com/qbittorrent/qBittorrent/blob/master/version.pri which got bumped to beta1 today. I can update to that version if needed if desired as the only code change is bumping the Web API version compared to the current version.
As for the distversion I followed the syntax suggested in Example 5.11 https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-description