Without any knowledge of mac mail, so please excuse me if it's nonsense. My frame of reference is Outlook Express and Outlook. Don't blame me, please.
Open such a folder by a click and your mail program opens. Then create a new folder with the same name in your mail program and drag and drop all files to it. If something like 'select all' or 'ctrl-A' or even the 'click first/shift-click last' it seems quite doable. Repeat until ready.
Hope this helps.
Kees
i recently deleted, accidentally, all of my mailboxes from mac mail. fortunately i had just backed everything up, and i have been able to retrieve all of the messages; however, i can't put them in the right place for the mail program to find them. i have triecd the home/library/mail folder, and they just don't appear. at one point i was able to resture all of the folders -- but they proved to be emty.
i'm confused., i have a complete set of .mbox files, and can't access them through mail; (however i can click on the files to open them, and they promptly open in mail.
thanks for any suggestions.
cliff barney

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic