1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

JavaScript minifier.

WWW: http://pypi.python.org/pypi/jsmin

PR:		174564
Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
This commit is contained in:
Ruslan Makhmatkhanov 2013-01-07 06:16:27 +00:00
parent 3417fbe2b7
commit 0e47ba8f6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310022
4 changed files with 38 additions and 0 deletions

View File

@ -3450,6 +3450,7 @@
SUBDIR += py-iterpipes
SUBDIR += py-itools
SUBDIR += py-jcc
SUBDIR += py-jsmin
SUBDIR += py-json-py
SUBDIR += py-jsonlib
SUBDIR += py-jsonlib2

32
devel/py-jsmin/Makefile Normal file
View File

@ -0,0 +1,32 @@
# Created by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= jsmin
PORTVERSION= 2.0.2
CATEGORIES= devel www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= linpc@cs.nctu.edu.tw
COMMENT= JavaScript minifier written in Python
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= PKG-INFO
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
regression-test:
@(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} test.py)
.include <bsd.port.mk>

2
devel/py-jsmin/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (jsmin-2.0.2.tar.gz) = 544349a6665b85719185d1253047ea5e0aa21251e67e2e2f32d0f5772cd2d431
SIZE (jsmin-2.0.2.tar.gz) = 5402

3
devel/py-jsmin/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
JavaScript minifier.
WWW: http://pypi.python.org/pypi/jsmin