aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-pyscss/Makefile
blob: 7ebd95a189e730c41330d14ac4078b3e0eabe1ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
# $FreeBSD$

PORTNAME=   pyscss
PORTVERSION=    1.2.0
DISTVERSIONPREFIX=  v
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:devel/py-six
LIB_DEPENDS=    libpcre.so:devel/pcre
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest

USE_GITHUB= yes
GH_ACCOUNT= Kronuz
GH_PROJECT= pyScss

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

USES=       python
USE_PYTHON= distutils autoplist

regression-test: build
    @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)

.include <bsd.port.mk>