1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/py-jsmin/Makefile
Dmitry Marakasov 838ad0b0e3 - Update to 2.2.1 (bugfix release)
- Add LICENSE_FILE

PR:             215991
Submitted by:   vlad-fbsd@acheronmedia.com (maintainer)
MFH:            2017Q1
2017-01-16 11:45:41 +00:00

33 lines
697 B
Makefile

# Created by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= jsmin
PORTVERSION= 2.2.1
CATEGORIES= devel www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= vlad-fbsd@acheronmedia.com
COMMENT= JavaScript minifier written in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
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>