diff options
author | cjh <cjh@FreeBSD.org> | 2005-10-13 13:56:34 +0800 |
---|---|---|
committer | cjh <cjh@FreeBSD.org> | 2005-10-13 13:56:34 +0800 |
commit | 0cbfce30bea144963464a6cfb5e68025e7382a6f (patch) | |
tree | 76fd835d054d2cadbb4c0e8a61679cfd5b3ad4c8 /korean/scim-hangul | |
parent | ac297cab2e636046ef61e7f0c5504ea780e83119 (diff) | |
download | freebsd-ports-gnome-0cbfce30bea144963464a6cfb5e68025e7382a6f.tar.gz freebsd-ports-gnome-0cbfce30bea144963464a6cfb5e68025e7382a6f.tar.zst freebsd-ports-gnome-0cbfce30bea144963464a6cfb5e68025e7382a6f.zip |
activate scim-hangul, Korean imengine for scim.
Inspired by: Byung-Hee HWANG <bh@izb.knu.ac.kr>, nork@
Diffstat (limited to 'korean/scim-hangul')
-rw-r--r-- | korean/scim-hangul/Makefile | 47 | ||||
-rw-r--r-- | korean/scim-hangul/distinfo | 2 | ||||
-rw-r--r-- | korean/scim-hangul/pkg-descr | 3 | ||||
-rw-r--r-- | korean/scim-hangul/pkg-message | 11 | ||||
-rw-r--r-- | korean/scim-hangul/pkg-plist | 11 |
5 files changed, 74 insertions, 0 deletions
diff --git a/korean/scim-hangul/Makefile b/korean/scim-hangul/Makefile new file mode 100644 index 000000000000..e79c4aae02b7 --- /dev/null +++ b/korean/scim-hangul/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: ko-scim-hangul +# Date created: 13 Oct 2005 +# Whom: CHOI Junho <cjh@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= scim-hangul +PORTVERSION= 0.2.0 +#PORTREVISION= 0 +CATEGORIES= korean +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=scim + +MAINTAINER= cjh@FreeBSD.org +COMMENT= SCIM IMEngine module for Korean(Hangul) input + +BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_X_PREFIX= yes +USE_ICONV= yes +USE_GMAKE= yes +USE_LIBTOOL_VER=15 + +CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \ + LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}" +.else +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \ + LDFLAGS="-L${LOCALBASE}/lib" +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + @${ECHO} + @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\' + @${ECHO} + +.include <bsd.port.post.mk> diff --git a/korean/scim-hangul/distinfo b/korean/scim-hangul/distinfo new file mode 100644 index 000000000000..391466de4a49 --- /dev/null +++ b/korean/scim-hangul/distinfo @@ -0,0 +1,2 @@ +MD5 (scim-hangul-0.2.0.tar.gz) = 8b6b4a49f1d6fbb093290004596bbf09 +SIZE (scim-hangul-0.2.0.tar.gz) = 652066 diff --git a/korean/scim-hangul/pkg-descr b/korean/scim-hangul/pkg-descr new file mode 100644 index 000000000000..74e20cecb06b --- /dev/null +++ b/korean/scim-hangul/pkg-descr @@ -0,0 +1,3 @@ +SCIM IMEngine module for Korean(Hangul) input. + +WWW: http://www.scim-im.org/projects/imengines diff --git a/korean/scim-hangul/pkg-message b/korean/scim-hangul/pkg-message new file mode 100644 index 000000000000..ed8696ee8cda --- /dev/null +++ b/korean/scim-hangul/pkg-message @@ -0,0 +1,11 @@ +-------------------------------------------------------------------- +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 + +To start the SCIM input method daemon, use command: + + scim -d + +-------------------------------------------------------------------- diff --git a/korean/scim-hangul/pkg-plist b/korean/scim-hangul/pkg-plist new file mode 100644 index 000000000000..d280e2a67ebb --- /dev/null +++ b/korean/scim-hangul/pkg-plist @@ -0,0 +1,11 @@ +lib/scim-1.0/IMEngine/hangul.so +lib/scim-1.0/SetupUI/hangul-imengine-setup.so +share/locale/de/LC_MESSAGES/scim-hangul.mo +share/locale/fr/LC_MESSAGES/scim-hangul.mo +share/locale/ja/LC_MESSAGES/scim-hangul.mo +share/locale/ko/LC_MESSAGES/scim-hangul.mo +share/locale/zh_CN/LC_MESSAGES/scim-hangul.mo +share/scim/icons/scim-hangul.png +@unexec rmdir %D/share/scim/icons 2>/dev/null || true +@unexec rmdir %D/lib/scim-1.0/IMEngine 2>/dev/null || true +@unexec rmdir %D/lib/scim-1.0/SetupUI 2>/dev/null || true |