Options which translate to CMake arguments -D<content>:BOOL=<ON|OFF> can be simplified through the use of <opt>_CMAKE_BOOL. This is basically cleanup, using newer features of USES=cmake; it was spotted while fixing soci for the CMake 3.9 update. It's been languishing in Phabricator for a while.
LGTM
A commit references this bug: Author: adridg Date: Thu Jan 4 12:46:36 UTC 2018 New revision: 458025 URL: https://svnweb.freebsd.org/changeset/ports/458025 Log: Switch databases/soci to <opt>_CMAKE_BOOL. This simplifies the Makefile somewhat -- it is only a cosmetic change. While here, massage COMMENT to satisfy portlint. PR: 224422 Reviewed by: jlaffaye (maintainer) Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D12957 Changes: head/databases/soci/Makefile