blob: 4473a31738765a0f6547fbe99dcbe17f0f45c874 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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= pclin@FreeBSD.org
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>
|