BSD Ports

textproc/p5-CSS-Minifier 0.01_1 FreeBSD

Perl extension for minifying CSS

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, www, perl5
Package size
9.1 KiB, 18.1 KiB installed

Description

CSS::Minifier removes unnecessary whitespace from CSS. The primary requirement developing this module is to not break working stylesheets: if working CSS is in input then working CSS is output. The Mac/Internet Explorer comment hack will be minimized but not stripped and so will continue to function.

This module understands space, horizontal tab, new line, carriage return, and form feed characters to be whitespace. Any other characters that may be considered whitespace are not minimized. These other characters include paragraph separator and vertical tab.

For static CSS files, it is recommended that you minify during the build stage of web deployment. If you minify on-the-fly then it might be a good idea to cache the minified file. Minifying static files on-the-fly repeatedly is wasteful.

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-CSS-Minifier0.01_1
OpenBSDwww/p5-CSS-Minifier0.01p2
DragonFlytextproc/p5-CSS-Minifier0.01_1

Install

Binary package:

pkg install p5-CSS-Minifier

From the ports tree:

cd /usr/ports/textproc/p5-CSS-Minifier/ && make install clean

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

RUN_DEPENDS=	p5-CSS-Minifier>0:textproc/p5-CSS-Minifier

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:latest0.01_10.01_10.01_10.01_10.01_1
FreeBSD:14:quarterly0.01_10.01_1n/a0.01_10.01_1
FreeBSD:15:latest0.01_10.01_1n/a0.01_10.01_1
FreeBSD:15:quarterly0.01_10.01_1n/an/an/a
FreeBSD:16:latest0.01_10.01_1n/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

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/CSS/Minifier.pm
  • %%PERL5_MAN3%%/CSS::Minifier.3.gz
distinfo 1
FileSizeSHA256
CSS-Minifier-0.01.tar.gz5260d0a9349b8e8b7e83ab70cf8854cfbb42ff29c1f6c7c8298f2257dd21aa0c7fef
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.