The audio/libcdaudio port
libcdaudio-0.99.12p2 – multi-platform cd player development library
libcdaudio is a multi-platform CD player development library which
works with NetBSD, Linux, FreeBSD, OpenBSD, Solaris, and Irix. It
includes a basic command set for controlling the operation of the
CD-ROM drive as well as functions for accessing both the CDDB, CD
Index, and Cover Art Index.