Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 15:53:51 +0400 (MSD)
From:      infoteacher@ipform.ru
To:        ports@freebsd.org
Cc:        infoteacher@ipform.ru
Subject:   New port: russian/mtc - Multifile text Encoding Converter
Message-ID:  <200204101153.g3ABrpQ90504@osiris.ipform.ru>

next in thread | raw e-mail | index | archive | help

>Category:ports
>Synopsis: New port: russian/mtc - Multifile text Encoding Converter
>Class:change-request
>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


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?200204101153.g3ABrpQ90504>