aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-05-16 16:34:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-05-16 16:34:10 +0800
commitcd5b65be6e6f3cb18bb2cb268e7e553102108fb7 (patch)
treea4a983bfc97ae1f71e80d2a0bdc1dc772cd084a7 /textproc
parent544dd80cebc5d561005706170e5d5f740b60f82e (diff)
downloadfreebsd-ports-gnome-cd5b65be6e6f3cb18bb2cb268e7e553102108fb7.tar.gz
freebsd-ports-gnome-cd5b65be6e6f3cb18bb2cb268e7e553102108fb7.tar.zst
freebsd-ports-gnome-cd5b65be6e6f3cb18bb2cb268e7e553102108fb7.zip
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to new test framework Approved by: portmgr blanket
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-pyscss/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/textproc/py-pyscss/Makefile b/textproc/py-pyscss/Makefile
index 3358fa226c2d..89036ae284d8 100644
--- a/textproc/py-pyscss/Makefile
+++ b/textproc/py-pyscss/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= rum1cro@yandex.ru
COMMENT= Compiler for SCSS flavor of the Sass language
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} \
${PY_ENUM34} ${PY_PATHLIB}
@@ -21,13 +22,10 @@ USE_GITHUB= yes
GH_ACCOUNT= Kronuz
GH_PROJECT= pyScss
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-USES= python
+USES= python localbase:ldflags
USE_PYTHON= distutils autoplist
-regression-test: build
+do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>