aboutsummaryrefslogtreecommitdiff
path: root/chinese/ydict
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/ydict
parent57f1865da832cd9d777a31b47df5288436112d6a (diff)
downloadports-dae43d7a6d5bdca67edda0ed02db4a1593899b62.tar.gz
ports-dae43d7a6d5bdca67edda0ed02db4a1593899b62.zip
- Convert ports from cad/, chinese/, comms/ and converters/ to new
USES=python Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=371172
Diffstat (limited to 'chinese/ydict')
-rw-r--r--chinese/ydict/Makefile7
1 files changed, 6 insertions, 1 deletions
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/