aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-02-13 17:58:47 +0800
committeryuri <yuri@FreeBSD.org>2018-02-13 17:58:47 +0800
commitc4630317376f98f0dbb662e7676e0ec9ad3a6876 (patch)
tree0d854c4a653efe7626ea3ad2b49f21a15f87654d
parented2dd4f5d2a597d1fa76f56083be5333db23af87 (diff)
downloadfreebsd-ports-gnome-c4630317376f98f0dbb662e7676e0ec9ad3a6876.tar.gz
freebsd-ports-gnome-c4630317376f98f0dbb662e7676e0ec9ad3a6876.tar.zst
freebsd-ports-gnome-c4630317376f98f0dbb662e7676e0ec9ad3a6876.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)
-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