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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-CSS-Minifier | 0.01_1 |
| OpenBSD | www/p5-CSS-Minifier | 0.01p2 |
| DragonFly | textproc/p5-CSS-Minifier | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.01_1 | 0.01_1 | 0.01_1 | 0.01_1 | 0.01_1 |
| FreeBSD:14:quarterly | 0.01_1 | 0.01_1 | n/a | 0.01_1 | 0.01_1 |
| FreeBSD:15:latest | 0.01_1 | 0.01_1 | n/a | 0.01_1 | 0.01_1 |
| FreeBSD:15:quarterly | 0.01_1 | 0.01_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.01_1 | 0.01_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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 2
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
| File | Size | SHA256 |
|---|---|---|
| CSS-Minifier-0.01.tar.gz | 5260 | d0a9349b8e8b7e83ab70cf8854cfbb42ff29c1f6c7c8298f2257dd21aa0c7fef |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.