summaryrefslogtreecommitdiff
path: root/chinese/fcitx/files/patch-data__script__fcitx4-config.in
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-03-31 07:08:00 +0000
committerXin LI <delphij@FreeBSD.org>2015-03-31 07:08:00 +0000
commit1e0f9c5aadd2d4f1f7f5a237c4daaafd77235e75 (patch)
tree78917bf49ceac628433c2677aa29dda7b28d1619 /chinese/fcitx/files/patch-data__script__fcitx4-config.in
parentFix madsonic rc script. I should have made an end-to-end test when I converted (diff)
Major update to libpinyin, fcitx and their add ons:
- New port: chinese/brise Rime schema repository - Update chinese/fcitx to 4.2.8.5. - Update chinese/fcitx-chewing to 0.2.2. - Update chinese/fcitx-cloudpinyin to 0.3.4. - Update chinese/fcitx-configtool to 0.4.8. - Update chinese/fcitx-libpinyin to 0.3.1. - Update chinese/fcitx-rime to 0.3.1. - Update chinese/fcitx-sunpinyin to 0.4.1. - Update chinese/fcitx-table-extra to 0.3.7. - Add LICENSE and update website (mainly move off Google Code) for various ports. - Update chinese/libpinyin to 1.1.0. - Update chinese/librime to 1.1. - Update chinese/opencc to 0.4.3. - Update japanese/fcitx-anthy to 0.2.1. - New port: japanese/fcitx-skk SKK support for Fcitx - Update korean/fcitx-hangul to 0.3.0. - Update textproc/fcitx-m17n to 0.2.3. PR: ports/198743 Submitted by: maintainer, hiroto.kagotani@gmail.com, delphij
Diffstat (limited to 'chinese/fcitx/files/patch-data__script__fcitx4-config.in')
-rw-r--r--chinese/fcitx/files/patch-data__script__fcitx4-config.in78
1 files changed, 78 insertions, 0 deletions
diff --git a/chinese/fcitx/files/patch-data__script__fcitx4-config.in b/chinese/fcitx/files/patch-data__script__fcitx4-config.in
new file mode 100644
index 000000000000..3da686b3351f
--- /dev/null
+++ b/chinese/fcitx/files/patch-data__script__fcitx4-config.in
@@ -0,0 +1,78 @@
+--- ./data/script/fcitx4-config.in.orig 2013-09-28 17:33:14.000000000 +0900
++++ ./data/script/fcitx4-config.in 2014-03-19 13:45:08.000000000 +0900
+@@ -1,14 +1,26 @@
+ #! /bin/sh
+
++## cmake does not handle \$\{.PREFIX\:\-\@prefix\@\} syntax (even in comments).
++if [ -z "$PREFIX" ]; then
++ PREFIX=@prefix@
++fi
++if [ -z "$DATADIR" ]; then
++ DATADIR=$PREFIX/share/fcitx
++fi
++
+ package=@package@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ includedir=@includedir@
+ libdir=@libdir@
+ addondir=@addondir@
++addondestdir=@addondestdir@
+ imconfigdir=@imconfigdir@
++imconfigdestdir=@imconfigdestdir@
+ configdescdir=@configdescdir@
++configdescdestdir=@configdescdestdir@
+ addonconfigdir=@addonconfigdir@
++addonconfigdestdir=@addonconfigdestdir@
+
+ usage()
+ {
+@@ -23,9 +35,13 @@
+ --libdir Fcitx Library Prefix
+ --includedir Fcitx Include Prefix
+ --addondir Fcitx Addon Library Dir
++ --addondestdir Fcitx Addon Library DestDir
+ --configdescdir Fcitx Configure Description File Dir
++ --configdescdestdir Fcitx Configure Description File DestDir
+ --addonconfigdir Fcitx Addon Config File Dir
++ --addonconfigdestdir Fcitx Addon Config File DestDir
+ --imconfigdir Fcitx Input Method Config File Dir
++ --imconfigdestdir Fcitx Input Method Config File DestDir
+ --help display this help and exit
+ --version output version information
+ EOF
+@@ -72,18 +88,34 @@
+ echo $addondir
+ ;;
+
++ --addondestdir)
++ echo $addondestdir
++ ;;
++
+ --configdescdir)
+ echo $configdescdir
+ ;;
+
++ --configdescdestdir)
++ echo $configdescdestdir
++ ;;
++
+ --addonconfigdir)
+ echo $addonconfigdir
+ ;;
+
++ --addonconfigdestdir)
++ echo $addonconfigdestdir
++ ;;
++
+ --imconfigdir)
+ echo $imconfigdir
+ ;;
+
++ --imconfigdestdir)
++ echo $imconfigdestdir
++ ;;
++
+ --version)
+ echo @version@
+ exit 0