Index: head/chinese/gcin/Makefile =================================================================== --- head/chinese/gcin/Makefile (revision 290386) +++ head/chinese/gcin/Makefile (revision 290387) @@ -1,131 +1,131 @@ # New ports collection makefile for: zh-gcin # Date created: Feb 18 2004 # Whom: Shen Chuan-Hsing # # $FreeBSD$ # PORTNAME= gcin -PORTVERSION= 2.7.1 -PORTREVISION= 1 +PORTVERSION= 2.7.2 +PORTREVISION= 0 CATEGORIES= chinese textproc gnome MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main EXTRACT_ONLY= gcin-${PORTVERSION}.tar.xz MAINTAINER= ports@FreeBSD.org COMMENT= A traditional chinese input utility in X LICENSE= LGPL21 USE_XZ= YES HAS_CONFIGURE= YES CONFIGURE_ARGS+= --use_gtk3=N --use_qt3=N USE_GNOME= gtk20 USE_GMAKE= YES USE_XORG= x11 xtst xext INSTALLS_ICONS= YES USE_LDCONFIG= YES OPTIONS= ANTHY "enable Japanese anthy IM module" off \ CHEWING "enable Chewing IM module" off \ QT_IM_MODULE "enable QT IM module" off MAN1= gcin.1 gcin-exit.1 gcin2tab.1 gcin-gb-toggle.1 gcin-kbm-toggle.1 \ gcin-message.1 gcin-tools.1 gtab-merge.1 juyin-learn.1 \ phoa2d.1 sim2trad.1 tsa2d32.1 tslearn.1 .include .if defined(WITH_QT_IM_MODULE) USE_QT_VER= 4 QT_COMPONENTS= inputmethods qmake_build moc_build corelib gui LIB_DEPENDS+= mng:${PORTSDIR}/graphics/libmng PLIST_SUB+= QT_IM_MODULE="" .else CONFIGURE_ARGS+= --use_qt4=N PLIST_SUB+= QT_IM_MODULE="@comment " .endif .include .if ${OSVERSION} < 700000 BROKEN= does not compile .endif .if defined(WITH_ANTHY) BUILD_DEPENDS+= ${LOCALBASE}/include/anthy/anthy.h:${PORTSDIR}/japanese/anthy LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy PLIST_SUB+= ANTHY_MODULE="" .else CONFIGURE_ARGS+= --use_anthy=N PLIST_SUB+= ANTHY_MODULE="@comment " .endif .if defined(WITH_CHEWING) BUILD_DEPENDS+= ${LOCALBASE}/include/chewing/chewing.h:${PORTSDIR}/chinese/libchewing LIB_DEPENDS+= chewing.3:${PORTSDIR}/chinese/libchewing PLIST_SUB+= CHEWING_MODULE="" .else CONFIGURE_ARGS+= --use_chewing=N PLIST_SUB+= CHEWING_MODULE="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's,&,,; 1 s,##!/bin/bash,#!/bin/sh,; \ s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,g; \ s,QT4_IM_DIR=/usr,QT4_IM_DIR=$$prefix,g; \ s,-ldl,,; \ s,mandir=$$datadir,mandir=$$prefix,; \ s,/usr/share,$$prefix/share,; \ s,/usr/lib64/qt4/bin/moc,${LOCALBASE}/bin/moc-qt4,; \ 1, 300 s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,; \ /GCIN_DEBUG/ d' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,;' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '94 s/gcin/gcin-setup/' ${WRKSRC}/gcin-common.cpp @${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile @${REINPLACE_CMD} -e 's,modify-XIM ,,; 8,10 d' \ ${WRKSRC}/scripts/Makefile @${REINPLACE_CMD} -e 's,bash,sh,; s/&//; s,/opt/gnome,${LOCALBASE},;' \ ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup \ ${WRKSRC}/scripts/gtab.append_prepare \ ${WRKSRC}/scripts/tsin-gtab-import \ ${WRKSRC}/scripts/tsin-gtab-edit @${REINPLACE_CMD} -e 's,bash,sh,; s/&//; 12,13 s/=/ /; \ s/export/setenv/; s/$$UTF8ED/xdg-open/' \ ${WRKSRC}/scripts/html-browser @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,;' \ ${WRKSRC}/gtk-im/gtkimcontextgcin.c @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' \ ${WRKSRC}/IMdkit/lib/Makefile ${WRKSRC}/Makefile \ ${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ ${WRKSRC}/scripts/utf8-edit @${REINPLACE_CMD} -e '/make/ d' ${WRKSRC}/IMdkit/lib/Makefile @${REINPLACE_CMD} -e 's,/usr/X11R6/lib,${LOCALBASE}/lib,' ${WRKSRC}/im-client/Makefile .ifdef NOPORTDOCS @${REINPLACE_CMD} '/install.*DOC_DIR/d' ${WRKSRC}/Makefile .endif post-build: .if !defined(DEBUG_FLAGS) @${FIND} ${WRKSRC} -name "*.so*" | ${XARGS} ${STRIP_CMD} .endif post-install: .if !defined(DEBUG_FLAGS) .for f in gcin* gtab-merge juyin-learn phoa2* sim2trad trad2sim ts-edit tsa2d32 tsd2a32 tsin2gtab-phrase tslearn @${STRIP_CMD} ${PREFIX}/bin/${f} .endfor .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in Changelog.html README.html ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules @${CAT} ${PKGMESSAGE} @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\' .include Property changes on: head/chinese/gcin/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.114 \ No newline at end of property +1.115 \ No newline at end of property Index: head/chinese/gcin/distinfo =================================================================== --- head/chinese/gcin/distinfo (revision 290386) +++ head/chinese/gcin/distinfo (revision 290387) @@ -1,2 +1,2 @@ -SHA256 (gcin-2.7.1.tar.xz) = d51dda364402d977a6837464ece18ebe526e4a8291698728435bf5097457aa09 -SIZE (gcin-2.7.1.tar.xz) = 2689688 +SHA256 (gcin-2.7.2.tar.xz) = e45013826ff1cfea3f45b03b120d6516782df1b88fb7261516ef0a469a141a7e +SIZE (gcin-2.7.2.tar.xz) = 3005004 Property changes on: head/chinese/gcin/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.75 \ No newline at end of property +1.76 \ No newline at end of property Index: head/chinese/gcin/files/patch-Makefile =================================================================== --- head/chinese/gcin/files/patch-Makefile (revision 290386) +++ head/chinese/gcin/files/patch-Makefile (revision 290387) @@ -1,19 +1,28 @@ --- Makefile.orig 2011-12-19 10:45:09.000000000 +0800 -+++ Makefile 2012-01-31 20:30:12.000000000 +0800 ++++ Makefile 2012-02-03 08:29:40.000000000 +0800 @@ -90,7 +90,7 @@ PROGS_CV=kbmcv pin-juyin all: $(PROGS) trad2sim $(GCIN_SO) $(DATA) $(PROGS_CV) gcin.spec gcin-fedora.spec $(MAKE) -C data $(MAKE) -C gtk-im - if [ $(BUILD_MODULE) = 'Y' ]; then $(MAKE) -C modules; fi + $(MAKE) -C modules if [ $(USE_I18N) = 'Y' ]; then $(MAKE) -C po; fi if [ $(GTK3_IM) = 'Y' ]; then $(MAKE) -C gtk3-im; fi if [ $(QT_IM) = 'Y' ]; then $(MAKE) -C qt-im; fi +@@ -204,7 +204,7 @@ install: + $(MAKE) -C data install + $(MAKE) -C im-client install + $(MAKE) -C gtk-im install +- if [ $(BUILD_MODULE) = 'Y' ]; then $(MAKE) -C modules install; fi ++ $(MAKE) -C modules install + if [ $(GTK3_IM) = 'Y' ]; then $(MAKE) -C gtk3-im install; fi + if [ $(QT_IM) = 'Y' ]; then $(MAKE) -C qt-im install; fi + if [ $(QT4_IM) = 'Y' ]; then $(MAKE) -C qt4-im install; fi @@ -221,6 +221,7 @@ install: rm -f $(bindir)/trad2sim; ln -sf sim2trad $(bindir)/trad2sim; \ fi $(MAKE) -C scripts install + $(MAKE) -C man install $(MAKE) -C menu install if [ $(USE_I18N) = 'Y' ]; then $(MAKE) -C po install; fi Property changes on: head/chinese/gcin/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/chinese/gcin/pkg-plist =================================================================== --- head/chinese/gcin/pkg-plist (revision 290386) +++ head/chinese/gcin/pkg-plist (revision 290387) @@ -1,147 +1,148 @@ bin/gcin bin/gcin-exit bin/gcin-gb-toggle bin/gcin-kbm-toggle bin/gcin-message bin/gcin-tools bin/gcin2tab bin/gtab-merge bin/juyin-learn bin/phoa2d bin/phod2a bin/sim2trad bin/trad2sim bin/ts-edit bin/tsa2d32 bin/tsd2a32 bin/tsin2gtab-phrase bin/tslearn lib/gtk-2.0/immodules/im-gcin.so %%QT_IM_MODULE%%lib/qt4/plugins/inputmethods/im-gcin.so %%ANTHY_MODULE%%lib/gcin/anthy-module.so %%CHEWING_MODULE%%lib/gcin/chewing-module.so lib/gcin/gcin1.so lib/gcin/gcin2.so -%%CHEWING_MODULE%%lib/gcin/intcode-module.so +lib/gcin/intcode-module.so lib/gcin/libgcin-im-client.so lib/gcin/libgcin-im-client.so.1.2.5 lib/gcin/libgcin-im-client.so.1 %%DATADIR%%/script/gcin-user-setup %%DATADIR%%/script/gtab.append_prepare %%DATADIR%%/script/html-browser %%DATADIR%%/script/tsin-gtab-import %%DATADIR%%/script/tsin-gtab-edit %%DATADIR%%/script/utf8-edit %%DATADIR%%/table/NewCJ3.gtab %%DATADIR%%/table/ar30.gtab %%DATADIR%%/table/ar30-big.gtab %%DATADIR%%/table/ar33.gtab %%DATADIR%%/table/cj-punc.gtab %%DATADIR%%/table/cj.gtab %%DATADIR%%/table/cj5.gtab %%DATADIR%%/table/cj543.gtab %%DATADIR%%/table/colemak.kbm %%DATADIR%%/table/dayi3.gtab %%DATADIR%%/table/dvorak.kbm %%DATADIR%%/table/et.kbm %%DATADIR%%/table/et26.kbm %%DATADIR%%/table/greek.gtab %%DATADIR%%/table/gtab.list %%DATADIR%%/table/hangul.gtab %%DATADIR%%/table/hsu.kbm %%DATADIR%%/table/ibm.kbm %%DATADIR%%/table/jyutping.gtab %%DATADIR%%/table/latin-letters.gtab %%DATADIR%%/table/mitac.kbm %%DATADIR%%/table/phrase-ctrl.table %%DATADIR%%/table/pho-huge.tab2 %%DATADIR%%/table/pho.tab2 %%DATADIR%%/table/phrase.table %%DATADIR%%/table/pinyin.gtab %%DATADIR%%/table/pinyin.kbm %%DATADIR%%/table/pinyin-no-tone.kbm %%DATADIR%%/table/pin-juyin.xlt %%DATADIR%%/table/russian.gtab %%DATADIR%%/table/s-pho-huge.tab2 %%DATADIR%%/table/s-pho.tab2 %%DATADIR%%/table/s-tsin32 %%DATADIR%%/table/s-tsin32.idx %%DATADIR%%/table/s2t.dat %%DATADIR%%/table/simplex.gtab %%DATADIR%%/table/simplex-punc.gtab %%DATADIR%%/table/symbol-table %%DATADIR%%/table/symbols.gtab %%DATADIR%%/table/t2s.dat %%DATADIR%%/table/tsin-1.src %%DATADIR%%/table/tsin32 %%DATADIR%%/table/tsin32.idx %%DATADIR%%/table/zo.kbm %%PORTDOCS%%%%DOCSDIR%%/Changelog.html %%PORTDOCS%%%%DOCSDIR%%/README.html share/applications/gcin-tools.desktop share/icons/gcin/NewCJ3.png share/icons/gcin/4corner.png share/icons/gcin/amis-gcin.png share/icons/gcin/ar30.png share/icons/gcin/ar30-big.png share/icons/gcin/ar33.png share/icons/gcin/cj-punc.png share/icons/gcin/cj.png share/icons/gcin/cj5.png share/icons/gcin/cj543.png share/icons/gcin/chewing.png share/icons/gcin/dayi3.png +share/icons/gcin/en-gtab.png share/icons/gcin/en-kana-nippon.png share/icons/gcin/en-tsin.png share/icons/gcin/erbi.png share/icons/gcin/ez.png share/icons/gcin/fcitx-qxm.png share/icons/gcin/fcitx-wanfeng.png share/icons/gcin/full-simp.png share/icons/gcin/full-trad.png share/icons/gcin/gcb.png share/icons/gcin/gcin-tray.png share/icons/gcin/gdayi3.png share/icons/gcin/greek.png share/icons/gcin/hakka.png share/icons/gcin/half-simp.png share/icons/gcin/half-trad.png share/icons/gcin/halfwidth-kana.png share/icons/gcin/hangul.png share/icons/gcin/intcode.png share/icons/gcin/jtcj_gb.png share/icons/gcin/juyin.png share/icons/gcin/jyutping.png share/icons/gcin/kana-nippon.png share/icons/gcin/latin-letters.png share/icons/gcin/newcj.png share/icons/gcin/noseeing.png share/icons/gcin/paiwan-gcin.png share/icons/gcin/pinyin.png share/icons/gcin/russian.png share/icons/gcin/sakura.png share/icons/gcin/scj.png share/icons/gcin/shuangpin.png share/icons/gcin/simplex.png share/icons/gcin/simplex-punc.png share/icons/gcin/symbol_table.png share/icons/gcin/symbols.png share/icons/gcin/taiwan.png share/icons/gcin/telecode.png share/icons/gcin/tsin.png share/icons/gcin/tsou-gcin.png share/icons/gcin/wm2.png share/icons/gcin/wubi.png share/icons/gcin.png %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm share/icons/gcin @dirrmtry share/icons @dirrmtry share/applications @dirrmtry %%DATADIR%%/table @dirrmtry %%DATADIR%%/script @dirrmtry %%DATADIR%% @dirrmtry lib/gtk-2.0/immodules @dirrmtry lib/gtk-2.0 @dirrm lib/gcin @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 Property changes on: head/chinese/gcin/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.55 \ No newline at end of property +1.56 \ No newline at end of property