# 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@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 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