diff options
Diffstat (limited to 'chinese/gcin-devel')
-rw-r--r-- | chinese/gcin-devel/Makefile | 79 | ||||
-rw-r--r-- | chinese/gcin-devel/distinfo | 5 | ||||
-rw-r--r-- | chinese/gcin-devel/files/patch-configure | 87 | ||||
-rw-r--r-- | chinese/gcin-devel/files/patch-menu | 21 | ||||
-rw-r--r-- | chinese/gcin-devel/files/patch-script | 45 | ||||
-rw-r--r-- | chinese/gcin-devel/pkg-descr | 4 | ||||
-rw-r--r-- | chinese/gcin-devel/pkg-message | 12 | ||||
-rw-r--r-- | chinese/gcin-devel/pkg-plist | 63 |
8 files changed, 0 insertions, 316 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile deleted file mode 100644 index fe559bfe6a3b..000000000000 --- a/chinese/gcin-devel/Makefile +++ /dev/null @@ -1,79 +0,0 @@ -# New ports collection makefile for: gcin -# Date created: Feb 18 2004 -# Whom: Shen Chuan-Hsing -# -# $FreeBSD$ -# - -PORTNAME= gcin -PORTVERSION= 1.1.7 -CATEGORIES= chinese textproc gnome -MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ \ - http://edt1023.sayya.org/misc/ -.if defined(WITH_BOSHIAMY) -DISTFILES= ${GCINFILE} ${BOSHIAMYFILE} -EXTRACT_ONLY= ${GCINFILE} -.endif - -MAINTAINER= ports@FreeBSD.org -COMMENT= A traditional chinese input utility in X - -USE_X_PREFIX= YES -USE_BZIP2= YES -GNU_CONFIGURE= YES -USE_GNOME= gtk20 -USE_GMAKE= YES - -CONFIGURE_ENV+= "--new_gtk_im=Y" - -MAN1= gcin.1 gcin2tab.1 - -.include <bsd.port.pre.mk> - -pre-extract: - @${ECHO_MSG} '' - @${ECHO_MSG} 'gcin has the following tunable option:' - @${ECHO_MSG} ' WITH_BOSHIAMY - enable Boshiamy support' - @${ECHO_MSG} '' - @${ECHO_MSG} 'Example: "make WITH_BOSHIAMY=yes install clean" ' - @${ECHO_MSG} '' - -.if ${OSVERSION} <= 500034 -USE_GCC= 3.4 -.endif - -.if defined(WITH_BOSHIAMY) -IGNOREFILES= ${BOSHIAMYFILE} -GCINFILE= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -BOSHIAMYFILE= noseeing.tar.gz -post-extract: - @${TAR} -C ${WRKSRC}/data/ -zxf ${DISTDIR}/${BOSHIAMYFILE} \ - noseeing.cin - @${REINPLACE_CMD} -e 's,cj.gtab,cj.gtab noseeing.gtab,' \ - ${WRKSRC}/data/Makefile - -.endif - -.if defined(WITH_BOSHIAMY) -post-patch: -PLIST_SUB+= BOSHIAMY="" -.else -PLIST_SUB+= BOSHIAMY="@comment " -.endif - -pre-configure: - @${REINPLACE_CMD} -e 's,gcin.png,${PREFIX}/share/icons/gcin.png,' \ - ${WRKSRC}/menu/gcin-setup.desktop - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in Changelog README - ${INSTALL_DATA} ${WRKSRC}/${file} ${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 <bsd.port.post.mk> diff --git a/chinese/gcin-devel/distinfo b/chinese/gcin-devel/distinfo deleted file mode 100644 index 62b21cdca4d1..000000000000 --- a/chinese/gcin-devel/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -MD5 (gcin-1.1.7.tar.bz2) = a2b08008e17c86d31fbed707c9d156ee -SHA256 (gcin-1.1.7.tar.bz2) = 8e63077c2d9340492539334f8229893e231158ca192b7a3066a73daa7e5697ea -SIZE (gcin-1.1.7.tar.bz2) = 1392767 -MD5 (noseeing.tar.gz) = IGNORE -SHA256 (noseeing.tar.gz) = IGNORE diff --git a/chinese/gcin-devel/files/patch-configure b/chinese/gcin-devel/files/patch-configure deleted file mode 100644 index 62b212276ec3..000000000000 --- a/chinese/gcin-devel/files/patch-configure +++ /dev/null @@ -1,87 +0,0 @@ ---- configure.orig Wed Feb 22 21:25:55 2006 -+++ configure Wed Feb 22 21:34:26 2006 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - if [ "$1" = "-h" -o "$1" = "--help" -o "$1" = "-help" ]; then - echo "** valid options:" -@@ -9,12 +9,12 @@ - fi - - MAKE=make --which gmake >& /dev/null -+which gmake > /dev/null - if [ $? = 0 ]; then - MAKE=gmake - fi - --uname | grep FreeBSD >& /dev/null -+uname | grep FreeBSD > /dev/null - if [ $? = 0 ]; then - FREEBSD=1 - else -@@ -74,7 +74,7 @@ - QT_IM='N' - for i in qt3 qt4 - do -- QT_IM_DIR=/usr/lib/$i/plugins/$LIB/inputmethods -+ QT_IM_DIR=$prefix/lib/$i/plugins/$LIB/inputmethods - echo "testing if you have QT_IM_MODULE dir:$QT_IM_DIR support" - if [ -d $QT_IM_DIR ]; then - QT_IM='Y' -@@ -92,7 +92,7 @@ - - bindir=$prefix/bin - datadir=$prefix/share --mandir=$datadir/man -+mandir=$prefix/man - libdir=$prefix/lib - includedir=$prefix/include - optdir=/opt -@@ -105,8 +105,8 @@ - GCIN_SETUP_DESKTOP=/opt/gnome/share/control-center-2.0/capplets - GCIN_SETUP_DESKTOP_rpm='$(optdir)/gnome/share/control-center-2.0/capplets' - else -- GCIN_SETUP_DESKTOP=/usr/share/control-center-2.0/capplets -- GCIN_SETUP_DESKTOP_rpm='$(datadir)/control-center-2.0/capplets' -+ GCIN_SETUP_DESKTOP=$prefix/share/gnome/control-center-2.0/capplets -+ GCIN_SETUP_DESKTOP_rpm='$(datadir)/gnome/control-center-2.0/capplets' - fi - - -@@ -115,14 +115,6 @@ - grep -v qt3/plugins/inputmethods gcin.spec.tmp > gcin.spec - fi - --grep Cooker /etc/mandriva-release 2>&1 | grep 2006 >& /dev/null --if [ $? = 0 ]; then -- new_gtk_im='Y' -- echo "!!!! new gtk-im(im-gcin.so) will be enabled because you are using Cooker 2006." -- echo "!!!! You have to install the latest libwidget_gtk2.so" -- echo "http://www.csie.nctu.edu.tw/~cp76/linux/mozilla/mdk-firefox-thunderbird-1.0.6/cooker-new-gtkim-libwidget_gtk2.so.gz" --fi -- - - OPTFLAGS="-g" - if [ $prefix = /usr ]; then -@@ -130,7 +122,7 @@ - fi - - --echo "CC=gcc" > config.mak -+echo "CC=$CC" > config.mak - echo "MAKE=$MAKE" >> config.mak - echo "GTKINC=$GTKINC" >> config.mak - echo "prefix=$prefix" >> config.mak -@@ -150,8 +142,8 @@ - echo "GCIN_SCRIPT_DIR=\$(datadir_r)/gcin/script" >> config.mak - echo "GCIN_SCRIPT_DIR_i=\$(datadir)/gcin/script" >> config.mak - echo "OPTFLAGS=$OPTFLAGS" >> config.mak --echo "DOC_DIR=\$(datadir_r)/doc/gcin-$GCIN_VERSION" >> config.mak --echo "DOC_DIR_i=\$(datadir)/doc/gcin-$GCIN_VERSION" >> config.mak -+echo "DOC_DIR=\$(datadir_r)/doc/gcin" >> config.mak -+echo "DOC_DIR_i=\$(datadir)/doc/gcin" >> config.mak - echo "GCIN_ICON_DIR=\$(datadir_r)/icons/gcin" >> config.mak - echo "SYS_ICON_DIR=\$(datadir_r)/icons" >> config.mak - echo "GCIN_ICON_DIR_i=\$(datadir)/icons/gcin" >> config.mak diff --git a/chinese/gcin-devel/files/patch-menu b/chinese/gcin-devel/files/patch-menu deleted file mode 100644 index 2acd2a1f3036..000000000000 --- a/chinese/gcin-devel/files/patch-menu +++ /dev/null @@ -1,21 +0,0 @@ ---- menu/Makefile.orig Mon Aug 29 09:40:32 2005 -+++ menu/Makefile Thu Sep 15 11:53:49 2005 -@@ -12,12 +12,12 @@ - install -m 644 $(MENUS) /usr/lib/menu; \ - which update-menus >& /dev/null && update-menus || exit 0; \ - else \ -- install -d $(libdir)/menu; \ -- install -m 644 $(MENUS) $(libdir)/menu; \ -- install -d $(GCIN_SETUP_DESKTOP_rpm); \ -- install -m 644 gcin-setup.desktop $(GCIN_SETUP_DESKTOP_rpm); \ -- install -d $(datadir)/applications; \ -- install -m 644 gcin-setup.desktop $(datadir)/applications; \ -+ install -d $(prefix)/share/applications; \ -+ install -m 644 $(MENUS) $(prefix)/share/applications; \ -+ echo "install Gnome's control center panel ..."; \ -+ install -d $(datadir)/gnome/control-center-2.0/capplets; \ -+ install -m 644 gcin-setup.desktop $(datadir)/gnome/control-center-2.0/capplets; \ -+ echo "installing Other common wm(ie:xfce4)'s menu panel ..."; \ - fi - clean: - rm -f $(MENUS) *~ diff --git a/chinese/gcin-devel/files/patch-script b/chinese/gcin-devel/files/patch-script deleted file mode 100644 index a9f7618064b9..000000000000 --- a/chinese/gcin-devel/files/patch-script +++ /dev/null @@ -1,45 +0,0 @@ -diff -ruN scripts.orig/Makefile scripts/Makefile ---- scripts.orig/Makefile Wed Feb 22 21:35:19 2006 -+++ scripts/Makefile Wed Feb 22 21:36:28 2006 -@@ -1,13 +1,10 @@ - include ../config.mak - --SCRIPTS=gcin-user-setup modify-XIM utf8-edit -+SCRIPTS=gcin-user-setup utf8-edit - - all: $(SCRIPTS) - - install: -- if [ $(prefix) = /usr/local ]; then \ -- sh modify-XIM; \ -- fi - install -d $(GCIN_SCRIPT_DIR_i) - install -m 755 $(SCRIPTS) $(GCIN_SCRIPT_DIR_i) - clean: -diff -ruN scripts.orig/gcin-user-setup scripts/gcin-user-setup ---- scripts.orig/gcin-user-setup Wed Feb 22 21:35:19 2006 -+++ scripts/gcin-user-setup Wed Feb 22 21:36:44 2006 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - if [ -z "$1" -o -z "$2" ]; then - echo "please specify gcin_table_dir gcin_bin_dir" -diff -ruN scripts.orig/utf8-edit scripts/utf8-edit ---- scripts.orig/utf8-edit Wed Feb 22 21:35:19 2006 -+++ scripts/utf8-edit Wed Feb 22 21:37:58 2006 -@@ -1,10 +1,10 @@ --#!/bin/bash -+#!/bin/sh - --PATH=$PATH:/opt/gnome/bin:/usr/local/bin -+PATH=$PATH:/usr/X11R6/bin:/usr/local/bin - --for i in leafpad gedit madedit kedit kate -+for i in leafpad gedit gvim madedit kedit kate - do -- which $i >& /dev/null -+ which $i > /dev/null - if [ $? = 0 ]; then - UTF8ED=$i - break diff --git a/chinese/gcin-devel/pkg-descr b/chinese/gcin-devel/pkg-descr deleted file mode 100644 index a4f4aaff2860..000000000000 --- a/chinese/gcin-devel/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -gcin is a Gtk Chinese INput application in X, well support in Traditional -Chinese(Big5) charsets. - -WWW: http://www.csie.nctu.edu.tw/~cp76/gcin/ diff --git a/chinese/gcin-devel/pkg-message b/chinese/gcin-devel/pkg-message deleted file mode 100644 index ff76b52a96fa..000000000000 --- a/chinese/gcin-devel/pkg-message +++ /dev/null @@ -1,12 +0,0 @@ --------------------------------------------------------------------- -Remember to set environment varible: - - (csh/tcsh) (sh/bash) - setenv XMODIFIERS @im=xcin export XMODIFIERS='@im=xcin' - setenv GTK_IM_MODULE xim export GTK_IM_MODULE=xim - -Finally, to start the GCIN input method daemon, use command: - - exec gcin & - --------------------------------------------------------------------- diff --git a/chinese/gcin-devel/pkg-plist b/chinese/gcin-devel/pkg-plist deleted file mode 100644 index a6fef275f92d..000000000000 --- a/chinese/gcin-devel/pkg-plist +++ /dev/null @@ -1,63 +0,0 @@ -bin/gcin -bin/gcin-setup -bin/gcin2tab -bin/juyin-learn -bin/phoa2d -bin/phod2a -bin/sim2trad -bin/tsa2d -bin/tsd2a -bin/tslearn -include/gcin-im-client.h -lib/gtk-2.0/immodules/im-gcin.so -lib/libgcin-im-client.so -%%DATADIR%%/script/gcin-user-setup -%%DATADIR%%/script/utf8-edit -%%DATADIR%%/table/ar30.gtab -%%DATADIR%%/table/cj-punc.gtab -%%DATADIR%%/table/cj.gtab -%%DATADIR%%/table/cj5.gtab -%%DATADIR%%/table/dayi3.gtab -%%DATADIR%%/table/et-asdf.kbm -%%DATADIR%%/table/et.kbm -%%DATADIR%%/table/et26-asdf.kbm -%%DATADIR%%/table/et26.kbm -%%DATADIR%%/table/greek.gtab -%%DATADIR%%/table/gtab.list -%%DATADIR%%/table/hsu.kbm -%%DATADIR%%/table/ibm.kbm -%%DATADIR%%/table/jyutping.gtab -%%DATADIR%%/table/kana-nippon.gtab -%%DATADIR%%/table/latin-letters.gtab -%%BOSHIAMY%%%%DATADIR%%/table/noseeing.gtab -%%DATADIR%%/table/pho-huge.tab -%%DATADIR%%/table/pho.tab -%%DATADIR%%/table/phrase.table -%%DATADIR%%/table/pinyin.gtab -%%DATADIR%%/table/simplex.gtab -%%DATADIR%%/table/symbol-table -%%DATADIR%%/table/tsin -%%DATADIR%%/table/tsin.idx -%%DATADIR%%/table/zo.kbm -%%DATADIR%%/table/zo-asdf.kbm -%%PORTDOCS%%%%DOCSDIR%%/Changelog -%%PORTDOCS%%%%DOCSDIR%%/README -share/applications/gcin -share/applications/gcin-setup -share/gnome/control-center-2.0/capplets/gcin-setup.desktop -share/icons/gcin.png -share/icons/gcin/pin-fixed24.png -share/icons/gcin/pin-float16.png -%%PORTDOCS%%@dirrmtry %%DOCSDIR%% -@dirrmtry share/icons/gcin -@dirrmtry share/icons -@dirrmtry share/gnome/control-center-2.0/capplets -@dirrmtry share/gnome/control-center-2.0 -@dirrmtry share/gnome -@dirrmtry share/applications -@dirrmtry %%DATADIR%%/table -@dirrmtry %%DATADIR%%/script -@dirrmtry %%DATADIR%% -@dirrmtry lib/gtk-2.0/immodules -@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 |