A ripe mango will have a little give when you add pressure to them and will have a pleasant, fruity aroma.  Avoid mangos with wrinkled or shriveled skin, as they may be past their prime.