# Created by: Po-Chien Lin # $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 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