From 76e1ccfaa57ce8e4eddd1b3e7fe26d365c2ce839 Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 11 Sep 2006 01:02:55 +0000 Subject: add jsmin 20060504 The JavaScript Minifier PR: 100461 --- devel/jsmin/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/jsmin/distinfo | 3 +++ devel/jsmin/pkg-descr | 6 ++++++ 3 files changed, 41 insertions(+) create mode 100644 devel/jsmin/Makefile create mode 100644 devel/jsmin/distinfo create mode 100644 devel/jsmin/pkg-descr (limited to 'devel/jsmin') 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 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 -- cgit