diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 06:22:27 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 06:22:27 +0800 |
commit | 363fae18ed1f97c352e334bf391808247186dcb8 (patch) | |
tree | 828b35e996e1dab4271495418e65170d094d46be /japanese | |
parent | f458ae6a7220e3c6a68f38dca11c6198805de3f8 (diff) | |
download | marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.gz marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.zst marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9264 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/im-ja/Makefile | 77 | ||||
-rw-r--r-- | japanese/im-ja/distinfo | 3 | ||||
-rw-r--r-- | japanese/im-ja/files/patch-src_Makefile.in | 15 | ||||
-rw-r--r-- | japanese/im-ja/files/patch-src_helper_helper-socket.c | 11 | ||||
-rw-r--r-- | japanese/im-ja/files/patch-src_xim_Makefile.in | 11 | ||||
-rw-r--r-- | japanese/im-ja/pkg-descr | 11 | ||||
-rw-r--r-- | japanese/im-ja/pkg-plist | 48 | ||||
-rw-r--r-- | japanese/stardict2-dict-ja/Makefile | 30 | ||||
-rw-r--r-- | japanese/stardict2-dict-ja/distinfo | 6 | ||||
-rw-r--r-- | japanese/stardict2-dict-ja/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/stardict2-dict-ja/pkg-plist | 7 |
11 files changed, 222 insertions, 0 deletions
diff --git a/japanese/im-ja/Makefile b/japanese/im-ja/Makefile new file mode 100644 index 000000000..ab00a04a8 --- /dev/null +++ b/japanese/im-ja/Makefile @@ -0,0 +1,77 @@ +# New ports collection makefile for: im-ja +# Date created: 2003/09/02 +# Whom: Jacques Vidrine <nectar@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= im-ja +PORTVERSION= 1.5 +PORTREVISION= 4 +CATEGORIES= japanese x11-toolkits +MASTER_SITES= http://im-ja.sourceforge.net/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= A Japanese input module for GTK2 + +OPTIONS+= ANTHY "Use Anthy" on +OPTIONS+= CANNA "Use Canna" on +OPTIONS+= WNN "Use FreeWnn" on +OPTIONS+= GNOMEPANEL "Build GNOME Panel Applet" off + +USE_XLIB= yes +USE_GNOME= gconf2 gnomehack gnomeprefix gnometarget intlhack libglade2 +USE_PERL5_BUILD= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +MAN1= im-ja-conf.1 im-ja-xim-server.1 +GCONF_SCHEMAS= im-ja.schemas + +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include -DNO_MALLOC_H +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_ANTHY) +CONFIGURE_ARGS+= --disable-anthy +.else +LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy +.endif + +.if defined(WITHOUT_CANNA) +CONFIGURE_ARGS+= --disable-canna +.else +LIB_DEPENDS+= RKC.1:${PORTSDIR}/japanese/Canna +.endif + +.if defined(WITHOUT_WNN) +CONFIGURE_ARGS+= --disable-wnn +.else +LIB_DEPENDS+= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib +.endif + +.if defined(WITH_GNOMEPANEL) +USE_GNOME+= gnomepanel +PLIST_SUB+= GNOMEPANEL="" +.else +CONFIGURE_ARGS+= --disable-gnome +PLIST_SUB+= GNOMEPANEL="@comment " +.endif + +post-patch: + ${FIND} ${WRKSRC} -name configure.in | ${XARGS} ${TOUCH} + ${FIND} ${WRKSRC} -name aclocal.m4 | ${XARGS} ${TOUCH} + ${FIND} ${WRKSRC} -name configure | ${XARGS} ${TOUCH} + ${FIND} ${WRKSRC} -name config.h.in | ${XARGS} ${TOUCH} + ${FIND} ${WRKSRC} -name Makefile.am | ${XARGS} ${TOUCH} + ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${TOUCH} + @${REINPLACE_CMD} -e 's|$$(datadir)/gconf|$$(sysconfdir)/gconf|g' \ + ${WRKSRC}/data/Makefile.in + +post-install: + ${LOCALBASE}/bin/gtk-query-immodules-2.0 > \ + ${LOCALBASE}/etc/gtk-2.0/gtk.immodules + +.include <bsd.port.post.mk> diff --git a/japanese/im-ja/distinfo b/japanese/im-ja/distinfo new file mode 100644 index 000000000..e9f5b08b5 --- /dev/null +++ b/japanese/im-ja/distinfo @@ -0,0 +1,3 @@ +MD5 (im-ja-1.5.tar.gz) = 8986574373d03e685730e16d8f15ade9 +SHA256 (im-ja-1.5.tar.gz) = 96f4ed82706a873bdade99a934a1a66431f146758837ed0f007e3c145649f780 +SIZE (im-ja-1.5.tar.gz) = 905539 diff --git a/japanese/im-ja/files/patch-src_Makefile.in b/japanese/im-ja/files/patch-src_Makefile.in new file mode 100644 index 000000000..463635803 --- /dev/null +++ b/japanese/im-ja/files/patch-src_Makefile.in @@ -0,0 +1,15 @@ +--- src/Makefile.in.ORIG Mon Apr 12 08:00:59 2004 ++++ src/Makefile.in Mon Apr 12 08:01:22 2004 +@@ -512,12 +512,6 @@ + uninstall-recursive + + +-hiragana-convtable.h: hiragana-convtable.txt +- perl convtable.pl hiragana +-zenkaku-convtable.h: zenkaku-convtable.txt +- perl convtable.pl zenkaku +-halfkata-convtable.h: halfkata-convtable.txt +- perl convtable.pl halfkata + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/japanese/im-ja/files/patch-src_helper_helper-socket.c b/japanese/im-ja/files/patch-src_helper_helper-socket.c new file mode 100644 index 000000000..165515833 --- /dev/null +++ b/japanese/im-ja/files/patch-src_helper_helper-socket.c @@ -0,0 +1,11 @@ +--- src/helper/helper-socket.c.orig Tue Apr 12 20:10:13 2005 ++++ src/helper/helper-socket.c Thu Dec 29 23:05:18 2005 +@@ -25,6 +25,8 @@ + + #include <glib.h> + ++#include <sys/types.h> ++#include <sys/time.h> + #include <netinet/in.h> + #include <string.h> + #include <sys/types.h> diff --git a/japanese/im-ja/files/patch-src_xim_Makefile.in b/japanese/im-ja/files/patch-src_xim_Makefile.in new file mode 100644 index 000000000..504c00891 --- /dev/null +++ b/japanese/im-ja/files/patch-src_xim_Makefile.in @@ -0,0 +1,11 @@ +--- src/xim/Makefile.in.ORIG Mon Apr 12 07:58:51 2004 ++++ src/xim/Makefile.in Mon Apr 12 07:59:06 2004 +@@ -1663,7 +1663,7 @@ + + + IMdkit/libXimd.a : +- cd IMdkit; make ++ cd IMdkit; $(MAKE) + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/japanese/im-ja/pkg-descr b/japanese/im-ja/pkg-descr new file mode 100644 index 000000000..555020eae --- /dev/null +++ b/japanese/im-ja/pkg-descr @@ -0,0 +1,11 @@ +im-ja is a Japanese input module for GTK2. + +Currently supported input modes are: hiragana, katakana, half-width +katakana, zenkaku, Canna, FreeWnn, and Kanji character recognition +(based on Kanjipad). + +Conversion hotkeys, status window, preedit text colors, etc. can be +customized through a GUI. An optional applet is also included for the +gnome-panel which can be used to display and change the input method. + +WWW: http://im-ja.sourceforge.net/ diff --git a/japanese/im-ja/pkg-plist b/japanese/im-ja/pkg-plist new file mode 100644 index 000000000..407ffd2a5 --- /dev/null +++ b/japanese/im-ja/pkg-plist @@ -0,0 +1,48 @@ +bin/im-ja-conf +bin/im-ja-xim-server +lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-ja.la +lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-ja.so +%%GNOMEPANEL%%libdata/bonobo/servers/GNOME_ImJaApplet.server +%%GNOMEPANEL%%libexec/im-ja/im-ja-applet +libexec/im-ja/im-ja-helper +libexec/im-ja/kpengine +share/applications/im-ja.desktop +%%GNOMEPANEL%%share/gnome-2.0/ui/GNOME_ImJaApplet.xml +share/im-ja/01.unistrok +share/im-ja/02.unistrok +share/im-ja/03.unistrok +share/im-ja/04.unistrok +share/im-ja/05.unistrok +share/im-ja/06.unistrok +share/im-ja/07.unistrok +share/im-ja/08.unistrok +share/im-ja/09.unistrok +share/im-ja/10.unistrok +share/im-ja/11.unistrok +share/im-ja/12.unistrok +share/im-ja/13.unistrok +share/im-ja/14.unistrok +share/im-ja/15.unistrok +share/im-ja/16.unistrok +share/im-ja/17.unistrok +share/im-ja/18.unistrok +share/im-ja/19.unistrok +share/im-ja/20.unistrok +share/im-ja/21.unistrok +share/im-ja/22.unistrok +share/im-ja/23.unistrok +share/im-ja/im-ja-conf.glade +share/im-ja/im-ja-doc.html +share/im-ja/im-ja-symbols.txt +share/im-ja/radkfile.utf8 +share/pixmaps/im-ja-about.jpg +share/pixmaps/im-ja-capplet.png +share/locale/ca/LC_MESSAGES/im-ja.mo +share/locale/de/LC_MESSAGES/im-ja.mo +share/locale/es/LC_MESSAGES/im-ja.mo +share/locale/hu/LC_MESSAGES/im-ja.mo +share/locale/ja/LC_MESSAGES/im-ja.mo +@dirrm share/im-ja +@dirrm libexec/im-ja +@exec if [ -f %D/bin/gtk-query-immodules-2.0 ]; then %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules; fi +@unexec if [ -f %D/bin/gtk-query-immodules-2.0 ]; then %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules; fi diff --git a/japanese/stardict2-dict-ja/Makefile b/japanese/stardict2-dict-ja/Makefile new file mode 100644 index 000000000..21921acaa --- /dev/null +++ b/japanese/stardict2-dict-ja/Makefile @@ -0,0 +1,30 @@ +# Ports collection makefile for: stardict2-dict-ja +# Date created: 16 Jan 2004 +# Whom: LI Dong <ld@FreeBSD.org.cn> +# $FreeBSD$ +# + +PORTNAME= stardict2-dict-ja +PORTVERSION= 2.4.2 +PORTREVISION= 5 +CATEGORIES= japanese textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= stardict +DISTFILES= stardict-jmdict-en-ja-${PORTVERSION}.tar.bz2 \ + stardict-jmdict-ja-en-${PORTVERSION}.tar.bz2 +DIST_SUBDIR= stardict + +MAINTAINER= ld@FreeBSD.org.cn +COMMENT= English-Japanese/Japanese-English dictionaries for StarDict + +RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2 + +NO_BUILD= yes +USE_BZIP2= yes + +do-install: + ${MKDIR} ${PREFIX}/share/stardict/dic/ + ${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-en-ja-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/ + ${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-ja-en-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/ + +.include <bsd.port.mk> diff --git a/japanese/stardict2-dict-ja/distinfo b/japanese/stardict2-dict-ja/distinfo new file mode 100644 index 000000000..700ab70c0 --- /dev/null +++ b/japanese/stardict2-dict-ja/distinfo @@ -0,0 +1,6 @@ +MD5 (stardict/stardict-jmdict-en-ja-2.4.2.tar.bz2) = e0f60d6acc4e3df6784805816b2e136f +SHA256 (stardict/stardict-jmdict-en-ja-2.4.2.tar.bz2) = 757fbe025bdfae9ae6716f20b3210eaada22380647b90056e1f78b6101cf080b +SIZE (stardict/stardict-jmdict-en-ja-2.4.2.tar.bz2) = 2343208 +MD5 (stardict/stardict-jmdict-ja-en-2.4.2.tar.bz2) = 2c574aef86a5d7bab45395d7e8ee7f6b +SHA256 (stardict/stardict-jmdict-ja-en-2.4.2.tar.bz2) = 1b2ed4e2844c08fd31e377b7d0e428a798fcfdbc8bd4c9492756d8f01c28d1a4 +SIZE (stardict/stardict-jmdict-ja-en-2.4.2.tar.bz2) = 4017230 diff --git a/japanese/stardict2-dict-ja/pkg-descr b/japanese/stardict2-dict-ja/pkg-descr new file mode 100644 index 000000000..8245de085 --- /dev/null +++ b/japanese/stardict2-dict-ja/pkg-descr @@ -0,0 +1,3 @@ +English-Japanese/Japanese-English dictionaries for StarDict. + +WWW: http://stardict.sourceforge.net/ diff --git a/japanese/stardict2-dict-ja/pkg-plist b/japanese/stardict2-dict-ja/pkg-plist new file mode 100644 index 000000000..2a36f21f5 --- /dev/null +++ b/japanese/stardict2-dict-ja/pkg-plist @@ -0,0 +1,7 @@ +share/stardict/dic/jmdict-en-ja.dict.dz +share/stardict/dic/jmdict-en-ja.idx +share/stardict/dic/jmdict-en-ja.ifo +share/stardict/dic/jmdict-ja-en.dict.dz +share/stardict/dic/jmdict-ja-en.idx +share/stardict/dic/jmdict-ja-en.ifo +@dirrmtry share/stardict/dic |