@jacknagel @akvadrako - it seems I was misguided (I thought that #{share} operated the same as #{etc} and #{var} but apparently it does not - for some reason), it was indeed intended to use HOMEBREW_PREFIX+'share'