summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-05-02 11:26:52 +0000
committerobache <obache@pkgsrc.org>2014-05-02 11:26:52 +0000
commit08dbeab4ed16d696b0e9b696b8734edb59203200 (patch)
treef3db47e8f26cd69233070ebe747a1c86b2504bc6 /inputmethod
parent236e0d919d956bc2845ae06a08a4427e79ca2f86 (diff)
downloadpkgsrc-08dbeab4ed16d696b0e9b696b8734edb59203200.tar.gz
Fixes python full path with upstream acceptable way.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ibus-pinyin/Makefile7
-rw-r--r--inputmethod/ibus-pinyin/distinfo3
-rw-r--r--inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in13
3 files changed, 16 insertions, 7 deletions
diff --git a/inputmethod/ibus-pinyin/Makefile b/inputmethod/ibus-pinyin/Makefile
index 3177db62838..96d1b18086b 100644
--- a/inputmethod/ibus-pinyin/Makefile
+++ b/inputmethod/ibus-pinyin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2014/05/02 11:17:08 obache Exp $
+# $NetBSD: Makefile,v 1.25 2014/05/02 11:26:52 obache Exp $
#
DISTNAME= ibus-pinyin-1.5.0
@@ -17,11 +17,6 @@ USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config gmake intltool msgfmt
-SUBST_CLASSES+= epython
-SUBST_STAGE.epython= pre-configure
-SUBST_FILES.epython= setup/ibus-setup-pinyin.in
-SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g'
-
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
.include "options.mk"
diff --git a/inputmethod/ibus-pinyin/distinfo b/inputmethod/ibus-pinyin/distinfo
index c8b4c39d19c..a67af70afec 100644
--- a/inputmethod/ibus-pinyin/distinfo
+++ b/inputmethod/ibus-pinyin/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2014/05/02 11:17:08 obache Exp $
+$NetBSD: distinfo,v 1.7 2014/05/02 11:26:52 obache Exp $
SHA1 (ibus-pinyin-1.5.0.tar.gz) = 40abf915bb2599189d8fd76f456ce399edfa4184
RMD160 (ibus-pinyin-1.5.0.tar.gz) = 9137f3e40971bd819fbaaf1715779a538d20a90c
Size (ibus-pinyin-1.5.0.tar.gz) = 692516 bytes
SHA1 (patch-lua_lmyoslib.c) = 7934c67df6134085f5a429ad678e1bfa89c65be8
SHA1 (patch-lua_lua-plugin.h) = 51fbb077a8f0c528101dbdaafcbac9702dde334f
+SHA1 (patch-setup_ibus-setup-pinyin.in) = 422b1875e48bb9e46514bd177f97579f400d605a
diff --git a/inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in b/inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in
new file mode 100644
index 00000000000..d000eb2cefd
--- /dev/null
+++ b/inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup_ibus-setup-pinyin.in,v 1.1 2014/05/02 11:26:52 obache Exp $
+
+* Set python full path properly
+
+--- setup/ibus-setup-pinyin.in.orig 2012-07-09 14:32:10.000000000 +0000
++++ setup/ibus-setup-pinyin.in
+@@ -26,5 +26,5 @@ export IBUS_PREFIX=@prefix@
+ export IBUS_DATAROOTDIR=@datarootdir@
+ export IBUS_LOCALEDIR=@localedir@
+ cd @prefix@/share/ibus-pinyin/setup/
+-exec python main.py $@
++exec @PYTHON@ main.py $@
+