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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/yuicompressor | 2.4.8_5 |
| DragonFly | www/yuicompressor | 2.4.8_3 |
| MidnightBSD | www/yuicompressor | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.4.8_5 | 2.4.8_5 | 2.4.8_3 | 2.4.8_3 | 2.4.8_5 |
| FreeBSD:14:quarterly | 2.4.8_5 | 2.4.8_5 | n/a | 2.4.8_3 | 2.4.8_5 |
| FreeBSD:15:latest | 2.4.8_5 | 2.4.8_5 | n/a | 2.4.8_3 | 2.4.8_3 |
| FreeBSD:15:quarterly | 2.4.8_5 | 2.4.8_5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.4.8_5 | 2.4.8_5 | 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.
Run dependencies 53
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/javavmwrapper
- java/openjdk21
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
No options to configure.
- USES
- java
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| yuicompressor-2.4.8.jar | 786897 | 852cea60054a4b5c58fee4bc1e8c48551e6ff6bb45803ce86400bcf607d304ed |
Master sites 1
- LOCAL/az
Commit history 0
No commits in the history this site was built from.