It seems, logcheck originally is a debian package, and the FreeBSD Porter created numerous patches to run.
First of all, logcheck -v uses "dpkg-parsechangelog -S version" to put version.
VERSION=$$(dpkg-parsechangelog -S version)
And FreeBSD dont recognize dpkg-parsechangelog, a specific debian...