Bare-bones model for phase transition in hadronic matter