Have you ever wanted to use the CD-ROM or -RW drive of your computer for audio in a program? Do you want to write a CD player program for your Unix machine? Then I have the library for you. Libcdaudio is a general purpose library for using audio cds in your programs. To get it through pkgsrc, go here:
.....although it seems to not be working right now and search for libcdaudio.