ports/100461: [NEW PORT] devel/jsmin: The JavaScript Minifier

Ying-Chieh Liao ijliao at csie.nctu.edu.tw
Tue Jul 18 03:30:16 UTC 2006


>Number:         100461
>Category:       ports
>Synopsis:       [NEW PORT] devel/jsmin: The JavaScript Minifier
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 03:30:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.nctu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #9: Thu May 11 14:31:45 CST 2006
>Description:
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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- jsmin-20060504.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jsmin
#	jsmin/Makefile
#	jsmin/distinfo
#	jsmin/pkg-descr
#
echo c - jsmin
mkdir -p jsmin > /dev/null 2>&1
echo x - jsmin/Makefile
sed 's/^X//' >jsmin/Makefile << 'END-of-jsmin/Makefile'
X# ex:ts=8
X# Ports collection makefile for:	jsmin
X# Date created:			Jul 18, 2006
X# Whom:				ijliao
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jsmin
XDISTVERSION=	20060504
XCATEGORIES=	devel
XMASTER_SITES=	http://www.crockford.com/javascript/
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	.c
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	The JavaScript Minifier
X
XEXTRACT_CMD=	${CP}
XEXTRACT_BEFORE_ARGS=	# empty
XEXTRACT_AFTER_ARGS=	${WRKSRC}
XNO_WRKSUBDIR=	yes
X
XPLIST_FILES=	bin/jsmin
X
Xdo-build:
X	@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-jsmin/Makefile
echo x - jsmin/distinfo
sed 's/^X//' >jsmin/distinfo << 'END-of-jsmin/distinfo'
XMD5 (jsmin.c) = e838ef4a77668868805d7714a945cf22
XSHA256 (jsmin.c) = 5015ae1b28ba271df2ef70b561a47af777c6af65000ca12b3a306ffd45c873ac
XSIZE (jsmin.c) = 7006
END-of-jsmin/distinfo
echo x - jsmin/pkg-descr
sed 's/^X//' >jsmin/pkg-descr << 'END-of-jsmin/pkg-descr'
XJSMin is a filter which removes comments and unnecessary whitespace from
XJavaScript files. It typically reduces filesize by half, resulting in faster
Xdownloads. It also encourages a more expressive programming style because it
Xeliminates the download cost of clean, literate self-documentation.
X
XWWW: http://javascript.crockford.com/jsmin.html
END-of-jsmin/pkg-descr
exit
--- jsmin-20060504.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list