devel/p5-File-MimeInfo 0.37 MidnightBSD
Determine file type
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
787dcc0cd6- License
- artistic, gpl+
- Categories
- devel, perl5
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
The newest version among them is 0.37, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-File-MimeInfo | 0.37 newest | no data | - | [email protected] | 2026-07-14 |
| FreeBSD | devel/p5-File-MimeInfo | 0.37 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-File-MimeInfo | 0.37 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-08-27 |
| NetBSD | devel/p5-File-MimeInfo | 0.37nb1 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-File-MimeInfo | 0.35 behind since 2026-08-27 | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-File-MimeInfo | 0.37 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-File-MimeInfo | 0.37 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-File-MimeInfo
From mports:
cd /usr/mports/devel/p5-File-MimeInfo && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-File-MimeInfo>0:devel/p5-File-MimeInfo
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
p5-Encode-Locale>=0: converters/p5-Encode-Localep5-File-BaseDir>=0.03: devel/p5-File-BaseDirp5-File-DesktopEntry>=0.04: devel/p5-File-DesktopEntry
Runtime 3
p5-Encode-Locale>=0: converters/p5-Encode-Localep5-File-BaseDir>=0.03: devel/p5-File-BaseDirp5-File-DesktopEntry>=0.04: devel/p5-File-DesktopEntry
Build dependencies 3
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5 shared-mime-info
- Service scripts
- none
Files
pkg-plist 14
- bin/mimeopen
- bin/mimetype
- %%SITE_PERL%%/File/MimeInfo.pm
- %%SITE_PERL%%/File/MimeInfo/Applications.pm
- %%SITE_PERL%%/File/MimeInfo/Cookbook.pod
- %%SITE_PERL%%/File/MimeInfo/Magic.pm
- %%SITE_PERL%%/File/MimeInfo/Rox.pm
- %%PERL5_MAN1%%/mimeopen.1.gz
- %%PERL5_MAN1%%/mimetype.1.gz
- %%PERL5_MAN3%%/File::MimeInfo.3.gz
- %%PERL5_MAN3%%/File::MimeInfo::Applications.3.gz
- %%PERL5_MAN3%%/File::MimeInfo::Cookbook.3.gz
- %%PERL5_MAN3%%/File::MimeInfo::Magic.3.gz
- %%PERL5_MAN3%%/File::MimeInfo::Rox.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| File-MimeInfo-0.37.tar.gz | 37763 | 13e5bbfdd36da8af198913a94ab067312947239020906577b6bf938219b2d06b |
Master sites 1
- CPAN
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
787dcc0cd6 |
Lucas Holt | all p5 ports: fix CPAN author fetch paths Add CPAN author subdirectories for 42 distributions whose generic module paths no longer resolve.
AI-Assisted-by: Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |