You can adjust these macros for any class. I use them for my hunter and these are the setups.
Survival Macro
#showtooltip
/castsequence reset=10 Explosive Shot(Rank 4), Serpent Sting(Rank 12), Steady Shot(Rank 4), Steady Shot(Rank 4), Explosive Shot(Rank 4), Steady Shot(Rank 4), Steady Shot(Rank 4)
/cast [target=pettarget] Kill Command
Pet care
#showtooltip
/castsequence [nopet]reset=5 Call Pet,Revive Pet;[pet,nomod,btn:1]reset=14 Mend Pet,null;
/cast [mod]Heart of the Phoenix;[target=pet,dead]Revive Pet;[pet,btn:3]Dismiss Pet;[pet,btn:2]Feed Pet
/use [pet,btn:2]Salted Venison
Pet Attack
/cast Hunter's Mark(Rank 5)
/petattack
Stings
#showtooltip
/castsequence reset=10 Concussive Shot, Arcane Shot(Rank 11), Serpent Sting(Rank 11)
Cooldowns
/cast Sphere of Red Dragon's Blood
/cast Rapid Fire
Survival Macro
#showtooltip
/castsequence reset=10 Explosive Shot(Rank 4), Serpent Sting(Rank 12), Steady Shot(Rank 4), Steady Shot(Rank 4), Explosive Shot(Rank 4), Steady Shot(Rank 4), Steady Shot(Rank 4)
/cast [target=pettarget] Kill Command
Pet care
#showtooltip
/castsequence [nopet]reset=5 Call Pet,Revive Pet;[pet,nomod,btn:1]reset=14 Mend Pet,null;
/cast [mod]Heart of the Phoenix;[target=pet,dead]Revive Pet;[pet,btn:3]Dismiss Pet;[pet,btn:2]Feed Pet
/use [pet,btn:2]Salted Venison
Pet Attack
/cast Hunter's Mark(Rank 5)
/petattack
Stings
#showtooltip
/castsequence reset=10 Concussive Shot, Arcane Shot(Rank 11), Serpent Sting(Rank 11)
Cooldowns
/cast Sphere of Red Dragon's Blood
/cast Rapid Fire