diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2006-09-11 01:02:55 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2006-09-11 01:02:55 +0000 |
commit | 9e0cb358d9e414d3cfbfe7ee752512d7935324a1 (patch) | |
tree | 358069c5a1fa79c97f44bbcb665a24933d6ddbfe /devel/jsmin | |
parent | f322d26c3e1e5d8628af6f8eb1d1767e83532ad4 (diff) | |
download | ports-9e0cb358d9e414d3cfbfe7ee752512d7935324a1.tar.gz ports-9e0cb358d9e414d3cfbfe7ee752512d7935324a1.zip |
Notes
Diffstat (limited to 'devel/jsmin')
-rw-r--r-- | devel/jsmin/Makefile | 32 | ||||
-rw-r--r-- | devel/jsmin/distinfo | 3 | ||||
-rw-r--r-- | devel/jsmin/pkg-descr | 6 |
3 files changed, 41 insertions, 0 deletions
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 |