freebsd-ports/textproc/py-pyscss/Makefile
Marcus von Appen 1fd066ebe5 - Convert textproc/ to USES=python
With hat:	python@
2014-12-07 10:01:36 +00:00

33 lines
745 B
Makefile

# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
# $FreeBSD$
PORTNAME= pyscss
PORTVERSION= 1.2.0
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rum1cro@yandex.ru
COMMENT= Compiler for SCSS flavor of the Sass language
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
USE_GITHUB= yes
GH_ACCOUNT= Kronuz
GH_COMMIT= 2c10593
GH_PROJECT= pyScss
GH_TAGNAME= v${PORTVERSION}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= python
USE_PYTHON= distutils autoplist
regression-test: build
@cd ${WRKSRC} && py.test
.include <bsd.port.mk>