aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-08-26 06:26:15 +0800
committerjkim <jkim@FreeBSD.org>2011-08-26 06:26:15 +0800
commit659483d1c941dd031bc374fa0e378944060793a7 (patch)
tree4bf0520de42ab0ba2a1ebccaa321ce1b33a3bd3e /korean
parentef4bfc8c74caf351cf514c32f71bebb00c1fc896 (diff)
downloadfreebsd-ports-gnome-659483d1c941dd031bc374fa0e378944060793a7.tar.gz
freebsd-ports-gnome-659483d1c941dd031bc374fa0e378944060793a7.tar.zst
freebsd-ports-gnome-659483d1c941dd031bc374fa0e378944060793a7.zip
Update to 2.0.0 and grab maintainership.
Diffstat (limited to 'korean')
-rw-r--r--korean/imhangul/Makefile22
-rw-r--r--korean/imhangul/distinfo4
-rw-r--r--korean/imhangul/files/patch-Makefile.in10
-rw-r--r--korean/imhangul/pkg-plist2
4 files changed, 31 insertions, 7 deletions
diff --git a/korean/imhangul/Makefile b/korean/imhangul/Makefile
index 6708e4b600ae..ca05897b3997 100644
--- a/korean/imhangul/Makefile
+++ b/korean/imhangul/Makefile
@@ -6,18 +6,30 @@
#
PORTNAME= imhangul
-PORTVERSION= 0.9.13
-PORTREVISION= 7
-CATEGORIES= korean x11-toolkits
-MASTER_SITES= http://kldp.net/frs/download.php/2808/
+PORTVERSION= 2.0.0
+CATEGORIES= korean
+MASTER_SITES= http://kldp.net/frs/download.php/5924/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jkim@FreeBSD.org
COMMENT= GTK+-2.0 hangul input module
+LICENSE= GPLv2
+
+LIB_DEPENDS= hangul.1:${PORTSDIR}/korean/libhangul
+
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/korean/imhangul/distinfo b/korean/imhangul/distinfo
index d908713bbbcc..2510fba4365f 100644
--- a/korean/imhangul/distinfo
+++ b/korean/imhangul/distinfo
@@ -1,2 +1,2 @@
-SHA256 (imhangul-0.9.13.tar.bz2) = 2ca9c3ddeafcd5895c918cfb49340f0a7d5f4fb66b08f37ae49ea062b1b52fec
-SIZE (imhangul-0.9.13.tar.bz2) = 364508
+SHA256 (imhangul-2.0.0.tar.bz2) = 504b3cce9dc269bc94a14c6e725b86620cb135e6d43f8b945d799162f50bbb43
+SIZE (imhangul-2.0.0.tar.bz2) = 255591
diff --git a/korean/imhangul/files/patch-Makefile.in b/korean/imhangul/files/patch-Makefile.in
new file mode 100644
index 000000000000..e0f7c5e2305d
--- /dev/null
+++ b/korean/imhangul/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig 2011-05-22 04:20:36.000000000 -0400
++++ Makefile.in 2011-08-25 14:35:19.000000000 -0400
+@@ -308,7 +308,6 @@
+ -DIM_HANGUL_LOCALEDIR=\"$(prefix)/share/locale\" \
+ -DG_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
+- -DGDK_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED \
+ $(GTK_CFLAGS) \
+ $(LIBHANGUL_CFLAGS)
diff --git a/korean/imhangul/pkg-plist b/korean/imhangul/pkg-plist
index 5eceec25d651..1f4d30049130 100644
--- a/korean/imhangul/pkg-plist
+++ b/korean/imhangul/pkg-plist
@@ -1,5 +1,7 @@
lib/gtk-2.0/immodules/im-hangul.a
lib/gtk-2.0/immodules/im-hangul.la
lib/gtk-2.0/immodules/im-hangul.so
+%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul.mo
+@exec %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
@unexec %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
@dirrmtry lib/gtk-2.0/immodules