summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 04:43:19 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 04:43:19 +0800
commit0b084bcd09a6dda9e71db7da2b802e18c6bd55ab (patch)
tree0e16b8350c1e3a2c0ef149566a0bf336475af419 /textproc
parent664243d83ec44a146d7cfa4b00f8426084630860 (diff)
downloadmarcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.tar
marcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.tar.gz
marcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.tar.bz2
marcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.tar.lz
marcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.tar.xz
marcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.tar.zst
marcuscom-ports-0b084bcd09a6dda9e71db7da2b802e18c6bd55ab.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9363 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gnome-translate/Makefile40
-rw-r--r--textproc/gnome-translate/distinfo3
-rw-r--r--textproc/gnome-translate/files/patch-src_gt-app.c12
-rw-r--r--textproc/gnome-translate/files/patch-src_gt-util.c12
-rw-r--r--textproc/gnome-translate/pkg-descr8
-rw-r--r--textproc/gnome-translate/pkg-plist32
-rw-r--r--textproc/iiimf-gnome-im-switcher/Makefile60
-rw-r--r--textproc/iiimf-gnome-im-switcher/distinfo3
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-Makefile47
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m440
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am10
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make24
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c14
-rw-r--r--textproc/iiimf-gnome-im-switcher/pkg-descr21
-rw-r--r--textproc/iiimf-gnome-im-switcher/pkg-plist44
-rw-r--r--textproc/sagasu/Makefile41
-rw-r--r--textproc/sagasu/distinfo3
-rw-r--r--textproc/sagasu/pkg-descr9
-rw-r--r--textproc/sagasu/pkg-plist26
-rw-r--r--textproc/scim/Makefile44
-rw-r--r--textproc/scim/distinfo3
-rw-r--r--textproc/scim/files/patch-configure14
-rw-r--r--textproc/scim/pkg-descr5
-rw-r--r--textproc/scim/pkg-message22
-rw-r--r--textproc/scim/pkg-plist155
-rw-r--r--textproc/stardict2/Makefile55
-rw-r--r--textproc/stardict2/distinfo3
-rw-r--r--textproc/stardict2/files/patch-src::conf.cpp11
-rw-r--r--textproc/stardict2/files/patch-src::docklet.h11
-rw-r--r--textproc/stardict2/files/patch-src::mainwin.h11
-rw-r--r--textproc/stardict2/files/patch-src::stardict-application-server.cpp8
-rw-r--r--textproc/stardict2/pkg-descr5
-rw-r--r--textproc/stardict2/pkg-message9
-rw-r--r--textproc/stardict2/pkg-plist94
34 files changed, 899 insertions, 0 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile
new file mode 100644
index 000000000..b70d4dff9
--- /dev/null
+++ b/textproc/gnome-translate/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: gnome-translate
+# Date created: 28 Jan 2005
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-translate
+PORTVERSION= 0.99
+PORTREVISION= 8
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= libtranslate
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A natural language translator
+
+LIB_DEPENDS= translate:${PORTSDIR}/textproc/libtranslate
+
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+GCONF_SCHEMAS= gnome-translate.schemas
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix eel2 intlhack
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -Wl,-export-dynamic"
+
+OPTIONS= LANGUAGE_DETECTION "language detection" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_LANGUAGE_DETECTION)
+CONFIGURE_ARGS+= --disable-language-detection
+.else
+LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/gnome-translate/distinfo b/textproc/gnome-translate/distinfo
new file mode 100644
index 000000000..da0eb8592
--- /dev/null
+++ b/textproc/gnome-translate/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome-translate-0.99.tar.gz) = 359f1bb7edc818034b08ca6c1bd254d0
+SHA256 (gnome-translate-0.99.tar.gz) = 2ae1f8e16777c28c5a9c902e0a16de724bf08ebace0a425a0c15e686e4cfaac2
+SIZE (gnome-translate-0.99.tar.gz) = 298179
diff --git a/textproc/gnome-translate/files/patch-src_gt-app.c b/textproc/gnome-translate/files/patch-src_gt-app.c
new file mode 100644
index 000000000..e58db910b
--- /dev/null
+++ b/textproc/gnome-translate/files/patch-src_gt-app.c
@@ -0,0 +1,12 @@
+--- src/gt-app.c.orig Fri Jan 28 13:31:53 2005
++++ src/gt-app.c Mon May 1 19:58:44 2006
+@@ -1168,8 +1168,7 @@
+ GTK_MESSAGE_WARNING,
+ GTK_BUTTONS_YES_NO,
+ _("Overwrite file?"),
+- secondary,
+- NULL);
++ secondary);
+ g_free(secondary);
+
+ gtk_dialog_set_default_response(GTK_DIALOG(confirmation_dialog), GTK_RESPONSE_NO); /* safe default */
diff --git a/textproc/gnome-translate/files/patch-src_gt-util.c b/textproc/gnome-translate/files/patch-src_gt-util.c
new file mode 100644
index 000000000..018bc25af
--- /dev/null
+++ b/textproc/gnome-translate/files/patch-src_gt-util.c
@@ -0,0 +1,12 @@
+--- src/gt-util.c.orig Mon May 1 20:00:48 2006
++++ src/gt-util.c Mon May 1 20:01:35 2006
+@@ -53,8 +53,7 @@
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK,
+ primary,
+- secondary,
+- NULL);
++ secondary);
+
+ if (blocking)
+ {
diff --git a/textproc/gnome-translate/pkg-descr b/textproc/gnome-translate/pkg-descr
new file mode 100644
index 000000000..6db7e3be7
--- /dev/null
+++ b/textproc/gnome-translate/pkg-descr
@@ -0,0 +1,8 @@
+GNOME Translate is a natural language translator. It can translate a
+text or web page between several natural languages, and it can
+automatically detect the source language as you type.
+
+WWW: http://www.nongnu.org/libtranslate/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/textproc/gnome-translate/pkg-plist b/textproc/gnome-translate/pkg-plist
new file mode 100644
index 000000000..5e3696bf6
--- /dev/null
+++ b/textproc/gnome-translate/pkg-plist
@@ -0,0 +1,32 @@
+bin/gnome-translate
+share/applications/gnome-translate.desktop
+share/gnome-translate/ui/app.glade
+share/gnome-translate/ui/edit-toolbars.glade
+share/gnome-translate/ui/hand-open.png
+share/gnome-translate/ui/logo.png
+share/gnome-translate/ui/menus.xml
+share/gnome-translate/ui/preferences.glade
+share/gnome-translate/ui/toolbars.xml
+share/gnome-translate/ui/translate-web-page.glade
+share/gnome/help/gnome-translate/C/documentation-license.xml
+share/gnome/help/gnome-translate/C/figures/main-window.png
+share/gnome/help/gnome-translate/C/gnome-translate.xml
+share/gnome/help/gnome-translate/C/software-license.xml
+share/omf/gnome-translate/gnome-translate-C.omf
+share/pixmaps/gnome-translate.png
+share/icons/hicolor/16x16/apps/gnome-translate-web-page.png
+share/icons/hicolor/16x16/apps/gnome-translate.png
+share/icons/hicolor/24x24/apps/gnome-translate-web-page.png
+share/icons/hicolor/24x24/apps/gnome-translate.png
+share/icons/hicolor/32x32/apps/gnome-translate-swap-panes.png
+share/icons/hicolor/32x32/apps/gnome-translate-web-page.png
+share/icons/hicolor/32x32/apps/gnome-translate.png
+share/icons/hicolor/48x48/apps/gnome-translate-web-page.png
+share/icons/hicolor/48x48/apps/gnome-translate.png
+share/locale/fr/LC_MESSAGES/gnome-translate.mo
+@dirrm share/gnome-translate/ui
+@dirrm share/gnome-translate
+@dirrm share/gnome/help/gnome-translate/C/figures
+@dirrm share/gnome/help/gnome-translate/C
+@dirrm share/gnome/help/gnome-translate
+@dirrm share/omf/gnome-translate
diff --git a/textproc/iiimf-gnome-im-switcher/Makefile b/textproc/iiimf-gnome-im-switcher/Makefile
new file mode 100644
index 000000000..91606443f
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: iiimf-gnome-im-switcher
+# Date created: 10 Sep 2004
+# Whom: Kuang-che Wu <kcwu@csie.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-im-switcher
+PORTVERSION= 12.2
+PORTREVISION= 7
+CATEGORIES= textproc
+MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
+PKGNAMEPREFIX= iiimf-
+DISTNAME= iiimf-src-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= IIIMF gnome input method switcher
+
+ONLY_FOR_ARCHS= i386
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= intltool gconf2 libglade2 libgnomeui \
+ gnomepanel gnomeprefix gnomehack
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15:env
+
+GCONF_SCHEMAS= gnome-im-properties.schemas gnome-im-switcher.schemas
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
+BUILDDIR= ${WRKSRC}/gnome-im-switcher
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503000
+IGNORE= is supported on FreeBSD 5.3 and later only
+.endif
+
+CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl ${PTHREAD_LIBS}
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
+post-patch:
+ ${REINPLACE_CMD} \
+ -e '/^serverdir/s,$$[(]libdir[)],%%LOCALBASE%%/libdata,g' \
+ ${BUILDDIR}/src/Makefile.am
+ ${REINPLACE_CMD} \
+ -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
+ -e "s,%%PREFIX%%,${PREFIX},g" \
+ ${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
+ ${BUILDDIR}/src/Makefile.am
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} bootstrap
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
+
+.include <bsd.port.post.mk>
diff --git a/textproc/iiimf-gnome-im-switcher/distinfo b/textproc/iiimf-gnome-im-switcher/distinfo
new file mode 100644
index 000000000..ad441e71a
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/distinfo
@@ -0,0 +1,3 @@
+MD5 (iiimf-src-12.2.tar.bz2) = 70dbf257fe64ddf8611dfa6449da537c
+SHA256 (iiimf-src-12.2.tar.bz2) = 16fc96abe6bdf7118868a51806bbe9c53e5396700398ec305f3de415fae12357
+SIZE (iiimf-src-12.2.tar.bz2) = 11452670
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-Makefile b/textproc/iiimf-gnome-im-switcher/files/patch-Makefile
new file mode 100644
index 000000000..da0154fa7
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-Makefile
@@ -0,0 +1,47 @@
+--- Makefile.orig Mon May 9 15:32:45 2005
++++ Makefile Mon May 9 15:35:03 2005
+@@ -1,29 +1,31 @@
+ ## deprecated in favour of AUTORECONF
+-#ACLOCAL = aclocal
+-#AUTOMAKE = automake --add-missing --copy
+-#LIBTOOLIZE = libtoolize --force --copy
+-#AUTOHEADER = autoheader
+-#AUTOCONF = autoconf
++ACLOCAL = aclocal-1.9
++AUTOMAKE = automake-1.9 --add-missing --copy
++LIBTOOLIZE = libtoolize --force --copy
++AUTOHEADER = autoheader-2.59
++AUTOCONF = autoconf-2.59
+ #CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \
+ # $(LIBTOOLIZE) && \
+ # $(AUTOHEADER) && \
+ # $(AUTOMAKE) && \
+ # $(AUTOCONF)
+
+-AUTORECONF = autoreconf
++AUTORECONF = autoreconf-2.59
+ BOOTSTRAP = $(AUTORECONF) --install --force
+ INTL_CMD = glib-gettextize -f && intltoolize --copy --force --automake
+
+-CONFIG_FLAGS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var
++CONFIG_FLAGS = --prefix=%%PREFIX%% --sysconfdir=%%PREFIX%%/etc --localstatedir=/var
+
+-INTLDIRS = iiimgcf gnome-im-switcher
++INTLDIRS = gnome-im-switcher
+
+-BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
+- iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
+- iiimxcf/xiiimp.so iiimxcf/htt_xbe \
+- iiimgcf gnome-im-switcher doc
++BUILDDIRS = gnome-im-switcher
++#BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
++# iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
++# iiimxcf/xiiimp.so iiimxcf/htt_xbe \
++# iiimgcf gnome-im-switcher doc
+
+-CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
++CONFIGDIRS = $(BUILDDIRS)
++#CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
+
+ all: compile
+
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4 b/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4
new file mode 100644
index 000000000..44ee86c03
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4
@@ -0,0 +1,40 @@
+--- acfiles/check_sys.m4.orig Mon May 9 15:28:20 2005
++++ acfiles/check_sys.m4 Mon May 9 15:32:07 2005
+@@ -203,6 +203,13 @@
+ CXX=${CC}
+ fi
+ ;;
++ cc*:*)
++ DEBUG_CFLAGS="${DEBUG_CFLAGS} -ggdb"
++ DEBUG_CXXFLAGS="${DEBUG_CXXFLAGS} -g"
++ COMMON_CFLAGS="${COMMON_CFLAGS} -Wall"
++ SHLIBCFLAGS='-fpic'
++ SHLIBLDFLAGS='-shared'
++ ;;
+ *)
+ DEBUG_CXX_CFLAGS="${DEBUG_CXX_CFLAGS} -g"
+ ;;
+@@ -249,8 +256,8 @@
+ COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux"
+ ;;
+ *freebsd*)
+- THREAD_LDFLAGS="-pthread"
+- PTHREAD_LIBS=""
++ THREAD_LDFLAGS=""
++ PTHREAD_LIBS="${PTHREAD_LIBS}"
+ ;;
+ esac
+
+@@ -288,9 +295,9 @@
+ THREAD_CXX_CFLAGS="-mt"
+ HAVE_THREAD="uithread"
+ ;;
+- *freebsd*@gcc:*)
+- THREAD_LDFLAGS="-pthread"
+- THREAD_LIBS=""
++ *freebsd*@cc:*|*freebsd*@gcc:*)
++ THREAD_LDFLAGS=""
++ THREAD_LIBS="${PTHREAD_LIBS}"
+ HAVE_THREAD="freebsd-pthread"
+ ;;
+ *linux*)
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am
new file mode 100644
index 000000000..2bc8e140d
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am
@@ -0,0 +1,10 @@
+--- gnome-im-switcher/Makefile.am.orig Fri May 13 17:44:10 2005
++++ gnome-im-switcher/Makefile.am Fri May 13 17:44:57 2005
+@@ -1,5 +1,7 @@
+ SUBDIRS = src po capplet help
+
++ACLOCAL_AMFLAGS = -I %%LOCALBASE%%/share/aclocal -I %%PREFIX%%/share/aclocal -I ../acfiles
++
+ @INTLTOOL_DESKTOP_RULE@
+
+ EXTRA_DIST = \
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make
new file mode 100644
index 000000000..78bf144ed
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make
@@ -0,0 +1,24 @@
+--- gnome-im-switcher/help/omf.make.orig Thu Sep 23 06:31:15 2004
++++ gnome-im-switcher/help/omf.make Sun May 29 22:04:45 2005
+@@ -45,7 +45,9 @@
+ for file in $(omffile); do \
+ $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
+ done
+- -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
++ -for file in $(omffile); do \
++ scrollkeeper-install $(DESTDIR)$(omf_dest_dir)/$$file; \
++ done
+
+ uninstall-local-omf:
+ -for file in $(srcdir)/*.omf; do \
+@@ -53,7 +55,9 @@
+ rm -f $(omf_dest_dir)/$$basefile; \
+ done
+ -rmdir $(omf_dest_dir)
+- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
++ -for file in $(omffile); do \
++ scrollkeeper-uninstall $(DESTDIR)$(omf_dest_dir)/$$file; \
++ done
+
+ clean-local-omf:
+ -for file in $(omffile); do \
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c
new file mode 100644
index 000000000..6e4b9f2bc
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c
@@ -0,0 +1,14 @@
+--- gnome-im-switcher/src/widgets.c.orig Tue May 10 16:29:36 2005
++++ gnome-im-switcher/src/widgets.c Tue May 10 16:30:04 2005
+@@ -29,7 +29,11 @@
+ #include <gnome.h>
+
+ #include <signal.h>
++#ifdef __FreeBSD__
++#include <sys/wait.h>
++#else
+ #include <wait.h>
++#endif
+
+ #include "gnome-im-switcher.h"
+ #include "iiim-interface.h"
diff --git a/textproc/iiimf-gnome-im-switcher/pkg-descr b/textproc/iiimf-gnome-im-switcher/pkg-descr
new file mode 100644
index 000000000..346060338
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/pkg-descr
@@ -0,0 +1,21 @@
+IIIMF stands for Internet/Intranet Input Method Framework.
+IIIMF is designed to be the next generation of input method framework
+
+This port provides two input method utility applications for GNOME desktop
+environments.
+
+ GIMLET - GNOME Input Method Language Enabling Tool
+
+As a gnome-panel applet, this UI is used to select input languages for IIIM
+client applications (IIIMGCF and IIIMXCF).
+
+ GIMPET - GNOME Input Method Property Edittingggg Tool
+
+As a gnome capplet, this UI is to allow user to customize input methods,
+for enabling/disabling input method infrastucuture itself, and
+enabling/disabling input method statur bar and candidate choice window.
+
+WWW: http://www.openi18n.org/subgroups/im/IIIMF/
+
+- Kuang-che Wu
+ kcwu@csie.org
diff --git a/textproc/iiimf-gnome-im-switcher/pkg-plist b/textproc/iiimf-gnome-im-switcher/pkg-plist
new file mode 100644
index 000000000..677d42f07
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/pkg-plist
@@ -0,0 +1,44 @@
+bin/gnome-im-properties
+bin/gnome-im-settings-daemon
+libdata/bonobo/servers/GNOME_IMSwitcherApplet.server
+libexec/gnome-im-switcher-applet
+share/control-center-2.0/capplets/gnome-im-properties.desktop
+share/control-center-2.0/interfaces/gnome-im-properties.glade2
+share/gnome-2.0/ui/GNOME_InputMethodSwitcherApplet.xml
+share/gnome/help/imswitcher/C/imswitcher.xml
+share/gnome/help/imswitcher/C/legal.xml
+share/iiimf-im-switcher/glade/gnome-im-switcher.glade2
+share/omf/iiimf-im-switcher/imswitcher-C.omf
+share/pixmaps/gimlet-disable.png
+share/pixmaps/gimlet-off.png
+share/pixmaps/gimlet-on.png
+share/pixmaps/gnome-settings-im.png
+share/icons/hicolor/48x48/apps/gnome-settings-im.png
+share/locale/bn/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/cs/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/de/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/es/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/fr/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/gu/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/hi/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/hu/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/it/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ja/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ko/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/pa/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/pl/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/pt_BR/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ru/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/sv/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ta/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_CN/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_HK/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_TW/LC_MESSAGES/iiimf-im-switcher.mo
+@dirrm share/omf/iiimf-im-switcher
+@dirrm share/iiimf-im-switcher/glade
+@dirrm share/iiimf-im-switcher
+@dirrm share/gnome/help/imswitcher/C
+@dirrm share/gnome/help/imswitcher
+@dirrmtry share/control-center-2.0/interfaces
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
diff --git a/textproc/sagasu/Makefile b/textproc/sagasu/Makefile
new file mode 100644
index 000000000..d453824e4
--- /dev/null
+++ b/textproc/sagasu/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: textproc/sagasu
+# Date created: 10 Jul 2003
+# Whom: Juan Salaverria <rael@vectorstar.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sagasu
+PORTVERSION= 2.0.8
+PORTREVISION= 2
+CATEGORIES= textproc gnome
+MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A GNOME tool to find strings in a set of files
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix libgnomeui
+USE_GETTEXT= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= sagasu.1
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|-D.*_DISABLE_DEPRECATED||g' ${WRKSRC}/src/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS INSTALL NEWS README THANKS TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/sagasu/distinfo b/textproc/sagasu/distinfo
new file mode 100644
index 000000000..de3608cc7
--- /dev/null
+++ b/textproc/sagasu/distinfo
@@ -0,0 +1,3 @@
+MD5 (sagasu-2.0.8.tar.gz) = cd3b451748102f5cc7dd1a1b3db865eb
+SHA256 (sagasu-2.0.8.tar.gz) = c36b1e9f8a5ef21426e0ef9baee54b5cfce14a0a41d916885cbff01cd5ce25f0
+SIZE (sagasu-2.0.8.tar.gz) = 288667
diff --git a/textproc/sagasu/pkg-descr b/textproc/sagasu/pkg-descr
new file mode 100644
index 000000000..9c2aca2f6
--- /dev/null
+++ b/textproc/sagasu/pkg-descr
@@ -0,0 +1,9 @@
+Sagasu is a GNOME tool to find strings in a set of files. The user specifies
+the search directory and the set of files to be searched. Double-clicking on
+a search result launches a user command that can for example load the file in
+an editor at the appropriate line. The search can optionally ignore CVS
+directories.
+
+WWW: http://www3.sympatico.ca/sarrazip/dev/sagasu.html
+
+Juan Salaverria -- <rael@vectorstar.net>
diff --git a/textproc/sagasu/pkg-plist b/textproc/sagasu/pkg-plist
new file mode 100644
index 000000000..f50db64b7
--- /dev/null
+++ b/textproc/sagasu/pkg-plist
@@ -0,0 +1,26 @@
+bin/sagasu
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/applications/sagasu.desktop
+share/gnome/help/sagasu/C/sagasu.html
+share/gnome/help/sagasu/fr/sagasu.html
+share/pixmaps/close.xpm
+share/pixmaps/sagasu.png
+share/sagasu/COPYING
+share/sagasu/sagasu-helper.pl
+share/sounds/sagasu/sagasu.wav
+share/locale/de/LC_MESSAGES/sagasu.mo
+share/locale/fr/LC_MESSAGES/sagasu.mo
+share/locale/ja/LC_MESSAGES/sagasu.mo
+share/locale/ru/LC_MESSAGES/sagasu.mo
+share/locale/sr/LC_MESSAGES/sagasu.mo
+@dirrm share/sounds/sagasu
+@dirrm share/sagasu
+@dirrm share/gnome/help/sagasu/fr
+@dirrm share/gnome/help/sagasu/C
+@dirrm share/gnome/help/sagasu
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/textproc/scim/Makefile b/textproc/scim/Makefile
new file mode 100644
index 000000000..3b3b9d7ec
--- /dev/null
+++ b/textproc/scim/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: scim
+# Date created: 20 May 2004
+# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim
+PORTVERSION= 1.4.7
+PORTREVISION= 1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=scim
+
+MAINTAINER= lx@FreeBSD.org
+COMMENT= Smart Common Input Method platform
+
+USE_GNOME= gnomehack gnomehier gtk20 intlhack
+
+USE_AUTOTOOLS= libtool:15
+USE_XLIB= yes
+USE_ICONV= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+
+post-patch:
+ ${REINPLACE_CMD} -e '/^scim_setup_LDFLAGS/s|=|= ${PTHREAD_LIBS}|' \
+ ${WRKSRC}/extras/setup/Makefile.in
+
+post-install:
+ @gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO} To display this message again, type pkg_info -D ${PKGNAME}
+
+.include <bsd.port.post.mk>
diff --git a/textproc/scim/distinfo b/textproc/scim/distinfo
new file mode 100644
index 000000000..412da8dbe
--- /dev/null
+++ b/textproc/scim/distinfo
@@ -0,0 +1,3 @@
+MD5 (scim-1.4.7.tar.gz) = 840dcfd4264a1443478c188ff747984e
+SHA256 (scim-1.4.7.tar.gz) = a0883bc5938476b33247194fe61ab5ce224eb4fb68bd7f8befc4baa8aaa8160b
+SIZE (scim-1.4.7.tar.gz) = 3075769
diff --git a/textproc/scim/files/patch-configure b/textproc/scim/files/patch-configure
new file mode 100644
index 000000000..e71b173a6
--- /dev/null
+++ b/textproc/scim/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.old Tue Jun 26 11:51:09 2007
++++ configure Tue Jun 26 11:51:34 2007
+@@ -36877,10 +36877,7 @@
+
+ fi
+ GTK_BINARY_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
+- GTK_LIBDIR=`$PKG_CONFIG --variable=libdir gtk+-2.0`
+- if test -z "$GTK_LIBDIR)"; then
+- GTK_LIBDIR="$libdir"
+- fi
++ GTK_LIBDIR="$libdir"
+ GTK_IM_MODULEDIR=$GTK_LIBDIR/gtk-2.0/immodules
+
+
diff --git a/textproc/scim/pkg-descr b/textproc/scim/pkg-descr
new file mode 100644
index 000000000..ff9dfc89a
--- /dev/null
+++ b/textproc/scim/pkg-descr
@@ -0,0 +1,5 @@
+Smart Common Input Method platform, in short SCIM, is a development platform
+to make Input Method developers live easier. It has very clear architecture
+and very simple programming interface.
+
+WWW: http://www.scim-im.org
diff --git a/textproc/scim/pkg-message b/textproc/scim/pkg-message
new file mode 100644
index 000000000..bef6e01e8
--- /dev/null
+++ b/textproc/scim/pkg-message
@@ -0,0 +1,22 @@
+------------------------------------------------------------------------------
+The installation of SCIM has finished. Please note this port is only a common
+framework for input methods and does not contain any actual input methods.
+
+In the ports collection the following input method components for SCIM are
+available:
+
+ Chinese:
+ chinese/scim-tables Table based input methods: Array30, CangJie, Cantonese,
+ Dayi, Erbi, EZ, Jyutping, Simplex, Stroke, Wubi,
+ Ziranma, ZhuYin
+ chinese/scim-pinyin Smart pinyin
+
+ Korean:
+ korean/scim-tables Table based input methods: Hangul, Hanja
+
+ Japanese:
+ japanese/scim-tables Table based input methods: HIRAGANA, KATAKANA, Nippon
+
+As a common rule, set XMODIFIERS to '@im=SCIM' and use `scim -d' to start the
+scim daemon.
+------------------------------------------------------------------------------
diff --git a/textproc/scim/pkg-plist b/textproc/scim/pkg-plist
new file mode 100644
index 000000000..ae62712ee
--- /dev/null
+++ b/textproc/scim/pkg-plist
@@ -0,0 +1,155 @@
+bin/scim
+bin/scim-config-agent
+bin/scim-setup
+etc/scim/config
+etc/scim/global
+include/scim-1.0/gtk/scimkeyselection.h
+include/scim-1.0/gtk/scimstringview.h
+include/scim-1.0/gtk/scimtrayicon.h
+include/scim-1.0/scim.h
+include/scim-1.0/scim_attribute.h
+include/scim-1.0/scim_backend.h
+include/scim-1.0/scim_bind.h
+include/scim-1.0/scim_compose_key.h
+include/scim-1.0/scim_config_base.h
+include/scim-1.0/scim_config_module.h
+include/scim-1.0/scim_config_path.h
+include/scim-1.0/scim_connection.h
+include/scim-1.0/scim_debug.h
+include/scim-1.0/scim_event.h
+include/scim-1.0/scim_exception.h
+include/scim-1.0/scim_filter.h
+include/scim-1.0/scim_filter_module.h
+include/scim-1.0/scim_filter_manager.h
+include/scim-1.0/scim_frontend.h
+include/scim-1.0/scim_frontend_module.h
+include/scim-1.0/scim_global_config.h
+include/scim-1.0/scim_helper.h
+include/scim-1.0/scim_helper_manager.h
+include/scim-1.0/scim_helper_module.h
+include/scim-1.0/scim_hotkey.h
+include/scim-1.0/scim_iconv.h
+include/scim-1.0/scim_imengine.h
+include/scim-1.0/scim_imengine_module.h
+include/scim-1.0/scim_lookup_table.h
+include/scim-1.0/scim_module.h
+include/scim-1.0/scim_object.h
+include/scim-1.0/scim_panel_agent.h
+include/scim-1.0/scim_panel_client.h
+include/scim-1.0/scim_panel_common.h
+include/scim-1.0/scim_pointer.h
+include/scim-1.0/scim_property.h
+include/scim-1.0/scim_signals.h
+include/scim-1.0/scim_slot.h
+include/scim-1.0/scim_socket.h
+include/scim-1.0/scim_trans_commands.h
+include/scim-1.0/scim_transaction.h
+include/scim-1.0/scim_types.h
+include/scim-1.0/scim_utility.h
+include/scim-1.0/x11/scim_x11_utils.h
+lib/gtk-2.0/immodules/im-scim.a
+lib/gtk-2.0/immodules/im-scim.la
+lib/gtk-2.0/immodules/im-scim.so
+lib/libscim-1.0.a
+lib/libscim-1.0.la
+lib/libscim-1.0.so
+lib/libscim-1.0.so.10
+lib/libscim-gtkutils-1.0.a
+lib/libscim-gtkutils-1.0.la
+lib/libscim-gtkutils-1.0.so
+lib/libscim-gtkutils-1.0.so.10
+lib/libscim-x11utils-1.0.a
+lib/libscim-x11utils-1.0.la
+lib/libscim-x11utils-1.0.so
+lib/libscim-x11utils-1.0.so.10
+lib/scim-1.0/1.4.0/Config/simple.a
+lib/scim-1.0/1.4.0/Config/simple.la
+lib/scim-1.0/1.4.0/Config/simple.so
+lib/scim-1.0/1.4.0/Config/socket.a
+lib/scim-1.0/1.4.0/Config/socket.la
+lib/scim-1.0/1.4.0/Config/socket.so
+lib/scim-1.0/1.4.0/Filter/sctc.a
+lib/scim-1.0/1.4.0/Filter/sctc.la
+lib/scim-1.0/1.4.0/Filter/sctc.so
+lib/scim-1.0/1.4.0/FrontEnd/socket.a
+lib/scim-1.0/1.4.0/FrontEnd/socket.la
+lib/scim-1.0/1.4.0/FrontEnd/socket.so
+lib/scim-1.0/1.4.0/FrontEnd/x11.a
+lib/scim-1.0/1.4.0/FrontEnd/x11.la
+lib/scim-1.0/1.4.0/FrontEnd/x11.so
+lib/scim-1.0/1.4.0/Helper/setup.a
+lib/scim-1.0/1.4.0/Helper/setup.la
+lib/scim-1.0/1.4.0/Helper/setup.so
+lib/scim-1.0/1.4.0/IMEngine/rawcode.a
+lib/scim-1.0/1.4.0/IMEngine/rawcode.la
+lib/scim-1.0/1.4.0/IMEngine/rawcode.so
+lib/scim-1.0/1.4.0/IMEngine/socket.a
+lib/scim-1.0/1.4.0/IMEngine/socket.la
+lib/scim-1.0/1.4.0/IMEngine/socket.so
+lib/scim-1.0/1.4.0/SetupUI/aaa-frontend-setup.a
+lib/scim-1.0/1.4.0/SetupUI/aaa-frontend-setup.la
+lib/scim-1.0/1.4.0/SetupUI/aaa-frontend-setup.so
+lib/scim-1.0/1.4.0/SetupUI/aaa-imengine-setup.a
+lib/scim-1.0/1.4.0/SetupUI/aaa-imengine-setup.la
+lib/scim-1.0/1.4.0/SetupUI/aaa-imengine-setup.so
+lib/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.a
+lib/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.la
+lib/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.so
+lib/scim-1.0/scim-helper-launcher
+lib/scim-1.0/scim-helper-manager
+lib/scim-1.0/scim-launcher
+lib/scim-1.0/scim-panel-gtk
+libdata/pkgconfig/scim-gtkutils.pc
+libdata/pkgconfig/scim-x11utils.pc
+libdata/pkgconfig/scim.pc
+share/applications/scim-setup.desktop
+share/control-center-2.0/capplets/scim-setup.desktop
+share/pixmaps/scim-setup.png
+share/locale/cs/LC_MESSAGES/scim.mo
+share/locale/de/LC_MESSAGES/scim.mo
+share/locale/fi/LC_MESSAGES/scim.mo
+share/locale/fr/LC_MESSAGES/scim.mo
+share/locale/it/LC_MESSAGES/scim.mo
+share/locale/ja/LC_MESSAGES/scim.mo
+share/locale/ko/LC_MESSAGES/scim.mo
+share/locale/nl/LC_MESSAGES/scim.mo
+share/locale/pa/LC_MESSAGES/scim.mo
+share/locale/sv/LC_MESSAGES/scim.mo
+share/locale/zh_CN/LC_MESSAGES/scim.mo
+share/locale/zh_TW/LC_MESSAGES/scim.mo
+%%DATADIR%%/icons/down.png
+%%DATADIR%%/icons/full-letter.png
+%%DATADIR%%/icons/full-punct.png
+%%DATADIR%%/icons/half-letter.png
+%%DATADIR%%/icons/half-punct.png
+%%DATADIR%%/icons/help.png
+%%DATADIR%%/icons/keyboard.png
+%%DATADIR%%/icons/left.png
+%%DATADIR%%/icons/menu.png
+%%DATADIR%%/icons/pin-down.png
+%%DATADIR%%/icons/pin-up.png
+%%DATADIR%%/icons/rawcode.png
+%%DATADIR%%/icons/right.png
+%%DATADIR%%/icons/sctc.png
+%%DATADIR%%/icons/sctc-sc-to-tc.png
+%%DATADIR%%/icons/sctc-tc-to-sc.png
+%%DATADIR%%/icons/setup.png
+%%DATADIR%%/icons/trademark.png
+%%DATADIR%%/icons/up.png
+@dirrm etc/scim
+@dirrm include/scim-1.0/x11
+@dirrm include/scim-1.0/gtk
+@dirrm include/scim-1.0
+@dirrmtry lib/gtk-2.0/immodules
+@dirrm lib/scim-1.0/1.4.0/Config
+@dirrm lib/scim-1.0/1.4.0/Filter
+@dirrm lib/scim-1.0/1.4.0/FrontEnd
+@dirrm lib/scim-1.0/1.4.0/Helper
+@dirrm lib/scim-1.0/1.4.0/IMEngine
+@dirrm lib/scim-1.0/1.4.0/SetupUI
+@dirrm lib/scim-1.0/1.4.0
+@dirrm lib/scim-1.0
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%
+@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
+@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
diff --git a/textproc/stardict2/Makefile b/textproc/stardict2/Makefile
new file mode 100644
index 000000000..2d5f0174c
--- /dev/null
+++ b/textproc/stardict2/Makefile
@@ -0,0 +1,55 @@
+# Ports collection makefile for: stardict2
+# Date created: 13 April 2003
+# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= stardict
+PORTVERSION= 2.4.8
+PORTREVISION= 4
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DIST_SUBDIR= stardict
+
+MAINTAINER= delphij@FreeBSD.org
+COMMENT= A cross-platform and international dictionary written in Gtk2
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+USE_GMAKE= yes
+USE_GCC= 3.4
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnomeprefix
+USE_GETTEXT= yes
+
+OPTIONS= GNOMEUI "GNOME support" On
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_GNOMEUI)
+USE_GNOME+= libgnomeui
+GCONF_SCHEMAS= stardict.schemas
+INSTALLS_OMF= yes
+PLIST_SUB= GNOME=""
+.else
+USE_GNOME+= gtk20
+CONFIGURE_ARGS+=--disable-gnome-support --disable-schemas-install
+PLIST_SUB= GNOME="@comment not installed: "
+.endif
+
+MAN1= stardict.1
+
+post-patch:
+# gcc 2.95 does not know std::string::clear()
+ @${REINPLACE_CMD} -e 's|.clear()|.erase()|' \
+ ${WRKSRC}/src/docklet.cpp ${WRKSRC}/src/floatwin.cpp \
+ ${WRKSRC}/src/selection.cpp
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/textproc/stardict2/distinfo b/textproc/stardict2/distinfo
new file mode 100644
index 000000000..9f8f34c05
--- /dev/null
+++ b/textproc/stardict2/distinfo
@@ -0,0 +1,3 @@
+MD5 (stardict/stardict-2.4.8.tar.bz2) = 2f743d809737ca157bad71791c45ce63
+SHA256 (stardict/stardict-2.4.8.tar.bz2) = 160dd1dfe46ae0b9d44f9059a40eee71ff389be498aa4478355ff4640969680f
+SIZE (stardict/stardict-2.4.8.tar.bz2) = 1235020
diff --git a/textproc/stardict2/files/patch-src::conf.cpp b/textproc/stardict2/files/patch-src::conf.cpp
new file mode 100644
index 000000000..1c6dd3846
--- /dev/null
+++ b/textproc/stardict2/files/patch-src::conf.cpp
@@ -0,0 +1,11 @@
+--- src/conf.cpp.orig Mon Jul 10 05:23:39 2006
++++ src/conf.cpp Mon Jul 10 05:24:36 2006
+@@ -93,7 +93,7 @@
+ #ifdef _WIN32
+ add_entry("/apps/stardict/preferences/dictionary/tts_path", std::string("C:\\Program Files\\WyabdcRealPeopleTTS\nC:\\Program Files\\OtdRealPeopleTTS\nWyabdcRealPeopleTTS\nOtdRealPeopleTTS"));
+ #else
+- add_entry("/apps/stardict/preferences/dictionary/tts_path", std::string("/usr/share/WyabdcRealPeopleTTS\n/usr/share/OtdRealPeopleTTS"));
++ add_entry("/apps/stardict/preferences/dictionary/tts_path", std::string("/usr/local/share/WyabdcRealPeopleTTS\n/usr/local/share/OtdRealPeopleTTS"));
+ #endif
+ add_entry("/apps/stardict/preferences/dictionary/history", get_default_history_filename());
+ add_entry("/apps/stardict/preferences/dictionary/only_export_word", true);
diff --git a/textproc/stardict2/files/patch-src::docklet.h b/textproc/stardict2/files/patch-src::docklet.h
new file mode 100644
index 000000000..b2f7c9634
--- /dev/null
+++ b/textproc/stardict2/files/patch-src::docklet.h
@@ -0,0 +1,11 @@
+--- src/docklet.h.orig Tue Sep 23 18:19:44 2003
++++ src/docklet.h Tue Jan 18 02:20:01 2005
+@@ -7,7 +7,7 @@
+ enum DockLetIconType {
+ DOCKLET_NORMAL_ICON,
+ DOCKLET_SCAN_ICON,
+- DOCKLET_STOP_ICON,
++ DOCKLET_STOP_ICON
+ };
+
+ class DockLet{
diff --git a/textproc/stardict2/files/patch-src::mainwin.h b/textproc/stardict2/files/patch-src::mainwin.h
new file mode 100644
index 000000000..6f2d4d6a2
--- /dev/null
+++ b/textproc/stardict2/files/patch-src::mainwin.h
@@ -0,0 +1,11 @@
+--- src/mainwin.h.orig Tue Sep 23 18:19:44 2003
++++ src/mainwin.h Tue Jan 18 02:23:04 2005
+@@ -22,7 +22,7 @@
+ TEXT_WIN_PATTERN_NOT_FOUND,
+ TEXT_WIN_TIPS, // when the word entry is empty,it will show tip
+ TEXT_WIN_INFO,
+- TEXT_WIN_TREEDICT,
++ TEXT_WIN_TREEDICT
+ };
+
+ enum ListWinListWordType
diff --git a/textproc/stardict2/files/patch-src::stardict-application-server.cpp b/textproc/stardict2/files/patch-src::stardict-application-server.cpp
new file mode 100644
index 000000000..38f2b4416
--- /dev/null
+++ b/textproc/stardict2/files/patch-src::stardict-application-server.cpp
@@ -0,0 +1,8 @@
+--- src/stardict-application-server.cpp.orig Tue Sep 23 18:19:48 2003
++++ src/stardict-application-server.cpp Tue Jan 18 02:25:54 2005
+@@ -117,4 +117,4 @@
+ StardictApplicationServer,
+ GNOME_Stardict_Application,
+ BONOBO_TYPE_OBJECT,
+- stardict_application_server);
++ stardict_application_server)
diff --git a/textproc/stardict2/pkg-descr b/textproc/stardict2/pkg-descr
new file mode 100644
index 000000000..ec73b9210
--- /dev/null
+++ b/textproc/stardict2/pkg-descr
@@ -0,0 +1,5 @@
+StarDict is a Cross-Platform and international dictionary written in Gtk2.
+It has powerful features such as "Glob-style pattern matching," "Scan
+selection word," "Fuzzy query," etc.
+
+WWW: http://stardict.sourceforge.net/
diff --git a/textproc/stardict2/pkg-message b/textproc/stardict2/pkg-message
new file mode 100644
index 000000000..ef455877c
--- /dev/null
+++ b/textproc/stardict2/pkg-message
@@ -0,0 +1,9 @@
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
+Now it's time to install some dictionary files:
+
+ chinese/stardict2-dict-zh_CN Simplified Chinese - English
+ chinese/stardict2-dict-zh_TW Traditional Chinese - English
+ japanese/stardict2-dict-ja Japanese - English
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
diff --git a/textproc/stardict2/pkg-plist b/textproc/stardict2/pkg-plist
new file mode 100644
index 000000000..34b87faa5
--- /dev/null
+++ b/textproc/stardict2/pkg-plist
@@ -0,0 +1,94 @@
+bin/stardict
+%%GNOME%%libdata/bonobo/servers/GNOME_Stardict.server
+share/applications/stardict.desktop
+%%GNOME%%share/gnome/help/stardict/C/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/C/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/C/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/C/legal.xml
+%%GNOME%%share/gnome/help/stardict/C/stardict.xml
+%%GNOME%%share/gnome/help/stardict/mk/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/mk/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/mk/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/mk/legal.xml
+%%GNOME%%share/gnome/help/stardict/mk/stardict.xml
+%%GNOME%%share/gnome/help/stardict/nl/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/nl/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/nl/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/nl/legal.xml
+%%GNOME%%share/gnome/help/stardict/nl/stardict.xml
+%%GNOME%%share/gnome/help/stardict/ru/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/ru/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/ru/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/ru/legal.xml
+%%GNOME%%share/gnome/help/stardict/ru/stardict.xml
+%%GNOME%%share/gnome/help/stardict/uk/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/uk/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/uk/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/uk/legal.xml
+%%GNOME%%share/gnome/help/stardict/uk/stardict.xml
+%%GNOME%%share/gnome/help/stardict/zh_CN/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/zh_CN/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/zh_CN/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/zh_CN/legal.xml
+%%GNOME%%share/gnome/help/stardict/zh_CN/stardict.xml
+%%GNOME%%share/gnome/help/stardict/zh_TW/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/zh_TW/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/zh_TW/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/zh_TW/legal.xml
+%%GNOME%%share/gnome/help/stardict/zh_TW/stardict.xml
+%%GNOME%%share/idl/GNOME_Stardict.idl
+%%GNOME%%share/omf/stardict/stardict-C.omf
+%%GNOME%%share/omf/stardict/stardict-mk.omf
+%%GNOME%%share/omf/stardict/stardict-nl.omf
+%%GNOME%%share/omf/stardict/stardict-ru.omf
+%%GNOME%%share/omf/stardict/stardict-uk.omf
+%%GNOME%%share/omf/stardict/stardict-zh_CN.omf
+%%GNOME%%share/omf/stardict/stardict-zh_TW.omf
+share/pixmaps/stardict.png
+share/stardict/pixmaps/docklet_normal.png
+share/stardict/pixmaps/docklet_scan.png
+share/stardict/pixmaps/docklet_stop.png
+share/stardict/pixmaps/index_appendix.png
+share/stardict/pixmaps/index_dictlist.png
+share/stardict/pixmaps/index_wazard.png
+share/stardict/pixmaps/splash.png
+share/stardict/sounds/buttonactive.wav
+share/stardict/sounds/menushow.wav
+share/locale/cs/LC_MESSAGES/stardict.mo
+share/locale/de/LC_MESSAGES/stardict.mo
+share/locale/el/LC_MESSAGES/stardict.mo
+share/locale/fr/LC_MESSAGES/stardict.mo
+share/locale/hr/LC_MESSAGES/stardict.mo
+share/locale/hu/LC_MESSAGES/stardict.mo
+share/locale/ku/LC_MESSAGES/stardict.mo
+share/locale/mk/LC_MESSAGES/stardict.mo
+share/locale/nl/LC_MESSAGES/stardict.mo
+share/locale/pt_BR/LC_MESSAGES/stardict.mo
+share/locale/ru/LC_MESSAGES/stardict.mo
+share/locale/sk/LC_MESSAGES/stardict.mo
+share/locale/tt/LC_MESSAGES/stardict.mo
+share/locale/uk/LC_MESSAGES/stardict.mo
+share/locale/vi/LC_MESSAGES/stardict.mo
+share/locale/zh_CN/LC_MESSAGES/stardict.mo
+share/locale/zh_TW/LC_MESSAGES/stardict.mo
+@dirrmtry share/locale/tt/LC_MESSAGES
+@dirrmtry share/locale/tt
+@dirrm share/stardict/sounds
+@dirrm share/stardict/pixmaps
+@dirrmtry share/stardict
+%%GNOME%%@dirrm share/omf/stardict
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_TW/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_TW
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_CN/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_CN
+%%GNOME%%@dirrm share/gnome/help/stardict/uk/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/uk
+%%GNOME%%@dirrm share/gnome/help/stardict/ru/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/ru
+%%GNOME%%@dirrm share/gnome/help/stardict/nl/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/nl
+%%GNOME%%@dirrm share/gnome/help/stardict/mk/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/mk
+%%GNOME%%@dirrm share/gnome/help/stardict/C/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/C
+%%GNOME%%@dirrm share/gnome/help/stardict