diff options
author | morr <morr@pkgsrc.org> | 2010-05-17 22:27:26 +0000 |
---|---|---|
committer | morr <morr@pkgsrc.org> | 2010-05-17 22:27:26 +0000 |
commit | 973ade22331b66353be36d520a453d98c9d25986 (patch) | |
tree | e8c7f26eb28545009779051832763456df08e882 /textproc | |
parent | 805499b32fee77491c75164ea0b6fe3cd9869997 (diff) | |
download | pkgsrc-973ade22331b66353be36d520a453d98c9d25986.tar.gz |
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.
Packaged by bartosz.kuzma, import from pkgsrc-wip.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/uni2ascii/DESCR | 4 | ||||
-rw-r--r-- | textproc/uni2ascii/Makefile | 30 | ||||
-rw-r--r-- | textproc/uni2ascii/PLIST | 5 | ||||
-rw-r--r-- | textproc/uni2ascii/distinfo | 5 |
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/uni2ascii/DESCR b/textproc/uni2ascii/DESCR new file mode 100644 index 00000000000..59b1229cecd --- /dev/null +++ b/textproc/uni2ascii/DESCR @@ -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. diff --git a/textproc/uni2ascii/Makefile b/textproc/uni2ascii/Makefile new file mode 100644 index 00000000000..fd363a33b3f --- /dev/null +++ b/textproc/uni2ascii/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/17 22:27:26 morr 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/uni2ascii.html +COMMENT= Convert between UTF-8 Unicode and 7-bit ASCII equivalents +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +BROKEN_GETTEXT_DETECTION= yes +GNU_CONFIGURE= yes + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + +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" diff --git a/textproc/uni2ascii/PLIST b/textproc/uni2ascii/PLIST new file mode 100644 index 00000000000..f3ba7ef9da2 --- /dev/null +++ b/textproc/uni2ascii/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/17 22:27:26 morr Exp $ +bin/ascii2uni +bin/uni2ascii +man/man1/ascii2uni.1 +man/man1/uni2ascii.1 diff --git a/textproc/uni2ascii/distinfo b/textproc/uni2ascii/distinfo new file mode 100644 index 00000000000..00d4a7e5b44 --- /dev/null +++ b/textproc/uni2ascii/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/17 22:27:26 morr Exp $ + +SHA1 (uni2ascii-4.14.tar.bz2) = efe31a88499544f60a19994556e6bdea0e0f95be +RMD160 (uni2ascii-4.14.tar.bz2) = fdd9cdd79c05d82ddfece91c384852aea5f79f0b +Size (uni2ascii-4.14.tar.bz2) = 120087 bytes |