Gary Kirsten, playing in his last Test, was the third wicket to fall, caught behind for one in Martin's next over.
New Zealand lead the series 1-0.
Scorecard:
New Zealand first innings
M.Richardson c Boucher b Kallis 14
M.Papps lbw b Ntini 7
S.Fleming c Pollock b Boje 30
M.Sinclair lbw b Boje 74
S.Styris b Boje 1
B.McCullum lbw b Pollock 55
C.Cairns b Pollock 69
J.Oram st Boucher b Boje 34
D.Vettori c Boucher b Pollock 0
M.Mason c van Jaarsveld b Nel 3
C.Martin not out 1
Extras (lb-1 b-2 w-1 nb-5) 9
Total (all out) 297
Fall of wickets: 1-23 2-23 3-90 4-97 5-163 6-248 7-257 8-257 9-264
Bowling: Pollock 29-2-85-3 (nb-4 w-1), Ntini 21-6-63-1 (nb-1), Kallis 7-5-4-1, Nel 27-9-77-1, Boje 20-2-65-4
South Africa first innings
G.Smith b Cairns 47
H.Gibbs c sub b Martin 77
J.Rudolph not out 60
G.Kirsten c McCullum b Martin 1
M.van Jaarsveld not out 48
Extras (nb-3 lb-1) 4
Total (for three wickets) 237
Fall of wickets: 1-103 2-130 3-136
Bowling: Martin 13-5-34-2 (nb-1), Mason 13-4-59-0, Oram 8-3-10-0, Vettori 23-5-71-0, Cairns 11-2-44-1 (nb-2), Styris 6-2-18-0
To bat: J.Kallis, M.Boucher, S.Pollock, N.Boje, M.Ntini, A.Nel.