Add support for file type detection via magic bytes (usually via libmagic from sys-apps/file)

Packages describing “magic” as local USE flag

Package “magic” Flag Description
app-editors/nano Add magic file support (sys-apps/file) to automatically detect appropriate syntax highlighting
www-servers/pshs Enable automatic detection of Content-Type using libmagic (sys-apps/file)

All packages providing a “magic” USE flag (5)