The difference is that the pork that Obama supports (unless there are some whoppers I'm not aware of) consists of programs that Obama supports in principle. Ron Paul, on the other hand, is opposed to the very idea of the government funding programs, but does it anyway, and that makes a difference.
That said, I will agree that there is some sound pragmatic reasoning in using pork to "send money back to the district," but the main problem is that Ron Paul is so often extremely idealistic. He often votes against fairly benign things due to his beliefs, and in an otherwise generally pro-Paul article,
Club for Growth cites some examples of where his idealism clashes with his and their goals, such as his opposition to free trade agreements and vouchers. The fact that he makes an exception in his idealism for pork can easily be interpreted to imply that he's making exceptions here for his own benefit rather than for the benefit of his district or the country at large. Although perhaps you're right.