diff options
author | ijliao <ijliao@FreeBSD.org> | 2006-09-11 09:02:55 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2006-09-11 09:02:55 +0800 |
commit | 76e1ccfaa57ce8e4eddd1b3e7fe26d365c2ce839 (patch) | |
tree | 972236a408ccc2ecef4e8c448d75895e40c7611c /devel | |
parent | cde6394db7109172d7a029df13bd895ef7cb0790 (diff) | |
download | freebsd-ports-gnome-76e1ccfaa57ce8e4eddd1b3e7fe26d365c2ce839.tar.gz freebsd-ports-gnome-76e1ccfaa57ce8e4eddd1b3e7fe26d365c2ce839.tar.zst freebsd-ports-gnome-76e1ccfaa57ce8e4eddd1b3e7fe26d365c2ce839.zip |
add jsmin 20060504
The JavaScript Minifier
PR: 100461
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/jsmin/Makefile | 32 | ||||
-rw-r--r-- | devel/jsmin/distinfo | 3 | ||||
-rw-r--r-- | devel/jsmin/pkg-descr | 6 |
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 203a6c1a7b94..764de424e39f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -443,6 +443,7 @@ SUBDIR += jep SUBDIR += jrtplib SUBDIR += jsap + SUBDIR += jsmin SUBDIR += json-c SUBDIR += jtag SUBDIR += jude-community diff --git a/devel/jsmin/Makefile b/devel/jsmin/Makefile new file mode 100644 index 000000000000..93bb885e7f97 --- /dev/null +++ b/devel/jsmin/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# Ports collection makefile for: jsmin +# Date created: Jul 18, 2006 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= jsmin +DISTVERSION= 20060504 +CATEGORIES= devel +MASTER_SITES= http://www.crockford.com/javascript/ +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .c + +MAINTAINER= ports@FreeBSD.org +COMMENT= The JavaScript Minifier + +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # empty +EXTRACT_AFTER_ARGS= ${WRKSRC} +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/jsmin + +do-build: + @cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/devel/jsmin/distinfo b/devel/jsmin/distinfo new file mode 100644 index 000000000000..cc740b077759 --- /dev/null +++ b/devel/jsmin/distinfo @@ -0,0 +1,3 @@ +MD5 (jsmin.c) = e838ef4a77668868805d7714a945cf22 +SHA256 (jsmin.c) = 5015ae1b28ba271df2ef70b561a47af777c6af65000ca12b3a306ffd45c873ac +SIZE (jsmin.c) = 7006 diff --git a/devel/jsmin/pkg-descr b/devel/jsmin/pkg-descr new file mode 100644 index 000000000000..900f04beb85a --- /dev/null +++ b/devel/jsmin/pkg-descr @@ -0,0 +1,6 @@ +JSMin is a filter which removes comments and unnecessary whitespace from +JavaScript files. It typically reduces filesize by half, resulting in faster +downloads. It also encourages a more expressive programming style because it +eliminates the download cost of clean, literate self-documentation. + +WWW: http://javascript.crockford.com/jsmin.html |