The Proteas have won the second Test against Australia in Port Elizabeth to convincingly level the series.