In the FreeWRT Embedded GNU/Linux Appliance Development Kit (meta distribution), the mksh package is maintained by us. mksh is also the default shell in FreeWRT trunk (soon to be 1.1) and above.
Extracted automatically from Mksh homepage
brew install mksh
This formula has no dependencies.