# Created by: Po-Chien Lin # $FreeBSD$ PORTNAME= jsmin PORTVERSION= 2.0.2 PORTREVISION= 1 CATEGORIES= devel www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= JavaScript minifier written in Python LICENSE= MIT USES= python USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= PKG-INFO OPTIONS_DEFINE= DOCS .include post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif regression-test: @(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} test.py) .include