Date: Fri, 22 Feb 2002 01:59:36 -0800 (PST) From: Alexander Trapeznikov <infoteacher@ipform.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/35205: New port: russian/mtc - Multifile text Encoding Converter Message-ID: <200202220959.g1M9xa418512@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35205 >Category: ports >Synopsis: New port: russian/mtc - Multifile text Encoding Converter >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 22 02:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alexander Trapeznikov >Release: FreeBSD 4.5-STABLE >Organization: IP Form Ltd. >Environment: FreeBSD wp4.ipform.ru 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Feb 20 16:05:03 MSK 2002 root@wp4.ipform.ru:/usr/obj/usr/src/sys/THIS i386 >Description: New port: russian/mtc - Multifile text Encoding Converter # 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: # # mtc # mtc/Makefile # mtc/distinfo # mtc/pkg-descr # mtc/pkg-plist # mtc/pkg-comment # echo c - mtc mkdir -p mtc > /dev/null 2>&1 echo x - mtc/Makefile sed 's/^X//' >mtc/Makefile << 'END-of-mtc/Makefile' X# New ports collection makefile for: mtc X# Date created: 13 Nov 2001 X# Whom: Artem Koutchine <matrix@ipform.ru>, Alexander Trapeznikov <infoteacher@ipform.ru> X# X# $FreeBSD$ X# X# This port is self contained in the src directory. X# X XPORTNAME= mtc XPORTVERSION= 1.3 XCATEGORIES= russian XMASTER_SITES= http://www.ipform.ru/files/ X XMAINTAINER= infoteacher@ipform.ru X XMAN7= mtc.7 XMANCOMPRESSED= yes XNO_BUILD= yes X Xdo-install: X $(CP) ${WRKSRC}/mtc.7 ${WRKSRC}/mtc.7.man X ${GZIP_CMD} ${WRKSRC}/mtc.7 X $(MV) ${WRKSRC}/mtc.7.man ${WRKSRC}/mtc.7 X ${INSTALL_MAN} ${WRKSRC}/mtc.7.gz ${PREFIX}/man/man7 X $(RM) ${WRKSRC}/mtc.7.gz X ${INSTALL_SCRIPT} ${WRKSRC}/mtc ${PREFIX}/bin/mtc X ${INSTALL_SCRIPT} ${WRKSRC}/wee ${PREFIX}/bin/wee X ${INSTALL_DATA} ${WRKSRC}/koi8 ${PREFIX}/etc/koi8 X ${INSTALL_DATA} ${WRKSRC}/win1251 ${PREFIX}/etc/win1251 X ${INSTALL_DATA} ${WRKSRC}/dos866 ${PREFIX}/etc/dos866 X X.include <bsd.port.mk> END-of-mtc/Makefile echo x - mtc/distinfo sed 's/^X//' >mtc/distinfo << 'END-of-mtc/distinfo' XMD5 (mtc-1.3.tar.gz) = 232c509b67857a1d4d5b7a14b70594b8 END-of-mtc/distinfo echo x - mtc/pkg-descr sed 's/^X//' >mtc/pkg-descr << 'END-of-mtc/pkg-descr' XMultifile Text encoding Converter 1.3 X XConverts text from one codepage to another Xusing codepage definition files. X XUsefull in case of languages where a number Xof codepages exists and chars are encoded Xin one byte (Russian for example). X XComes with win1251/koi8/dos866 codepages. X XExamples: X mtc -f koi8 -t dos866 doc2print.txt X cat doc2print | mtc --from win1251 --to dos866 --silent | lpr -Psmb X mtc --from win1251 --to koi8 -s *.html *.ht *.js X mtc -f koi8 -t win1251 > z X Xftp: ftp://ftp.ipform.ru/pub/ipform/software/ X Xemail: info@ipform.ru END-of-mtc/pkg-descr echo x - mtc/pkg-plist sed 's/^X//' >mtc/pkg-plist << 'END-of-mtc/pkg-plist' Xbin/mtc Xbin/wee Xetc/koi8 Xetc/win1251 Xetc/dos866 END-of-mtc/pkg-plist echo x - mtc/pkg-comment sed 's/^X//' >mtc/pkg-comment << 'END-of-mtc/pkg-comment' XMultifile text Encoding Converter 1.3 END-of-mtc/pkg-comment exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202220959.g1M9xa418512>