diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-30 13:17:07 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-30 13:17:07 +0800 |
commit | 63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84 (patch) | |
tree | 240a90b29fcc0ba90cdc8302a287b575813312b9 /japanese/scim-skk | |
parent | 5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62 (diff) | |
download | marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.tar marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.tar.gz marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.tar.bz2 marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.tar.lz marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.tar.xz marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.tar.zst marcuscom-ports-63b33ec1ea9d9d61465e0f7728a2bfe4f2e77f84.zip |
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7403 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'japanese/scim-skk')
-rw-r--r-- | japanese/scim-skk/Makefile | 54 | ||||
-rw-r--r-- | japanese/scim-skk/distinfo | 3 | ||||
-rw-r--r-- | japanese/scim-skk/files/patch-configure | 19 | ||||
-rw-r--r-- | japanese/scim-skk/files/patch-src-scim_skk_prefs.h | 11 | ||||
-rw-r--r-- | japanese/scim-skk/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/scim-skk/pkg-message | 11 | ||||
-rw-r--r-- | japanese/scim-skk/pkg-plist | 11 |
7 files changed, 112 insertions, 0 deletions
diff --git a/japanese/scim-skk/Makefile b/japanese/scim-skk/Makefile new file mode 100644 index 000000000..e1b025103 --- /dev/null +++ b/japanese/scim-skk/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: ja-scim-skk +# Date created: 6 Apr 2005 +# Whom: Jun Mukai <mukai@jmuk.org> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= scim-skk +PORTVERSION= 0.5.2 +PORTREVISION= 1 +CATEGORIES= japanese +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} +MASTER_SITE_SUBDIR= scim-imengine/18121 + +MAINTAINER= ports@FreeBSD.org +COMMENT= SCIM IMEngine module like SKK + +BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_X_LIB= yes +USE_ICONV= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes + +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 + +.if ${OSVERSION} < 500000 +BROKEN= does not compile on 4.x: bad C++ code +.endif + +post-patch: + @${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" ${WRKSRC}/src/scim_skk_prefs.h + +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-skk/distinfo b/japanese/scim-skk/distinfo new file mode 100644 index 000000000..122f6fda9 --- /dev/null +++ b/japanese/scim-skk/distinfo @@ -0,0 +1,3 @@ +MD5 (scim-skk-0.5.2.tar.gz) = 69d789660439c248e507da63c90ad70a +SHA256 (scim-skk-0.5.2.tar.gz) = 17e755db22cd135a47381eae6f924f68f2c8d2991cec1a4b635ad294653d7b2d +SIZE (scim-skk-0.5.2.tar.gz) = 534157 diff --git a/japanese/scim-skk/files/patch-configure b/japanese/scim-skk/files/patch-configure new file mode 100644 index 000000000..63e324bb2 --- /dev/null +++ b/japanese/scim-skk/files/patch-configure @@ -0,0 +1,19 @@ +--- configure.orig Mon Jan 16 11:19:19 2006 ++++ configure Mon Jan 16 11:20:52 2006 +@@ -465,7 +465,7 @@ + # include <unistd.h> + #endif" + +-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SCIM_SKK_MAJOR_VERSION SCIM_SKK_MINOR_VERSION SCIM_SKK_MICRO_VERSION SCIM_SKK_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB CPP EGREP ALLOCA GLIBC21 HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB GETTEXT_PACKAGE LN_S ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBTOOL_DEPS PKG_CONFIG ac_pt_PKG_CONFIG SCIM_CFLAGS SCIM_LIBS SCIM_GTKUTILS_CFLAGS SCIM_GTKUTILS_LIBS SCIM_VERSION SCIM_BUILD_SETUP_TRUE SCIM_BUILD_SETUP_FALSE SCIM_BUILD_SETUP ac_aux_dir SCIM_DEBUG_FLAGS SCIM_ICONDIR SCIM_MODULEDIR LIBOBJS LTLIBOBJS' ++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SCIM_SKK_MAJOR_VERSION SCIM_SKK_MINOR_VERSION SCIM_SKK_MICRO_VERSION SCIM_SKK_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB CPP EGREP ALLOCA GLIBC21 HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB GETTEXT_PACKAGE LN_S ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBTOOL_DEPS PKG_CONFIG ac_pt_PKG_CONFIG SCIM_CFLAGS SCIM_LIBS SCIM_GTKUTILS_CFLAGS SCIM_GTKUTILS_LIBS SCIM_VERSION SCIM_BUILD_SETUP_TRUE SCIM_BUILD_SETUP_FALSE SCIM_BUILD_SETUP ac_aux_dir SCIM_DEBUG_FLAGS SCIM_ICONDIR SCIM_MODULEDIR LIBOBJS LTLIBOBJS LIBTOOL_EXPORT_OPTIONS' + ac_subst_files='' + + # Initialize some variables set by options. +@@ -31474,6 +31474,7 @@ + s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t + s,@LIBADD_DL@,$LIBADD_DL,;t t + s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t ++s,@LIBTOOL_EXPORT_OPTIONS@,$LIBTOOL_EXPORT_OPTIONS,;t t + s,@PKG_CONFIG@,$PKG_CONFIG,;t t + s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t + s,@SCIM_CFLAGS@,$SCIM_CFLAGS,;t t diff --git a/japanese/scim-skk/files/patch-src-scim_skk_prefs.h b/japanese/scim-skk/files/patch-src-scim_skk_prefs.h new file mode 100644 index 000000000..99b0ebe25 --- /dev/null +++ b/japanese/scim-skk/files/patch-src-scim_skk_prefs.h @@ -0,0 +1,11 @@ +--- src/scim_skk_prefs.h.orig Tue Nov 29 14:22:12 2005 ++++ src/scim_skk_prefs.h Tue Nov 29 15:42:46 2005 +@@ -77,7 +77,7 @@ + #define SCIM_SKK_CONFIG_COMPLETION_BACK_KEY_DEFAULT "period" + #define SCIM_SKK_CONFIG_SELECTION_STYLE_DEFAULT "Qwerty" + +-#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "DictFile:/usr/share/skk/SKK-JISYO.L" ++#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "DictFile:/usr/local/share/skk/SKK-JISYO.L" + #define SCIM_SKK_CONFIG_USERDICT_DEFAULT ".skk-scim-jisyo" + #define SCIM_SKK_CONFIG_CANDVEC_SIZE_DEFAULT 4 + #define SCIM_SKK_CONFIG_ANNOT_VIEW_DEFAULT true diff --git a/japanese/scim-skk/pkg-descr b/japanese/scim-skk/pkg-descr new file mode 100644 index 000000000..2bdec992c --- /dev/null +++ b/japanese/scim-skk/pkg-descr @@ -0,0 +1,3 @@ +scim-skk is the SCIM IMEngine module like SKK input. + +WWW: http://sourceforge.jp/projects/scim-imengine/ diff --git a/japanese/scim-skk/pkg-message b/japanese/scim-skk/pkg-message new file mode 100644 index 000000000..316515697 --- /dev/null +++ b/japanese/scim-skk/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 + +-------------------------------------------------------------------- diff --git a/japanese/scim-skk/pkg-plist b/japanese/scim-skk/pkg-plist new file mode 100644 index 000000000..a4587acf6 --- /dev/null +++ b/japanese/scim-skk/pkg-plist @@ -0,0 +1,11 @@ +lib/scim-1.0/IMEngine/skk.a +lib/scim-1.0/IMEngine/skk.la +lib/scim-1.0/IMEngine/skk.so +lib/scim-1.0/SetupUI/skk-imengine-setup.a +lib/scim-1.0/SetupUI/skk-imengine-setup.la +lib/scim-1.0/SetupUI/skk-imengine-setup.so +share/locale/ja/LC_MESSAGES/scim-skk.mo +share/scim/icons/scim-skk.png +@dirrmtry lib/scim-1.0/IMEngine +@dirrmtry lib/scim-1.0/SetupUI +@dirrmtry lib/scim-1.0/icons |