Import uniutils, a set of Unicode utility programs ok aja
This commit is contained in:
parent
b411ef8947
commit
275e6c25a4
28
misc/uniutils/Makefile
Normal file
28
misc/uniutils/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/12 12:38:28 nicm Exp $
|
||||
|
||||
COMMENT= Unicode utilities
|
||||
|
||||
DISTNAME= uniutils-2.27
|
||||
CATEGORIES= misc
|
||||
|
||||
HOMEPAGE= http://billposer.org/Software/unidesc.html
|
||||
MAINTAINER= Nicholas Marriott <nicm@openbsd.org>
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
MASTER_SITES= http://billposer.org/Software/Downloads/
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-lintl -liconv"
|
||||
|
||||
.include <bsd.port.mk>
|
5
misc/uniutils/distinfo
Normal file
5
misc/uniutils/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (uniutils-2.27.tar.gz) = DyjtinVs0aeSMQ/ZfmWsUg==
|
||||
RMD160 (uniutils-2.27.tar.gz) = J1SAAzJufkDSP6HI8y4VId9K/ZE=
|
||||
SHA1 (uniutils-2.27.tar.gz) = 1M+4PQGdp5VpaHxqiMpLvvO3+2M=
|
||||
SHA256 (uniutils-2.27.tar.gz) = xmKpIVo6Z6rmBRD2eRNdR5292vkPXIWjxbqxyJ2mFZY=
|
||||
SIZE (uniutils-2.27.tar.gz) = 274303
|
20
misc/uniutils/pkg/DESCR
Normal file
20
misc/uniutils/pkg/DESCR
Normal file
@ -0,0 +1,20 @@
|
||||
Uniutils consists of five programs for finding out what is in a Unicode
|
||||
file.
|
||||
|
||||
uniname defaults to printing the character offset of each character, its
|
||||
byte offset, its hex code value, its encoding, the glyph itself, and its
|
||||
name.
|
||||
|
||||
unidesc reports the character ranges to which different portions of the
|
||||
text belong. It can also be used to identify Unicode encodings (e.g.
|
||||
UTF-16be) flagged by magic numbers.
|
||||
|
||||
unihist generates a histogram of the characters in its input, which must
|
||||
be encoded in UTF-8 Unicode.
|
||||
|
||||
ExplicateUTF8 is intended for debugging or for learning about Unicode.
|
||||
It determines and explains the validity of a sequence of bytes as a UTF8
|
||||
encoding.
|
||||
|
||||
unireverse is a filter that reverses UTF-8 strings character-by-
|
||||
character (as opposed to byte-by-byte).
|
13
misc/uniutils/pkg/PLIST
Normal file
13
misc/uniutils/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/12 12:38:28 nicm Exp $
|
||||
@bin bin/ExplicateUTF8
|
||||
@bin bin/unidesc
|
||||
@bin bin/unifuzz
|
||||
@bin bin/unihist
|
||||
@bin bin/uniname
|
||||
@bin bin/unireverse
|
||||
@man man/man1/ExplicateUTF8.1
|
||||
@man man/man1/unidesc.1
|
||||
@man man/man1/unifuzz.1
|
||||
@man man/man1/unihist.1
|
||||
@man man/man1/uniname.1
|
||||
@man man/man1/unireverse.1
|
Loading…
Reference in New Issue
Block a user