aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-sunpinyin
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-07-25 18:10:40 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-07-25 18:10:40 +0000
commit47a32988e55e1924df8e9b4962c9b095833e8cbb (patch)
treee20bc37590648220a8262213f03b698895eccb26 /chinese/fcitx-sunpinyin
parent6dbd6baa2a3c1a2e309790688ff547d20c911273 (diff)
downloadports-47a32988e55e1924df8e9b4962c9b095833e8cbb.tar.gz
ports-47a32988e55e1924df8e9b4962c9b095833e8cbb.zip
- Update fcitx and addons to 4.2.5
- Remove textproc/fcitx-keyboard PR: ports/170010 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=301526
Diffstat (limited to 'chinese/fcitx-sunpinyin')
-rw-r--r--chinese/fcitx-sunpinyin/Makefile8
-rw-r--r--chinese/fcitx-sunpinyin/distinfo4
-rw-r--r--chinese/fcitx-sunpinyin/files/patch-data_CMakeLists.txt13
-rw-r--r--chinese/fcitx-sunpinyin/pkg-plist1
4 files changed, 20 insertions, 6 deletions
diff --git a/chinese/fcitx-sunpinyin/Makefile b/chinese/fcitx-sunpinyin/Makefile
index ad0545dfbc36..58fb7cbbd19f 100644
--- a/chinese/fcitx-sunpinyin/Makefile
+++ b/chinese/fcitx-sunpinyin/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= fcitx-sunpinyin
-PORTVERSION= 0.3.6
-PORTREVISION= 1
+PORTVERSION= 0.3.8
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DIST_SUBDIR= fcitx
@@ -15,8 +14,9 @@ DIST_SUBDIR= fcitx
MAINTAINER= lichray@gmail.com
COMMENT= SunPinyin support for Fcitx
-LIB_DEPENDS= fcitx-config.4:${PORTSDIR}/chinese/fcitx \
- sunpinyin.3:${PORTSDIR}/chinese/sunpinyin
+LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx
+BUILD_DEPENDS= zh-sunpinyin>=2.0.4.r2:${PORTSDIR}/chinese/sunpinyin
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_XZ= yes
USE_GETTEXT= yes
diff --git a/chinese/fcitx-sunpinyin/distinfo b/chinese/fcitx-sunpinyin/distinfo
index 69e34576c89a..d03594f55575 100644
--- a/chinese/fcitx-sunpinyin/distinfo
+++ b/chinese/fcitx-sunpinyin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fcitx/fcitx-sunpinyin-0.3.6.tar.xz) = 6ed029860fe8df1e39bf8f36ada4473a94467887614e103d5832fd8a09cfa6a6
-SIZE (fcitx/fcitx-sunpinyin-0.3.6.tar.xz) = 40348
+SHA256 (fcitx/fcitx-sunpinyin-0.3.8.tar.xz) = 7a65087f9cc9136d5a64006f2d2a34fe81b3ac6e73f25326a62f5013d996431b
+SIZE (fcitx/fcitx-sunpinyin-0.3.8.tar.xz) = 41376
diff --git a/chinese/fcitx-sunpinyin/files/patch-data_CMakeLists.txt b/chinese/fcitx-sunpinyin/files/patch-data_CMakeLists.txt
new file mode 100644
index 000000000000..89260d964a59
--- /dev/null
+++ b/chinese/fcitx-sunpinyin/files/patch-data_CMakeLists.txt
@@ -0,0 +1,13 @@
+diff data/CMakeLists.txt.orig data/CMakeLists.txt
+index d5e9ae1..9c05fce 100644
+--- data/CMakeLists.txt.orig
++++ data/CMakeLists.txt
+@@ -9,3 +9,5 @@ endforeach(size 16 22 24 32 48 128)
+ install(FILES sunpinyin-logo-22.png DESTINATION share/fcitx/skin/dark RENAME sunpinyin.png)
+ install(FILES sunpinyin-logo-16.png DESTINATION share/fcitx/skin/default RENAME sunpinyin.png)
+ install(FILES sunpinyin-logo-16.png DESTINATION share/fcitx/skin/classic RENAME sunpinyin.png)
++
++install(FILES sunpinyin-logo-48.png DESTINATION share/fcitx/imicon RENAME sunpinyin.png)
+--
+1.7.10
+
diff --git a/chinese/fcitx-sunpinyin/pkg-plist b/chinese/fcitx-sunpinyin/pkg-plist
index c6f71d4caa87..e15936380cc3 100644
--- a/chinese/fcitx-sunpinyin/pkg-plist
+++ b/chinese/fcitx-sunpinyin/pkg-plist
@@ -5,6 +5,7 @@ share/fcitx/inputmethod/sunpinyin.conf
share/fcitx/skin/classic/sunpinyin.png
share/fcitx/skin/dark/sunpinyin.png
share/fcitx/skin/default/sunpinyin.png
+share/fcitx/imicon/sunpinyin.png
share/icons/hicolor/128x128/apps/fcitx-sunpinyin.png
share/icons/hicolor/16x16/apps/fcitx-sunpinyin.png
share/icons/hicolor/22x22/apps/fcitx-sunpinyin.png