devel/p5-File-MimeInfo 0.35 DragonFly
Determine file type
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 41.3 KiB, 92.4 KiB installed
Description
This module can be used to determine the mime type of a file. It tries to implement the freedesktop specification for a shared MIME database.
For this module shared-mime-info-spec 0.12 was used.
This package only uses the globs file. No real magic checking is used. The File::MimeInfo::Magic package is provided for magic typing.
If you want to determine the mimetype of data in a memory buffer you should use File::MimeInfo::Magic in combination with IO::Scalar.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-File-MimeInfo | 0.35 |
| FreeBSD | devel/p5-File-MimeInfo | 0.37 |
| OpenBSD | devel/p5-File-MimeInfo | 0.37 |
| NetBSD | devel/p5-File-MimeInfo | 0.37nb1 |
| MidnightBSD | devel/p5-File-MimeInfo | 0.37 |
| HardenedBSD | devel/p5-File-MimeInfo | 0.37 |
| GhostBSD | devel/p5-File-MimeInfo | 0.37 |
Install
Binary package:
pkg install p5-File-MimeInfo
From DPorts:
cd /usr/dports/devel/p5-File-MimeInfo && make install clean