mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
add jsmin 20060504
The JavaScript Minifier PR: 100461
This commit is contained in:
parent
f322d26c3e
commit
9e0cb358d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172743
@ -443,6 +443,7 @@
|
||||
SUBDIR += jep
|
||||
SUBDIR += jrtplib
|
||||
SUBDIR += jsap
|
||||
SUBDIR += jsmin
|
||||
SUBDIR += json-c
|
||||
SUBDIR += jtag
|
||||
SUBDIR += jude-community
|
||||
|
32
devel/jsmin/Makefile
Normal file
32
devel/jsmin/Makefile
Normal file
@ -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>
|
3
devel/jsmin/distinfo
Normal file
3
devel/jsmin/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (jsmin.c) = e838ef4a77668868805d7714a945cf22
|
||||
SHA256 (jsmin.c) = 5015ae1b28ba271df2ef70b561a47af777c6af65000ca12b3a306ffd45c873ac
|
||||
SIZE (jsmin.c) = 7006
|
6
devel/jsmin/pkg-descr
Normal file
6
devel/jsmin/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user