This gate frame system comes with everything you need except the actual wood itself.  You can either build a new one or fix the one you currently have.  This system makes sure you have a proper fit every time.  The hinges are weather and corrosion resistant so that it would last.