aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jsmin
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-09-11 09:02:55 +0800
committerijliao <ijliao@FreeBSD.org>2006-09-11 09:02:55 +0800
commit76e1ccfaa57ce8e4eddd1b3e7fe26d365c2ce839 (patch)
tree972236a408ccc2ecef4e8c448d75895e40c7611c /devel/jsmin
parentcde6394db7109172d7a029df13bd895ef7cb0790 (diff)
downloadfreebsd-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/jsmin')
-rw-r--r--devel/jsmin/Makefile32
-rw-r--r--devel/jsmin/distinfo3
-rw-r--r--devel/jsmin/pkg-descr6
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