Bug 35205 - New port: russian/mtc - Multifile text Encoding Converter
Summary: New port: russian/mtc - Multifile text Encoding Converter
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-22 10:00 UTC by Alexander Trapeznikov
Modified: 2002-09-18 04:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Trapeznikov 2002-02-22 10:00:01 UTC
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
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-18 04:46:15 UTC
State Changed
From-To: open->closed

committed, thanks