Officially you need Turkish citizenship to obtain a firearms licence in Turkey. For a foreigner to get citizenship you need to have held a Residence Permit for 5 years.
I imported some firearms into Turkey when I moved out 6 years ago, but the rules weren't so strict then.