uni2ascii and ascii2uni convert between UTF-8 Unicode and any of a

variety of 7-bit ASCII equivalents including: hexadecimal and decimal
HTML numeric characters references, \u-escapes, standard hexadecimal
and raw hexadecimal.
This commit is contained in:
Bartosz Kuzma 2010-01-30 20:47:39 +00:00 committed by Thomas Klausner
parent 6be991f15f
commit 69b61179a3
5 changed files with 43 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3782 2010/01/30 10:05:34 jihbed Exp $
# $Id: Makefile,v 1.3783 2010/01/30 20:47:39 bartoszkuzma Exp $
#
COMMENT= WIP pkgsrc packages
@ -2301,6 +2301,7 @@ SUBDIR+= uebimiau
SUBDIR+= uffizi
SUBDIR+= umefont-ttf
SUBDIR+= umix
SUBDIR+= uni2ascii
SUBDIR+= unix2tcp
SUBDIR+= unmo3
SUBDIR+= unrealtournament-server

4
uni2ascii/DESCR Normal file
View file

@ -0,0 +1,4 @@
uni2ascii and ascii2uni convert between UTF-8 Unicode and any of a
variety of 7-bit ASCII equivalents including: hexadecimal and decimal
HTML numeric characters references, \u-escapes, standard hexadecimal
and raw hexadecimal.

27
uni2ascii/Makefile Normal file
View file

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1 2010/01/30 20:47:40 bartoszkuzma Exp $
#
DISTNAME= uni2ascii-4.14
CATEGORIES= textproc
MASTER_SITES= http://billposer.org/Software/Downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://billposer.org/Software/Downloads/
COMMENT= Convert between UTF-8 Unicode and 7-bit ASCII equivalents
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ascii2uni ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/uni2ascii ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ascii2uni.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/uni2ascii.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

5
uni2ascii/PLIST Normal file
View file

@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2010/01/30 20:47:40 bartoszkuzma Exp $
bin/ascii2uni
bin/uni2ascii
man/man1/ascii2uni.1
man/man1/uni2ascii.1

5
uni2ascii/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2010/01/30 20:47:40 bartoszkuzma Exp $
SHA1 (uni2ascii-4.14.tar.bz2) = efe31a88499544f60a19994556e6bdea0e0f95be
RMD160 (uni2ascii-4.14.tar.bz2) = fdd9cdd79c05d82ddfece91c384852aea5f79f0b
Size (uni2ascii-4.14.tar.bz2) = 120087 bytes