You need to use macports.org. It is basically a package manager that brings all kind of Unix software to MacOSX. You should install the shotdetect dependencies and a compiler+cmake, and it should compile. Then by modifying the linking command line (or finding the appropriate cmake option), you can produce a statically linked binary.
For the test suite, yes, it would be a great contribution to the shotdetect app itself to have a sample video with accompanying output.