aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-12-31 23:49:30 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-12-31 23:49:30 +0000
commite31dc0f933359388c2459d21c5ce0f396991c435 (patch)
tree6c30b42ebc6a17d276475235a3f28e473d3bf908 /chinese
parentd5c67d5bad4d84eb797b2e362b7697febda09686 (diff)
downloadports-e31dc0f933359388c2459d21c5ce0f396991c435.tar.gz
ports-e31dc0f933359388c2459d21c5ce0f396991c435.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/pycangjie/Makefile5
-rw-r--r--chinese/pycangjie/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/chinese/pycangjie/Makefile b/chinese/pycangjie/Makefile
index c008e471f85f..f65b0387ff98 100644
--- a/chinese/pycangjie/Makefile
+++ b/chinese/pycangjie/Makefile
@@ -12,11 +12,12 @@ COMMENT= Python wrapper to libcangjie
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= cython:lang/cython
LIB_DEPENDS= libcangjie.so:chinese/libcangjie
-USES= autoreconf gmake libtool pkgconfig sqlite python:3.2+
+USES= autoreconf gmake libtool pkgconfig sqlite python:3.4+
+USE_PYTHON= cython
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CYTHON=${LOCALBASE}/bin/cython-${PYTHON_VER}
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
GH_PROJECT= pycangjie
diff --git a/chinese/pycangjie/pkg-plist b/chinese/pycangjie/pkg-plist
index bed85ed647ac..28207c0580a5 100644
--- a/chinese/pycangjie/pkg-plist
+++ b/chinese/pycangjie/pkg-plist
@@ -1,6 +1,6 @@
%%PYTHON_SITELIBDIR%%/cangjie/__init__.py
-%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-36.%%PYTHON_PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-36.pyc
+%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/cangjie/_core.so
%%PYTHON_SITELIBDIR%%/cangjie/errors.so
%%PYTHON_SITELIBDIR%%/cangjie/filters.so