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/nanoAdd magic file support (sys-apps/file) to automatically detect appropriate syntax highlighting
app-forensics/yaraEnable magic module
www-servers/pshsEnable automatic detection of Content-Type using libmagic (sys-apps/file)

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