Because man runs groff itself internally - it's not expecting you to have done it already. Just copy your source.txt straight into /usr/local/man/man1/prog.1, and it should work fine.
Matthew Slattery
2010-08-27 00:22:52