Bug 90921

Summary: New port: russian/rux The best cyrillic text viewer and it's code page converter
Product: Ports & Packages Reporter: Vyacheslav Anikin <ghos>
Component: Individual Port(s)Assignee: Andrey Slusar <anray>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
rux-0.73.tbz none

Description Vyacheslav Anikin 2005-12-26 11:40:03 UTC
There is bad description because the best description is source code!

This cool program makes russian users' life easy.
The rux is a simple and at the same time powerful utility for texts
recoding from one encoding to another. At present time several the most
popular Cyrillic code pages such as koi8-r, cp866, cp1251, iso8859-5 and
mac-cyrillic are supported. Also rux gives the opportunity to recode box-
drawing characters, which exists in some Cyrillic code pages, to replace
them by their non-graphic analogues ('-', '+', etc.).

Besides, the rux can detect a code page of the input files automatically.

Usually rux is used without any options because some values are accepted
by default. There are -o koi8-r, -e, -t, -s 10240.

The expectancy value of the presence of every Cyrillic characters in the
some text were taken from the dump of Russian translation of the `FreeBSD
Handbook'.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-12-26 11:49:52 UTC
Class Changed
From-To: sw-bug->change-request

Fix category (new ports should be change-requests)
Comment 2 Andrey Slusar freebsd_committer freebsd_triage 2005-12-26 12:16:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anray

I'll take it.
Comment 3 Andrey Slusar freebsd_committer freebsd_triage 2005-12-26 13:48:50 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 4 Vyacheslav Anikin 2005-12-26 14:13:56 UTC
# 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:
#
#	rux
#	rux/Makefile
#	rux/pkg-descr
#	rux/pkg-plist
#	rux/distinfo
#
echo c - rux
mkdir -p rux > /dev/null 2>&1
echo x - rux/pkg-descr
sed 's/^X//' >rux/pkg-descr << 'END-of-rux/pkg-descr'
XThe rux is a simple and at the same time powerful utility for texts
Xrecoding from one encoding to another. At present time several the most
Xpopular Cyrillic code pages such as koi8-r, cp866, cp1251, iso8859-5 and
Xmac-cyrillic are supported. Also rux gives the opportunity to recode box-
Xdrawing characters, which exists in some Cyrillic code pages, to replace
Xthem by their non-graphic analogues ('-', '+', etc.).
X
XBesides, the rux can detect a code page of the input files automatically.
X
XUsually rux is used without any options because some values are accepted
Xby default. There are -o koi8-r, -e, -t, -s 10240.
X
XThe expectancy value of the presence of every Cyrillic characters in the
Xsome text were taken from the dump of Russian translation of the `FreeBSD
XHandbook'.
X
X- Vyacheslav Anikin (ghos)
Xghos@mail.ru
END-of-rux/pkg-descr
echo x - rux/Makefile
sed 's/^X//' >rux/Makefile << 'END-of-rux/Makefile'
X# New ports collection makefile for:	rux
X# Date created:		25 December 2005
X# Whom:			ghos
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rux
XPORTVERSION=	0.73
XCATEGORIES=	russian
XMASTER_SITES=	http://asdf2087.narod.ru/
XPKGNAMEPREFIX=	ru-
X
XMAINTAINER=	ghos@mail.ru
X
XCOMMENT=The best cyrillic text viewer and its code page converter
XWRKSRC=		${WRKDIR}
X
XMAN1=		rux.1
XMANLANG=	"" ru.KOI8-R
XMANCOMPRESSED=	maybe
X
X.include <bsd.port.mk>
END-of-rux/Makefile
echo x - rux/pkg-plist
sed 's/^X//' >rux/pkg-plist << 'END-of-rux/pkg-plist'
Xbin/rux
END-of-rux/pkg-plist
echo x - rux/distinfo
sed 's/^X//' >rux/distinfo << 'END-of-rux/distinfo'
XMD5 (rux-0.73.tar.gz) = 4ac6590890fda2b79a470eecf1cabe36
XSHA-1 (rux-0.73.tar.gz) = bc0f814ec37fd8824e79a3a77437df706e5e7c64
XSIZE (rux-0.73.tar.gz) = 8584
END-of-rux/distinfo
exit