Thanks, EDS.
There are lots of inexpensive USB -> S/PDIF (optical or coaxial) converters available. Send me a PM if you'd like a list of some in different price ranges.
But, if your Mac is relatively new, there's a good chance it also includes optical minijack support. Apple lists this as "Audio line in/optical digital audio output (minijack)" in their tech specs. In which case all you need is either an optical cable that includes minijack support (usually by popping off the normal connector at one end) or to get a minijack adapter.