aboutsummaryrefslogtreecommitdiff
path: root/korean/ibus-hangul
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-04-30 22:02:27 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-04-30 22:02:27 +0000
commitec605d1f0298eef943c1efef01d6705bb2c99794 (patch)
tree45a8f97a2a7b9007361be86a70a0b9cf6144d80e /korean/ibus-hangul
parent9abe0c3b13a4b4a23befe6622db8fee870accd45 (diff)
downloadports-ec605d1f0298eef943c1efef01d6705bb2c99794.tar.gz
ports-ec605d1f0298eef943c1efef01d6705bb2c99794.zip
Notes
Diffstat (limited to 'korean/ibus-hangul')
-rw-r--r--korean/ibus-hangul/Makefile1
-rw-r--r--korean/ibus-hangul/files/patch-setup-main.py13
-rw-r--r--korean/ibus-hangul/pkg-plist2
3 files changed, 16 insertions, 0 deletions
diff --git a/korean/ibus-hangul/Makefile b/korean/ibus-hangul/Makefile
index f864dc05b6c7..889d0f5652e4 100644
--- a/korean/ibus-hangul/Makefile
+++ b/korean/ibus-hangul/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS= hangul.1:${PORTSDIR}/korean/libhangul \
PROJECTHOST= ibus
GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_GNOME= gnomehack intltool pkgconfig
diff --git a/korean/ibus-hangul/files/patch-setup-main.py b/korean/ibus-hangul/files/patch-setup-main.py
new file mode 100644
index 000000000000..09486476b8a6
--- /dev/null
+++ b/korean/ibus-hangul/files/patch-setup-main.py
@@ -0,0 +1,13 @@
+--- setup/main.py.orig 2012-04-15 10:46:37.000000000 -0400
++++ setup/main.py 2012-04-30 17:57:09.000000000 -0400
+@@ -191,8 +191,8 @@
+ return self.__config.set_value("engine/Hangul", name, v)
+
+ if __name__ == "__main__":
+- locale.bindtextdomain(config.gettext_package, config.localedir)
+- locale.bind_textdomain_codeset(config.gettext_package, "UTF-8")
++ gettext.bindtextdomain(config.gettext_package, config.localedir)
++ gettext.bind_textdomain_codeset(config.gettext_package, "UTF-8")
+
+ try:
+ bus = ibus.Bus()
diff --git a/korean/ibus-hangul/pkg-plist b/korean/ibus-hangul/pkg-plist
index 8ea2f1bc0767..5ec5d6b1a3f4 100644
--- a/korean/ibus-hangul/pkg-plist
+++ b/korean/ibus-hangul/pkg-plist
@@ -4,7 +4,9 @@ libexec/ibus-setup-hangul
share/applications/ibus-setup-hangul.desktop
share/ibus/component/hangul.xml
share/icons/hicolor/64x64/apps/ibus-hangul.png
+share/icons/hicolor/64x64/apps/ibus-setup-hangul.png
share/icons/hicolor/scalable/apps/ibus-hangul.svg
+share/icons/hicolor/scalable/apps/ibus-setup-hangul.svg
%%DATADIR%%/data/symbol.txt
%%DATADIR%%/icons/ibus-hangul.png
%%DATADIR%%/icons/ibus-hangul.svg