aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-10-19 07:50:53 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-10-19 07:50:53 +0000
commitdae43d7a6d5bdca67edda0ed02db4a1593899b62 (patch)
treee02fe0a758ee3fd52b58a10326bb7c498ab3c957 /chinese
parent57f1865da832cd9d777a31b47df5288436112d6a (diff)
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/bg5ps/Makefile2
-rw-r--r--chinese/ibus-pinyin/Makefile4
-rw-r--r--chinese/ydict/Makefile7
3 files changed, 8 insertions, 5 deletions
diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile
index ea80c1d8d1fe..a2b8d9c0ab25 100644
--- a/chinese/bg5ps/Makefile
+++ b/chinese/bg5ps/Makefile
@@ -14,7 +14,7 @@ COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts
LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype
-USE_PYTHON= yes
+USES= python
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile
index 93b93c8da651..3ee68ed9446f 100644
--- a/chinese/ibus-pinyin/Makefile
+++ b/chinese/ibus-pinyin/Makefile
@@ -18,9 +18,7 @@ LIB_DEPENDS= libpyzy-1.0.so:${PORTSDIR}/chinese/pyzy \
libibus-1.0.so:${PORTSDIR}/textproc/ibus \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
-USE_PYTHON= yes
-
-USES= gmake pkgconfig compiler:c++11-lib
+USES= compiler:c++11-lib gmake pkgconfig python
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension
diff --git a/chinese/ydict/Makefile b/chinese/ydict/Makefile
index 8b0c29a2b9f2..60b18d24395f 100644
--- a/chinese/ydict/Makefile
+++ b/chinese/ydict/Makefile
@@ -11,10 +11,15 @@ COMMENT= Command line tool of Yahoo! Dict
LICENSE= GPLv3
+USES= python:2,run shebangfix
+
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/ydict
-USE_PYTHON_RUN= yes
+
+SHEBANG_FILES= ${WRKSRC}/ydict
+python_OLD_CMD= /usr/bin/env python
+python_CMD= /usr/bin/env python2
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ydict ${STAGEDIR}${PREFIX}/bin/