024993537c
- Switch to do-test - Pass maintainership to submitter PR: 205559 Submitted by: vlad-fbsd@acheronmedia.com
31 lines
661 B
Makefile
31 lines
661 B
Makefile
# Created by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jsmin
|
|
PORTVERSION= 2.2.0
|
|
CATEGORIES= devel www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= vlad-fbsd@acheronmedia.com
|
|
COMMENT= JavaScript minifier written in Python
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
NO_ARCH= yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
PORTDOCS= PKG-INFO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-test:
|
|
@(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} test.py)
|
|
|
|
.include <bsd.port.mk>
|