Date: Tue, 30 Nov 2004 17:41:35 +0300 (MSK) From: "Eugene M. Minkovskii" <emin@mccme.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/74553: New port for russian cathegory (/usr/ports/russian) Message-ID: <200411301441.iAUEfZR7021984@house.hcn-strela.ru> Resent-Message-ID: <200411301440.iAUEeQ5H066727@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74553 >Category: ports >Synopsis: New port for russian cathegory (/usr/ports/russian) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 14:40:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Eugene M. Minkovskii >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD house.hcn-strela.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Sat Oct 30 19:07:46 MSD 2004 root@emin.hcn-strela.ru:/usr/src/sys/i386/compile/HOME_KERNEL i386 >Description: Mueller English-Russian Dictionary and Supporting Software for Dictionary Management under UNIX WWW: http://www.geocities.com/mueller_dic/ http://mueller-dic.chat.ru/ Eugene M. Minkovskii emin@mccme.ru >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/russian/mova # /usr/ports/russian/mova/files # /usr/ports/russian/mova/files/patch-00 # /usr/ports/russian/mova/scripts # /usr/ports/russian/mova/scripts/configure # /usr/ports/russian/mova/pkg-plist # /usr/ports/russian/mova/pkg-descr # /usr/ports/russian/mova/Makefile # /usr/ports/russian/mova/pkg-message # /usr/ports/russian/mova/distinfo # echo c - /usr/ports/russian/mova mkdir -p /usr/ports/russian/mova > /dev/null 2>&1 echo c - /usr/ports/russian/mova/files mkdir -p /usr/ports/russian/mova/files > /dev/null 2>&1 echo x - /usr/ports/russian/mova/files/patch-00 sed 's/^X//' >/usr/ports/russian/mova/files/patch-00 << 'END-of-/usr/ports/russian/mova/files/patch-00' X*** usr/local/bin/mova.orig Tue Nov 23 16:58:05 2004 X--- usr/local/bin/mova Tue Nov 23 16:58:21 2004 X*************** X*** 1,4 **** X! #!/bin/bash X case $# in X 0) echo "\"mova\" is a bash script to search for a word, or a collocation, or the tandem of symbols in a dictionary. X ver. 4.0, (C) E.S.Cymbalyuk 1999. Under GNU GPL. No Warranty. X--- 1,4 ---- X! #!/bin/sh X case $# in X 0) echo "\"mova\" is a bash script to search for a word, or a collocation, or the tandem of symbols in a dictionary. X ver. 4.0, (C) E.S.Cymbalyuk 1999. Under GNU GPL. No Warranty. END-of-/usr/ports/russian/mova/files/patch-00 echo c - /usr/ports/russian/mova/scripts mkdir -p /usr/ports/russian/mova/scripts > /dev/null 2>&1 echo x - /usr/ports/russian/mova/scripts/configure sed 's/^X//' >/usr/ports/russian/mova/scripts/configure << 'END-of-/usr/ports/russian/mova/scripts/configure' X#!/bin/sh X Xif [ "${PREFIX}" != "/usr/local" ] Xthen ## patch PREFIX ... X ## ... in pkg-message X sed "s+[^ ]*\(/share/mova/\)+${PREFIX}\1+" pkg-message > pkg-message~ X mv pkg-message~ pkg-message X ## ... in rc files X for i in _Mueller24.koi _Mueller7accentGPL.koi _Mueller7GPL.koi "" X do X cp ${WRKSRC}/usr/local/share/mova/.movarc${i} \ X ${WRKSRC}/usr/local/share/mova/.movarc${i}.orig X sed "6s+.*+${PREFIX}/+" ${WRKSRC}/usr/local/share/mova/.movarc${i}.orig > \ X ${WRKSRC}/usr/local/share/mova/.movarc${i} X done Xfi X X# Detect latest wish on the mashine XWISH=$(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | \ X egrep '^wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$' | \ X sort | tail -n1) X Xif [ -z "$WISH" ] Xthen WISH="wish$DEFAULTTK" Xfi X Xfor i in ${WRKSRC}/usr/local/bin/mova*TK Xdo X cp $i $i.orig X sed "s/wish/$WISH/" $i.orig > $i Xdone END-of-/usr/ports/russian/mova/scripts/configure echo x - /usr/ports/russian/mova/pkg-plist sed 's/^X//' >/usr/ports/russian/mova/pkg-plist << 'END-of-/usr/ports/russian/mova/pkg-plist' Xbin/mova Xshare/nls/POSIX Xshare/nls/en_US.US-ASCII Xshare/dict/Mueller24.koi Xshare/dict/Mueller24.koi.hash Xshare/dict/Mueller7GPL.koi Xshare/dict/Mueller7GPL.koi.hash Xshare/dict/Mueller7accentGPL.koi Xshare/dict/Mueller7accentGPL.koi.hash Xshare/mova/.movarc Xshare/mova/.movarc_Mueller24.koi Xshare/mova/.movarc_Mueller7GPL.koi Xshare/mova/.movarc_Mueller7accentGPL.koi Xshare/mova/GPL_License Xshare/mova/Mueller24.txt Xshare/mova/Mueller24_koi.txt Xshare/mova/Mueller7.txt Xshare/mova/Mueller7_koi.txt Xshare/mova/Readme_mova.txt Xshare/mova/Readme_mova_koi.txt Xshare/mova/Usage_koi.txt X%%WITHX11%%@cwd %%X11BASE%% X%%WITHX11%%lib/fonts/sil_ipa/Fontmap X%%WITHX11%%lib/fonts/sil_ipa/fonts.dir X%%WITHX11%%lib/fonts/sil_ipa/fonts.scale X%%WITHX11%%lib/fonts/sil_ipa/ipachars.rtf X%%WITHX11%%lib/fonts/sil_ipa/order.txt X%%WITHX11%%lib/fonts/sil_ipa/packing.lst X%%WITHX11%%lib/fonts/sil_ipa/readme.txt X%%WITHX11%%lib/fonts/sil_ipa/response.txt X%%WITHX11%%lib/fonts/sil_ipa/sildipa_.pfb X%%WITHX11%%lib/fonts/sil_ipa/silmipa_.pfb X%%WITHX11%%lib/fonts/sil_ipa/silsipa_.pfb X%%WITHX11%%@cwd %%PREFIX%% X%%WITHX11%%bin/movaTK X%%WITHX11%%bin/movaMTK X%%WITHX11%%bin/mova_sendTK X%%WITHX11%%share/mova/icons/mova_22x15.xpm X%%WITHX11%%share/mova/icons/mova_22x22.xpm X%%WITHX11%%share/mova/icons/mova_32x22.xpm X%%WITHX11%%share/mova/icons/mova_32x32.xpm X%%WITHX11%%share/mova/icons/mova_48x32.xpm X%%WITHX11%%share/mova/icons/mova_48x48.xpm X%%WITHX11%%@dirrm share/mova/icons X@dirrm share/mova X@dirrm share/dict X%%WITHX11%%@cwd %%X11BASE%% X%%WITHX11%%@dirrm lib/fonts/sil_ipa END-of-/usr/ports/russian/mova/pkg-plist echo x - /usr/ports/russian/mova/pkg-descr sed 's/^X//' >/usr/ports/russian/mova/pkg-descr << 'END-of-/usr/ports/russian/mova/pkg-descr' XMueller English-Russian Dictionary and Supporting Software for Dictionary XManagement under UNIX X XWWW: http://www.geocities.com/mueller_dic/ X http://mueller-dic.chat.ru/ X XEugene M. Minkovskii Xemin@mccme.ru END-of-/usr/ports/russian/mova/pkg-descr echo x - /usr/ports/russian/mova/Makefile sed 's/^X//' >/usr/ports/russian/mova/Makefile << 'END-of-/usr/ports/russian/mova/Makefile' X# New ports collection makefile for: mova X# Date created: 5 December 1994 X# Whom: Eugene M. Minkovskii <emin@mccme.ru> X# X# $FreeBSD$ X# X XPORTNAME= mova XPORTVERSION= 4.0 XCATEGORIES= russian XMASTER_SITES= http://mueller-dic.chat.ru/ \ X http://www.geocities.com/mueller_dic/ XDISTNAME= ${PORTNAME} XDISTFILES= script_mova.tgz \ X Mueller7GPL.tgz \ X Mueller7accentGPL.tgz \ X Mueller24.tgz XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= emin@mccme.ru XCOMMENT= Mueller English-Russian Dictionary X X# mova can run with TK 8.0 -- 8.4 X.if !defined(WITHOUT_X11) XRUN_DEPENDS= wish:${PORTSDIR}/x11-toolkits/tk84 X.endif X XSCRIPTS_ENV+= DEFAULTTK="8.4" X XWRKSRC= ${WRKDIR} XNO_BUILD= yes X XFONTSDIR= ${X11BASE}/lib/fonts/sil_ipa X X.if defined(WITHOUT_X11) XPLIST_SUB+= WITHX11="@comment " XSCRIPTS_ENV+= X11="no" X.else XPLIST_SUB+= WITHX11="" XPLIST_SUB+= PREFIX=${PREFIX} XPLIST_SUB+= X11BASE=${X11BASE} XSCRIPTS_ENV+= X11BASE=${X11BASE} XSCRIPTS_ENV+= X11="yes" X.endif X X.if !defined(WITHOUT_X11) Xpre-everything:: X @ ${ECHO} "*** If you don't need GUI TK interface, you can" X @ ${ECHO} "*** set variable WITHOUT_X11=yes" X @ sleep 5s X.endif X Xdo-install: X# copy patched script, dictionarys, rc files, documentations X @ ${INSTALL} -o root -g wheel -m 555 ${WRKSRC}/usr/local/bin/mova ${PREFIX}/bin/ X @ ${INSTALL} -o root -g wheel -m 555 -d ${PREFIX}/share/dict X @ ${INSTALL} -o root -g wheel -m 444 \ X ${WRKSRC}/usr/local/share/dict/Mueller* ${PREFIX}/share/dict X @ ${INSTALL} -o root -g wheel -m 555 -d ${PREFIX}/share/mova X @ ${INSTALL} -o root -g wheel -m 444 \ X ${WRKSRC}/usr/local/share/mova/.movarc \ X ${WRKSRC}/usr/local/share/mova/.movarc_Mueller24.koi \ X ${WRKSRC}/usr/local/share/mova/.movarc_Mueller7GPL.koi \ X ${WRKSRC}/usr/local/share/mova/.movarc_Mueller7accentGPL.koi \ X ${WRKSRC}/usr/local/share/mova/GPL_License \ X ${WRKSRC}/usr/local/share/mova/Mueller24.txt \ X ${WRKSRC}/usr/local/share/mova/Mueller24_koi.txt \ X ${WRKSRC}/usr/local/share/mova/Mueller7.txt \ X ${WRKSRC}/usr/local/share/mova/Mueller7_koi.txt \ X ${WRKSRC}/usr/local/share/mova/Readme_mova.txt \ X ${WRKSRC}/usr/local/share/mova/Readme_mova_koi.txt \ X ${WRKSRC}/usr/local/share/mova/Usage_koi.txt ${PREFIX}/share/mova X.if !defined(WITHOUT_X11) X# copy TK scripts, icons and fonts X @ ${INSTALL} -o root -g wheel -m 555 ${WRKSRC}/usr/local/bin/mova*TK ${PREFIX}/bin/ X @ ${INSTALL} -o root -g wheel -m 555 -d ${PREFIX}/share/mova/icons X @ ${INSTALL} -o root -g wheel -m 444 \ X ${WRKSRC}/usr/local/share/mova/icons/* ${PREFIX}/share/mova/icons X @ ${INSTALL} -o root -g wheel -m 555 -d ${FONTSDIR} X @ ${INSTALL} -o root -g wheel -m 444 \ X ${WRKSRC}/usr/X11R6/lib/fonts/sil_ipa/* ${FONTSDIR} X.endif X Xpost-install: X @ ${CAT} pkg-message X X# vim:ts=8:noet X X.include <bsd.port.mk> END-of-/usr/ports/russian/mova/Makefile echo x - /usr/ports/russian/mova/pkg-message sed 's/^X//' >/usr/ports/russian/mova/pkg-message << 'END-of-/usr/ports/russian/mova/pkg-message' XSee documentation in X X/usr/local/share/mova/ X XReadme_mova.txt - in english XReadme_mova_koi.txt - in russian X XThis dictionarys distributed under GPL, except Mueller24 X(see /usr/local/share/mova/Mueller24.txt for details). X X XAfter installation, please do following manualy: Xopen yuor XF86Config file (or XF86Config-4) Xthis file can be located for example in /etc/X11, Xor /usr/X11R6/etc/X11/, find section "Files" Xand add to it following string: X X FontPath "/usr/X11R6/lib/fonts/sil_ipa" END-of-/usr/ports/russian/mova/pkg-message echo x - /usr/ports/russian/mova/distinfo sed 's/^X//' >/usr/ports/russian/mova/distinfo << 'END-of-/usr/ports/russian/mova/distinfo' XMD5 (mova/script_mova.tgz) = 92b9fcd585e85aaa7dcd4fd9ec22d5b5 XSIZE (mova/script_mova.tgz) = 139702 XMD5 (mova/Mueller7GPL.tgz) = 0b3cd75e916f078b2caa4f2dc59508e4 XSIZE (mova/Mueller7GPL.tgz) = 2386052 XMD5 (mova/Mueller7accentGPL.tgz) = b882581e130ffa0ea3baea5eeea484a2 XSIZE (mova/Mueller7accentGPL.tgz) = 2475132 XMD5 (mova/Mueller24.tgz) = 386d71c149f3f793d3ff064fd4b16c65 XSIZE (mova/Mueller24.tgz) = 2788227 END-of-/usr/ports/russian/mova/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411301441.iAUEfZR7021984>