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
www-servers/pshs Enable automatic detection of Content-Type using libmagic (sys-apps/file)
app-editors/nano Add magic file support (sys-apps/file) to automatically detect appropriate syntax highlighting

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