mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Update to 0.4.0.
- Fix dependencies and tweak pkg-message. - Trim makefile header, add license, and convert to optionsNG. Feature safe: yes
This commit is contained in:
parent
07162c3703
commit
60afb940fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306889
@ -1,40 +1,35 @@
|
||||
# New ports collection makefile for: ko-scim-hangul
|
||||
# Date created: 13 Oct 2005
|
||||
# Whom: CHOI Junho <cjh@FreeBSD.org>
|
||||
#
|
||||
# Created by: CHOI Junho <cjh@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= scim-hangul
|
||||
PORTVERSION= 0.3.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.4.0
|
||||
CATEGORIES= korean
|
||||
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
MAINTAINER= jkim@FreeBSD.org
|
||||
COMMENT= SCIM IMEngine module for Korean(Hangul) input
|
||||
|
||||
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
||||
LIB_DEPENDS= hangul.1:${PORTSDIR}/korean/libhangul
|
||||
RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= hangul:${PORTSDIR}/korean/libhangul \
|
||||
scim-1.0:${PORTSDIR}/textproc/scim
|
||||
|
||||
USE_ICONV= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_PKGCONFIG= build
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
OPTIONS_DEFINE= NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/skim/configure
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (scim-hangul-0.3.2.tar.gz) = b7c67778f5dd8ec29b96c1477ef008e10fae436928975fc46fbeb7a546d4462b
|
||||
SIZE (scim-hangul-0.3.2.tar.gz) = 1176577
|
||||
SHA256 (scim-hangul-0.4.0.tar.gz) = 7f116c87e78da51363fb4968d627364718de6ec02aa6c6119451fdf403e668c0
|
||||
SIZE (scim-hangul-0.4.0.tar.gz) = 456953
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- src/scim_hangul_imengine_setup.cpp.orig 2012-07-08 07:52:07.000000000 -0400
|
||||
+++ src/scim_hangul_imengine_setup.cpp 2012-11-02 14:13:14.000000000 -0400
|
||||
@@ -346,7 +346,7 @@
|
||||
for (i = 0; i < n; i++) {
|
||||
const char* name = hangul_ic_get_keyboard_name(i);
|
||||
#if GTK_CHECK_VERSION(2, 24, 0)
|
||||
- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name);
|
||||
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name);
|
||||
#else
|
||||
gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name);
|
||||
#endif
|
@ -1,8 +1,8 @@
|
||||
--------------------------------------------------------------------
|
||||
Remember to set environment variables XMODIFIERS and LANG:
|
||||
|
||||
csh/tcsh: setenv XMODIFIERS @im=SCIM ; setenv LANG ko_KR.eucKR
|
||||
sh/bash: export XMODIFIERS='@im=SCIM'; export LANG=ko_KR.eucKR
|
||||
csh/tcsh: setenv XMODIFIERS @im=SCIM ; setenv LANG ko_KR.UTF-8
|
||||
sh/bash: export XMODIFIERS='@im=SCIM'; export LANG=ko_KR.UTF-8
|
||||
|
||||
To start the SCIM input method daemon, use command:
|
||||
|
||||
|
@ -11,5 +11,7 @@ lib/scim-1.0/1.4.0/SetupUI/hangul-imengine-setup.so
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/scim-hangul.mo
|
||||
share/scim/hangul/symbol.txt
|
||||
share/scim/icons/scim-hangul.png
|
||||
share/scim/icons/scim-hangul-off.png
|
||||
share/scim/icons/scim-hangul-on.png
|
||||
@dirrm share/scim/hangul
|
||||
@dirrmtry share/scim/icons
|
||||
|
Loading…
x
Reference in New Issue
Block a user