To act in a polite or proper way.
To conduct (oneself) well, or in a given way.
To act, conduct oneself in a specific manner; used with an adverbial of manner.