diff options
author | nectar <nectar@FreeBSD.org> | 2004-08-16 02:13:06 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-08-16 02:13:06 +0800 |
commit | 3af590669d8ec33d628b8e24e02bbc40c3fab91f (patch) | |
tree | 259b683b79ebf7367a8ac2f7ff128e9320313dbf | |
parent | 709ea4ee75091ebfae7362ebd778304c038a2a39 (diff) | |
download | freebsd-ports-gnome-3af590669d8ec33d628b8e24e02bbc40c3fab91f.tar.gz freebsd-ports-gnome-3af590669d8ec33d628b8e24e02bbc40c3fab91f.tar.zst freebsd-ports-gnome-3af590669d8ec33d628b8e24e02bbc40c3fab91f.zip |
Update to im-ja 1.2.
PR: ports/69815
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r-- | japanese/im-ja/Makefile | 20 | ||||
-rw-r--r-- | japanese/im-ja/distinfo | 4 | ||||
-rw-r--r-- | japanese/im-ja/files/patch-configure | 10 | ||||
-rw-r--r-- | japanese/im-ja/pkg-plist | 2 |
4 files changed, 17 insertions, 19 deletions
diff --git a/japanese/im-ja/Makefile b/japanese/im-ja/Makefile index 4ab2eba51356..84745f92f3ba 100644 --- a/japanese/im-ja/Makefile +++ b/japanese/im-ja/Makefile @@ -6,13 +6,14 @@ # PORTNAME= im-ja -PORTVERSION= 1.0 +PORTVERSION= 1.2 CATEGORIES= japanese x11-toolkits MASTER_SITES= http://im-ja.sourceforge.net/ MAINTAINER= nectar@FreeBSD.org COMMENT= A Japanese input module for GTK2 +OPTIONS+= ANTHY "Use Anthy" on OPTIONS+= CANNA "Use Canna" on OPTIONS+= WNN "Use FreeWnn" on @@ -20,7 +21,7 @@ USE_PERL5_BUILD= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_INC_LIBTOOL_VER=13 -USE_GNOME= gnomeprefix gnomehack gnomepanel +USE_GNOME= gnomeprefix gnomehack gnomepanel lthack GNU_CONFIGURE= yes LIBS+= -L${LOCALBASE}/lib -L${X11BASE}/lib @@ -33,15 +34,20 @@ MAN1= im-ja-conf.1 im-ja-xim-server.1 .include <bsd.port.pre.mk> -.if defined(WITH_CANNA) -LIB_DEPENDS+= RKC.1:${PORTSDIR}/japanese/Canna +.if defined(WITHOUT_ANTHY) +CONFIGURE_ARGS+= --disable-anthy .else -CONFIGURE_ARGS+= --disable-canna +LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy .endif -.if defined(WITH_WNN) -LIB_DEPENDS+= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib +.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 post-patch: diff --git a/japanese/im-ja/distinfo b/japanese/im-ja/distinfo index 06e07401a40c..3ba183e76337 100644 --- a/japanese/im-ja/distinfo +++ b/japanese/im-ja/distinfo @@ -1,2 +1,2 @@ -MD5 (im-ja-1.0.tar.gz) = 0adc0e09db96ba416ce6ce72a77680e6 -SIZE (im-ja-1.0.tar.gz) = 663614 +MD5 (im-ja-1.2.tar.gz) = c299678e2af6b4676b3ae29c6eea89af +SIZE (im-ja-1.2.tar.gz) = 667509 diff --git a/japanese/im-ja/files/patch-configure b/japanese/im-ja/files/patch-configure index 1be57c399558..951243475473 100644 --- a/japanese/im-ja/files/patch-configure +++ b/japanese/im-ja/files/patch-configure @@ -1,16 +1,6 @@ *** configure.orig Mon Apr 12 09:41:56 2004 --- configure Mon Apr 12 09:42:55 2004 *************** -*** 8185,8190 **** ---- 8185,8191 ---- - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+ $ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' -*************** *** 14905,14911 **** #define IM_JA_BINDIR "$IM_JA_BINDIR" _ACEOF diff --git a/japanese/im-ja/pkg-plist b/japanese/im-ja/pkg-plist index b752c00d3357..52fb3f34c8d8 100644 --- a/japanese/im-ja/pkg-plist +++ b/japanese/im-ja/pkg-plist @@ -1,6 +1,8 @@ bin/im-ja-conf bin/im-ja-xim-server +@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/im-ja.schemas > /dev/null || /usr/bin/true etc/gconf/schemas/im-ja.schemas +@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/im-ja.schemas > /dev/null || /usr/bin/true lib/gtk-2.0/2.4.0/immodules/im-ja.so lib/im-ja/im-ja-applet lib/im-ja/kpengine |