DIY door frame pull-up bar
Depending on the size of the rod, you might be able to use Closet Bar Brackets.  You can typically find these in wood but sometimes you can find them in metal.  And if that doesn't work, try some Pipe Flanges.