mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
844e31a28d
- Convert Makefile header to new style if needed Approved by: swills (mentor)
33 lines
703 B
Makefile
33 lines
703 B
Makefile
# 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>
|