In a manner that is befitting a friend.
Inherited from Ottoman Turkish دوستانه (dostāne), from Classical Persian دوسْتَانَه (dōstāna). By surface analysis, dost + -ane.
Practice speaking and memorizing "dostane" and many other words and sentences in Turkish.