BSD Ports

www/p5-LWP-MediaTypes 6.05 FreeBSD

Guess media type for a file or a URL

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
85d8390b3c
License
ART10, GPLv1+
Categories
www, perl5
Package size
25.3 KiB, 83.5 KiB installed

Description

LWP::MediaTypes provides functions for handling media (also known as MIME) types and encodings. The mapping from file extensions to media types is defined by the media.types file. If the ~/.media.types file exists it is used instead. For backwards compatibility we will also look for ~/.mime.types.

In the other systems

SystemPortVersion
FreeBSDwww/p5-LWP-MediaTypes6.05
OpenBSDwww/p5-LWP-MediaTypes6.05
NetBSDwww/p5-LWP-MediaTypes6.05
DragonFlywww/p5-LWP-MediaTypes6.04
MidnightBSDwww/p5-LWP-MediaTypes6.04
HardenedBSDwww/p5-LWP-MediaTypes6.05
GhostBSDwww/p5-LWP-MediaTypes6.05
OPNsensewww/p5-LWP-MediaTypes6.04

Install

Binary package:

pkg install p5-LWP-MediaTypes

From the ports tree:

cd /usr/ports/www/p5-LWP-MediaTypes/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-LWP-MediaTypes>0:www/p5-LWP-MediaTypes

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.056.056.046.046.05
FreeBSD:14:quarterly6.056.05n/a6.046.05
FreeBSD:15:latest6.056.05n/a6.046.04
FreeBSD:15:quarterly6.056.05n/an/an/a
FreeBSD:16:latest6.056.05n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1
Required by 1308

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_PERL%%/LWP/MediaTypes.pm
  • %%SITE_PERL%%/LWP/media.types
  • %%PERL5_MAN3%%/LWP::MediaTypes.3.gz
distinfo 1
FileSizeSHA256
LWP-MediaTypes-6.05.tar.gz40111abb2dcfbf069317fe65b098e3b2ad58c5eb33e9a839b9190cce6d371f8966cc1
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
85d8390b3c Po-Chuan Hsieh www/p5-LWP-MediaTypes: Update to 6.05
- Add LICENSE_FILE Changes: https://metacpan.org/dist/LWP-MediaTypes/changes