Added MOC formula

This is the formula for Music on Console (MOC). The patch is taken
from MacPorts. This formula depends upon pull request #22043