aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-31 04:39:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-31 04:39:31 +0800
commit95a2f0a55f12cfba637af031c9a9b03fef00dbec (patch)
treed3c9fa06b04adde96bf35c4f905a119548d1f0d4 /www
parent965de069cd6586a64c0a7590b5e6d5d6e41a69d4 (diff)
downloadfreebsd-ports-gnome-95a2f0a55f12cfba637af031c9a9b03fef00dbec.tar.gz
freebsd-ports-gnome-95a2f0a55f12cfba637af031c9a9b03fef00dbec.tar.zst
freebsd-ports-gnome-95a2f0a55f12cfba637af031c9a9b03fef00dbec.zip
- Fix LICENSE
- Add NO_ARCH - Switch to new test framework
Diffstat (limited to 'www')
-rw-r--r--www/py-slimit/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/py-slimit/Makefile b/www/py-slimit/Makefile
index bfcbff3cc76b..90865bdf2deb 100644
--- a/www/py-slimit/Makefile
+++ b/www/py-slimit/Makefile
@@ -9,13 +9,14 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= JavaScript minifier written in Python
-LICENSE= BSD3CLAUSE
+LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply
USES= python:2 zip
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
# Maintainer: Reminder to keep testing python 3.x compatibility.
.include <bsd.port.pre.mk>
@@ -26,7 +27,7 @@ pre-build:
@cd ${WRKSRC} && 2to3-${PYTHON_VER} -w src
.endif
-regression-test: build
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.post.mk>