This commit improves port skeleton with no package change by using short hash and cmake boolean macros. Thanks to diizzy@ Reported by: diizzy