diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-11 12:59:19 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-11 12:59:19 +0800 |
commit | 90f7651702c16cd41f17d6ce8b5fdd3cb3eba915 (patch) | |
tree | 61051f4033891914a797c1c0504773a5adf2f143 /japanese | |
parent | 04494d3e4974034974c8dbadcaf2a3ac432590a5 (diff) | |
download | marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.tar marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.tar.gz marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.tar.bz2 marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.tar.lz marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.tar.xz marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.tar.zst marcuscom-ports-90f7651702c16cd41f17d6ce8b5fdd3cb3eba915.zip |
Add intlhack.
Reported by: pointyhat-exp
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9782 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/scim-tomoe/Makefile | 57 | ||||
-rw-r--r-- | japanese/scim-tomoe/distinfo | 3 | ||||
-rw-r--r-- | japanese/scim-tomoe/files/patch-configure | 13 | ||||
-rw-r--r-- | japanese/scim-tomoe/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/scim-tomoe/pkg-message | 11 |
5 files changed, 87 insertions, 0 deletions
diff --git a/japanese/scim-tomoe/Makefile b/japanese/scim-tomoe/Makefile new file mode 100644 index 000000000..2f4659ffc --- /dev/null +++ b/japanese/scim-tomoe/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: ja-scim-tomoe +# Date created: 18 Dec 2005 +# Whom: Hajimu UMEMOTO <ume@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= scim-tomoe +PORTVERSION= 0.6.0 +PORTREVISION= 2 +CATEGORIES= japanese +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=tomoe + +MAINTAINER= ume@FreeBSD.org +COMMENT= SCIM IMEngine module using Tomoe + +BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim +LIB_DEPENDS= tomoe.1:${PORTSDIR}/japanese/tomoe \ + tomoe-gtk.1:${PORTSDIR}/japanese/libtomoe-gtk + +USE_GNOME= lthack intlhack +USE_XLIB= yes +USE_GETTEXT= yes +USE_ICONV= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes + +CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" + +PLIST_FILES= bin/scim-tomoe \ + lib/scim-1.0/1.4.0/Helper/tomoe.a \ + lib/scim-1.0/1.4.0/Helper/tomoe.la \ + lib/scim-1.0/1.4.0/Helper/tomoe.so \ + share/locale/ja/LC_MESSAGES/scim-tomoe.mo \ + share/scim/icons/scim-tomoe.png + +.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/japanese/scim-tomoe/distinfo b/japanese/scim-tomoe/distinfo new file mode 100644 index 000000000..22adc8448 --- /dev/null +++ b/japanese/scim-tomoe/distinfo @@ -0,0 +1,3 @@ +MD5 (scim-tomoe-0.6.0.tar.gz) = 21207dad4ceb5c00651673ec3737e010 +SHA256 (scim-tomoe-0.6.0.tar.gz) = 4f053944285ed50e7916ebdb38298025e60eb430b64715fdad9375483456dc06 +SIZE (scim-tomoe-0.6.0.tar.gz) = 385126 diff --git a/japanese/scim-tomoe/files/patch-configure b/japanese/scim-tomoe/files/patch-configure new file mode 100644 index 000000000..f50c98f59 --- /dev/null +++ b/japanese/scim-tomoe/files/patch-configure @@ -0,0 +1,13 @@ +Index: configure +diff -u configure.orig configure +--- configure.orig 2007-08-16 04:51:25.000000000 +0900 ++++ configure 2007-08-16 04:55:27.000000000 +0900 +@@ -25607,7 +25607,7 @@ + "modify-itlocaledir":C) + sed \ + -i'' \ +- -e "s/^itlocaledir = /itlocaledir = \$(datadir)\/locale\n#itlocaledir = /" \ ++ -e "s/^itlocaledir = .*/itlocaledir = \$(datadir)\/locale/" \ + po/Makefile + ;; + "po/stamp-it":C) diff --git a/japanese/scim-tomoe/pkg-descr b/japanese/scim-tomoe/pkg-descr new file mode 100644 index 000000000..6d059b7b8 --- /dev/null +++ b/japanese/scim-tomoe/pkg-descr @@ -0,0 +1,3 @@ +scim-tomoe is the SCIM IMEngine module using the Tomoe input method. + +WWW: http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMTomoe diff --git a/japanese/scim-tomoe/pkg-message b/japanese/scim-tomoe/pkg-message new file mode 100644 index 000000000..316515697 --- /dev/null +++ b/japanese/scim-tomoe/pkg-message @@ -0,0 +1,11 @@ +-------------------------------------------------------------------- +Remember to set environment variables XMODIFIERS and LANG: + + csh/tcsh: setenv XMODIFIERS @im=SCIM ; setenv LANG ja_JP.eucJP + sh/bash: export XMODIFIERS='@im=SCIM'; export LANG=ja_JP.eucJP + +To start the SCIM input method daemon, use command: + + scim -d + +-------------------------------------------------------------------- |