Employee was installing a 500 lb. raw mill door with another worker. After taking it off the hoist onto door frame, he attempted to use a pry bar to line up the bolt on door hinge. As he was prying it, the door slipped off door frame and fell onto top of foot.