BSD Ports

www/yuicompressor 2.4.8_5 FreeBSD

The Yahoo! JavaScript and CSS Compressor

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE, MPL20
Categories
www, java
Package size
729.0 KiB, 785.7 KiB installed

Description

YUI Compressor is JavaScript and CSS minificator.

YUI Compressor is written in Java and relies on Rhino to tokenize the source JavaScript file. It starts by analyzing the source JavaScript file to understand how it is structured. It then prints out the token stream, omitting as many white space characters as possible, and replacing all local symbols by a 1 (or 2, or 3) letter symbol wherever such a substitution is appropriate (in the face of evil features such as eval or with, the YUI Compressor takes a defensive approach by not obfuscating any of the scopes containing the evil statement).

The CSS compression algorithm uses a set of finely tuned regular expressions to compress the source CSS file. The YUI Compressor is open-source, so don't hesitate to look at the code to understand exactly how it works.

In the other systems

SystemPortVersion
FreeBSDwww/yuicompressor2.4.8_5
DragonFlywww/yuicompressor2.4.8_3
MidnightBSDwww/yuicompressor2.4.8_2

Install

Binary package:

pkg install yuicompressor

From the ports tree:

cd /usr/ports/www/yuicompressor/ && make install clean

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

RUN_DEPENDS=	yuicompressor>0:www/yuicompressor

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:latest2.4.8_52.4.8_52.4.8_32.4.8_32.4.8_5
FreeBSD:14:quarterly2.4.8_52.4.8_5n/a2.4.8_32.4.8_5
FreeBSD:15:latest2.4.8_52.4.8_5n/a2.4.8_32.4.8_3
FreeBSD:15:quarterly2.4.8_52.4.8_5n/an/an/a
FreeBSD:16:latest2.4.8_52.4.8_5n/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.

Run dependencies 53
Required by 1

Configuration

No options to configure.

USES
java
Service scripts
none

Files

distinfo 1
FileSizeSHA256
yuicompressor-2.4.8.jar786897852cea60054a4b5c58fee4bc1e8c48551e6ff6bb45803ce86400bcf607d304ed
Master sites 1
  • LOCAL/az

Commit history 0

No commits in the history this site was built from.