Need to use `#` for interpolation, not `$`.

`#{prefix}/share/man` can just be `#{man}`, similar with info.

`--with-readline=#{prefix}` isn't doing what you think, `prefix` is local to this formula; you want `Formula.factory('readline').opt_prefix`. Similar with krb5, except we don't have a kerberos formula (it comes with OS X).