|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
kxterm most recent diffversion 5.0pl3
Scroll down toward the bottom of the page to get installation instructions for kxterm. The raw portfile for kxterm 5.0pl3 is located here: http://kxterm.darwinports.com/dports/x11/kxterm/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/kxterm The kxterm Portfile 57382 2009-09-10 09:42:07Z ryandesign PortSystem 1.0 Name: kxterm Version: 5.0pl3 Revision: 1 Category: x11 chinese Maintainers: nomaintainer Description: Chinese-capable xterm with dictionary-lookup capability Long Description: kxterm is an extension of cxterm, where cxterm is a terminal emulator for X11, just like xterm, but with the capability of displaying and inputting Chinese. kxterms enhancement is that, while reading Chinese text, each time you see a character you do not know, click on it with the left mouse button. Pronunciations in Cantonese (Sidney Lau system), then Mandarin (standard pinyin), as well as an approximate English translation, for the character will then appear at the bottom of the kxterm screen. If this character, along with neighboring characters, forms a character-compound found in Compound.b5, this compound will be displayed as well. Platform: darwin Homepage: http://heather.cs.ucdavis.edu/~matloff/Chinese/KX/Index.html Master Sites: http://heather.cs.ucdavis.edu/~matloff/Chinese/KX/Packages/ distname KXTerm worksrcdir cxterm-5.0 Checksums: md5 ece6a83c1fe1c3451e3667f51c77b2ec universal_variant no use_xmkmf yes Patch Files: patch-cxterm_misc.c.diff patch-CXterm.ad.diff configure { system "cd ${worksrcpath} && xmkmf" } build.target -f Makefile.ini World destroot.args DOCHTMLDIR="${prefix}/share/doc/${name}" MANPATH="${prefix}/share/man" DICTDIR="${prefix}/share/${name}" FONTINSTDIR="${prefix}/share/${name}/fonts" INSTALLFLAGS="-c" INSTUIDFLAGS="" post-destroot { # Move executables to proper MP location xinstall -m 755 -d ${destroot}${prefix}/bin eval file rename [glob ${destroot}/usr/X11R6/bin/*] ${destroot}${prefix}/bin # Docs xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} README.kxterm ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/cxterm SampleText.b5 SampleText.gb ${destroot}${prefix}/share/doc/${name} eval file copy [glob ${worksrcpath}/Doc/*] ${destroot}${prefix}/share/doc/${name} # Fix doc file and dir perms system "find ${destroot}${prefix}/share/doc/${name} -type f -print0 | xargs -0 chmod +r" system "find ${destroot}${prefix}/share/doc/${name} -type d -print0 | xargs -0 chmod +rx" # MP-specific readme xinstall -m 644 -W ${filespath} MacPorts_ReadMe.txt ${destroot}${prefix}/share/doc/${name} reinplace "s| reinplace "s| # X resource file xinstall -m 644 -W ${worksrcpath} CXterm.ad ${destroot}${prefix}/share/${name} reinplace "s|cxterm-5.0/dict|${prefix}/share/${name}|g" ${destroot}${prefix}/share/${name}/CXterm.ad # Files not installed via make xinstall -m 644 -W ${worksrcpath}/cxterm CanMan.b5 Compound.b5 ${destroot}${prefix}/share/${name}/big5 xinstall -m 644 -W ${worksrcpath}/cxterm CanMan.gb Compound.gb ${destroot}${prefix}/share/${name}/gb # Convenience link for big5 usage system "ln -s ${prefix}/bin/cxterm ${destroot}${prefix}/bin/cxtermb5" # Wrapper script (install as CXterm.sh since CXterm would interfere # with cxterm on certain filesystems xinstall -m 755 -W ${filespath} CXterm.sh.head ${destroot}${prefix}/bin/CXterm.sh reinplace "s| system "cat ${worksrcpath}/scripts/CXterm.sh >> ${destroot}${prefix}/bin/CXterm.sh" } post-install { ui_msg "Three lines need to be added to your .xinitrc file (and to others" ui_msg "who wish to use kxterm):" ui_msg "" ui_msg "xrdb -merge ${prefix}/share/${name}/CXterm.ad" ui_msg "xset fp+ ${prefix}/share/${name}/fonts" ui_msg "xset fp rehash" ui_msg "" ui_msg "Be sure to have a look at " ui_msg "${prefix}/share/doc/${name}/README if the basic configuration" ui_msg "as set by the MacPorts install does not do enough for you" ui_msg "(cxterm and cxtermb5 are both installed, for GB and Big5 use," ui_msg "respectively)." ui_msg "${prefix}/share/doc/${name}/MacPorts_ReadMe.txt also" ui_msg "contains this information." } platform darwin { patchfiles-append patch-cxterm_Imakefile.diff } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/kxtermYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using kxterm with these commands: % man kxterm Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




