aboutsummaryrefslogtreecommitdiff
path: root/www/py-libsass/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-02-13 09:58:47 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-02-13 09:58:47 +0000
commitff1118205c6738605403985da59f8a43f3eb84b6 (patch)
tree0d854c4a653efe7626ea3ad2b49f21a15f87654d /www/py-libsass/Makefile
parent1e3a63d4d6f6297546a86cc62256b314b6e74ac8 (diff)
downloadports-ff1118205c6738605403985da59f8a43f3eb84b6.tar.gz
ports-ff1118205c6738605403985da59f8a43f3eb84b6.zip
www/py-libsass: Unbundle libsass
Recommended by upstream in order to solve the double build problem: https://github.com/sass/libsass-python/issues/234 Approved by: tcberner (mentor, implicit)
Notes
Notes: svn path=/head/; revision=461692
Diffstat (limited to 'www/py-libsass/Makefile')
-rw-r--r--www/py-libsass/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/py-libsass/Makefile b/www/py-libsass/Makefile
index 1046b0937cee..b29651d050c7 100644
--- a/www/py-libsass/Makefile
+++ b/www/py-libsass/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libsass
DISTVERSION= 0.13.7
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,10 +17,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option -std=c++0x
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
+LIB_DEPENDS= libsass.so:textproc/libsass
-USES= python
+USES= localbase python
USE_PYTHON= autoplist distutils
+MAKE_ENV= SYSTEM_SASS=1
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_sass.so