diff options
author | steve <steve@FreeBSD.org> | 1999-04-21 04:27:36 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-04-21 04:27:36 +0800 |
commit | f7ef4bf63faef9a4dcebd5fc4911843f91baf83f (patch) | |
tree | 387868d6e9acc0471b88e0984add8b4d8e4982e8 /converters | |
parent | d46920e8c3e97ede4143cd562ce5363b0eae75c8 (diff) | |
download | freebsd-ports-gnome-f7ef4bf63faef9a4dcebd5fc4911843f91baf83f.tar.gz freebsd-ports-gnome-f7ef4bf63faef9a4dcebd5fc4911843f91baf83f.tar.zst freebsd-ports-gnome-f7ef4bf63faef9a4dcebd5fc4911843f91baf83f.zip |
Initial import of i18ntools version 1.0.
Tools for the conversion to and from UTF-8 Unicode encoding.
PR: 11198
Submitted by: G. Adam Stanislav <adam@whizkidtech.net>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/i18ntools/Makefile | 73 | ||||
-rw-r--r-- | converters/i18ntools/distinfo | 1 | ||||
-rw-r--r-- | converters/i18ntools/pkg-comment | 1 | ||||
-rw-r--r-- | converters/i18ntools/pkg-descr | 24 | ||||
-rw-r--r-- | converters/i18ntools/pkg-plist | 179 |
5 files changed, 278 insertions, 0 deletions
diff --git a/converters/i18ntools/Makefile b/converters/i18ntools/Makefile new file mode 100644 index 000000000000..e8bce3dfe431 --- /dev/null +++ b/converters/i18ntools/Makefile @@ -0,0 +1,73 @@ +# New ports collection makefile for: i18ntools +# Version required: 1.0 +# Date created: 17 April 1999 +# Whom: G. Adam Stanislav +# +# $Id$ +# + +DISTNAME= i18ntools-1.0 +CATEGORIES= converters +MASTER_SITES= ftp://ftp.whizkidtech.net/unix/ \ + http://www.whizkidtech.net/fports/ + +MAINTAINER= adam@whizkidtech.net + +LIB_DEPENDS= utf-8:${PORTSDIR}/converters/libutf-8 +RUN_DEPENDS= tuc:${PORTSDIR}/textproc/tuc + +BINARIES= hutrans mbm ptrans uhtrans utrans +CHARMAPS= ANSI_X3.110-1983 ANSI_X3.4-1968 ASMO_449 BALTIC BS_4730 \ + BS_VIEWDATA CP1250 CP1251 CP1252 CP1253 CP1254 CP1255 CP1256 \ + CP1257 CSA_Z243.4-1985-1 CSA_Z243.4-1985-2 CSA_Z243.4-1985-GR \ + CSN_369103 CWI DEC-MCS DIN_66003 DS_2089 EBCDIC-AT-DE \ + EBCDIC-AT-DE-A EBCDIC-CA-FR EBCDIC-DK-NO EBCDIC-DK-NO-A \ + EBCDIC-ES EBCDIC-ES-A EBCDIC-ES-S EBCDIC-FI-SE EBCDIC-FI-SE-A \ + EBCDIC-FR EBCDIC-IS-FRISS EBCDIC-IT EBCDIC-PT EBCDIC-UK \ + EBCDIC-US ECMA-CYRILLIC ES ES2 GB_1988-80 GOST_19768-74 \ + GREEK-CCITT GREEK7 GREEK7-OLD HP-ROMAN8 IBM037 IBM038 IBM1004 \ + IBM1026 IBM1047 IBM256 IBM273 IBM274 IBM275 IBM277 IBM278 \ + IBM280 IBM281 IBM284 IBM285 IBM290 IBM297 IBM420 IBM423 IBM424 \ + IBM437 IBM500 IBM850 IBM851 IBM852 IBM855 IBM857 IBM860 IBM861 \ + IBM862 IBM863 IBM864 IBM865 IBM868 IBM869 IBM870 IBM871 IBM875 \ + IBM880 IBM891 IBM903 IBM904 IBM905 IBM918 IEC_P27-1 INIS \ + INIS-8 INIS-CYRILLIC INVARIANT ISO-8859-1 ISO-8859-10 \ + ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 \ + ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-IR-90 ISO_10367-BOX \ + ISO_2033-1983 ISO_5427 ISO_5427-EXT ISO_5428 ISO_646.BASIC \ + ISO_646.IRV ISO_6937 ISO_6937-2-25 ISO_6937-2-ADD \ + ISO_8859-1,GL ISO_8859-SUPP IT JIS_C6220-1969-JP \ + JIS_C6220-1969-RO JIS_C6229-1984-A JIS_C6229-1984-B \ + JIS_C6229-1984-B-ADD JIS_C6229-1984-HAND \ + JIS_C6229-1984-HAND-ADD JIS_C6229-1984-KANA JIS_X0201 \ + JUS_I.B1.002 JUS_I.B1.003-MAC JUS_I.B1.003-SERB KOI-8 KOI8-R \ + KSC5636 LATIN-GREEK LATIN-GREEK-1 MAC-IS MACINTOSH MSZ_7795.3 \ + NATS-DANO NATS-DANO-ADD NATS-SEFI NATS-SEFI-ADD NC_NC00-10 \ + NEXTSTEP NF_Z_62-010 NF_Z_62-010-1973 NS_4551-1 NS_4551-2 PT \ + PT2 SAMI SEN_850200_B SEN_850200_C T.101-G2 T.61-7BIT \ + T.61-8BIT VIDEOTEX-SUPPL +DOCFILES= fgetu8.html fputu8.html index.html libutf-8.html rfc1641.txt \ + rfc2277.txt rfc2279.txt sgetu8.html sputu8.html utrans.html +MAN1= hutrans.1 ptrans.1 utrans.1 uhtrans.1 + +do-install: +.for f in ${BINARIES} + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin +.endfor +.for f in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man1 +.endfor + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/i18n/tools +.for f in ${DOCFILES} + ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/share/doc/i18n/tools +.endfor +.endif + ${MKDIR} ${PREFIX}/share/i18n/charmaps/binary +.for f in ${CHARMAPS} + ${INSTALL_DATA} ${WRKSRC}/charmaps/${f} ${PREFIX}/share/i18n/charmaps/binary +.endfor + +.include <bsd.port.mk> diff --git a/converters/i18ntools/distinfo b/converters/i18ntools/distinfo new file mode 100644 index 000000000000..8bca78e6281e --- /dev/null +++ b/converters/i18ntools/distinfo @@ -0,0 +1 @@ +MD5 (i18ntools-1.0.tar.gz) = 55c1a5063b4fffc1e301ccccf3830960 diff --git a/converters/i18ntools/pkg-comment b/converters/i18ntools/pkg-comment new file mode 100644 index 000000000000..c40939688f69 --- /dev/null +++ b/converters/i18ntools/pkg-comment @@ -0,0 +1 @@ +Tools for the conversion to and from UTF-8 Unicode encoding diff --git a/converters/i18ntools/pkg-descr b/converters/i18ntools/pkg-descr new file mode 100644 index 000000000000..f0497a38bf81 --- /dev/null +++ b/converters/i18ntools/pkg-descr @@ -0,0 +1,24 @@ +Tools for the conversion to and from UTF-8 Unicode encoding. Note that +RFC-2277 mandates that all "protocols" MUST handle UTF-8 properly. + + - utrans converts text files created using any 8-bit character + map into UTF-8; + + - uhtrans converts UTF-8 files into 7-bit ASCII with anything + else formatted as an HTML-style tags, e.g. Ӓ (decimal); + + - hutrans converts 7-bit ASCII files with HTML-style tags, to UTF-8, + thus complementing the functionality of hutrans; + + - ptrans converts UTF-8 files into 8-bit text using any + 8-bit character map, thus complementing utrans. + +Additionally, tuc is installed if not found. Tuc converts text files +between the DOS/Windows and the Unix formats. + +This port depends on ports/converters/libutf-8. + +Further details: http://www.whizkidtech.net/i18n/, RFC 2277, and RFC 2279. + +G. Adam Stanislav +adam@whizkidtech.net diff --git a/converters/i18ntools/pkg-plist b/converters/i18ntools/pkg-plist new file mode 100644 index 000000000000..db925c6b1180 --- /dev/null +++ b/converters/i18ntools/pkg-plist @@ -0,0 +1,179 @@ +bin/hutrans +bin/mbm +bin/ptrans +bin/uhtrans +bin/utrans +share/doc/i18n/tools/fgetu8.html +share/doc/i18n/tools/fputu8.html +share/doc/i18n/tools/index.html +share/doc/i18n/tools/libutf-8.html +share/doc/i18n/tools/rfc1641.txt +share/doc/i18n/tools/rfc2277.txt +share/doc/i18n/tools/rfc2279.txt +share/doc/i18n/tools/sgetu8.html +share/doc/i18n/tools/sputu8.html +share/doc/i18n/tools/utrans.html +share/i18n/charmaps/binary/ANSI_X3.110-1983 +share/i18n/charmaps/binary/ANSI_X3.4-1968 +share/i18n/charmaps/binary/ASMO_449 +share/i18n/charmaps/binary/BALTIC +share/i18n/charmaps/binary/BS_4730 +share/i18n/charmaps/binary/BS_VIEWDATA +share/i18n/charmaps/binary/CP1250 +share/i18n/charmaps/binary/CP1251 +share/i18n/charmaps/binary/CP1252 +share/i18n/charmaps/binary/CP1253 +share/i18n/charmaps/binary/CP1254 +share/i18n/charmaps/binary/CP1255 +share/i18n/charmaps/binary/CP1256 +share/i18n/charmaps/binary/CP1257 +share/i18n/charmaps/binary/CSA_Z243.4-1985-1 +share/i18n/charmaps/binary/CSA_Z243.4-1985-2 +share/i18n/charmaps/binary/CSA_Z243.4-1985-GR +share/i18n/charmaps/binary/CSN_369103 +share/i18n/charmaps/binary/CWI +share/i18n/charmaps/binary/DEC-MCS +share/i18n/charmaps/binary/DIN_66003 +share/i18n/charmaps/binary/DS_2089 +share/i18n/charmaps/binary/EBCDIC-AT-DE +share/i18n/charmaps/binary/EBCDIC-AT-DE-A +share/i18n/charmaps/binary/EBCDIC-CA-FR +share/i18n/charmaps/binary/EBCDIC-DK-NO +share/i18n/charmaps/binary/EBCDIC-DK-NO-A +share/i18n/charmaps/binary/EBCDIC-ES +share/i18n/charmaps/binary/EBCDIC-ES-A +share/i18n/charmaps/binary/EBCDIC-ES-S +share/i18n/charmaps/binary/EBCDIC-FI-SE +share/i18n/charmaps/binary/EBCDIC-FI-SE-A +share/i18n/charmaps/binary/EBCDIC-FR +share/i18n/charmaps/binary/EBCDIC-IS-FRISS +share/i18n/charmaps/binary/EBCDIC-IT +share/i18n/charmaps/binary/EBCDIC-PT +share/i18n/charmaps/binary/EBCDIC-UK +share/i18n/charmaps/binary/EBCDIC-US +share/i18n/charmaps/binary/ECMA-CYRILLIC +share/i18n/charmaps/binary/ES +share/i18n/charmaps/binary/ES2 +share/i18n/charmaps/binary/GB_1988-80 +share/i18n/charmaps/binary/GOST_19768-74 +share/i18n/charmaps/binary/GREEK-CCITT +share/i18n/charmaps/binary/GREEK7 +share/i18n/charmaps/binary/GREEK7-OLD +share/i18n/charmaps/binary/HP-ROMAN8 +share/i18n/charmaps/binary/IBM037 +share/i18n/charmaps/binary/IBM038 +share/i18n/charmaps/binary/IBM1004 +share/i18n/charmaps/binary/IBM1026 +share/i18n/charmaps/binary/IBM1047 +share/i18n/charmaps/binary/IBM256 +share/i18n/charmaps/binary/IBM273 +share/i18n/charmaps/binary/IBM274 +share/i18n/charmaps/binary/IBM275 +share/i18n/charmaps/binary/IBM277 +share/i18n/charmaps/binary/IBM278 +share/i18n/charmaps/binary/IBM280 +share/i18n/charmaps/binary/IBM281 +share/i18n/charmaps/binary/IBM284 +share/i18n/charmaps/binary/IBM285 +share/i18n/charmaps/binary/IBM290 +share/i18n/charmaps/binary/IBM297 +share/i18n/charmaps/binary/IBM420 +share/i18n/charmaps/binary/IBM423 +share/i18n/charmaps/binary/IBM424 +share/i18n/charmaps/binary/IBM437 +share/i18n/charmaps/binary/IBM500 +share/i18n/charmaps/binary/IBM850 +share/i18n/charmaps/binary/IBM851 +share/i18n/charmaps/binary/IBM852 +share/i18n/charmaps/binary/IBM855 +share/i18n/charmaps/binary/IBM857 +share/i18n/charmaps/binary/IBM860 +share/i18n/charmaps/binary/IBM861 +share/i18n/charmaps/binary/IBM862 +share/i18n/charmaps/binary/IBM863 +share/i18n/charmaps/binary/IBM864 +share/i18n/charmaps/binary/IBM865 +share/i18n/charmaps/binary/IBM868 +share/i18n/charmaps/binary/IBM869 +share/i18n/charmaps/binary/IBM870 +share/i18n/charmaps/binary/IBM871 +share/i18n/charmaps/binary/IBM875 +share/i18n/charmaps/binary/IBM880 +share/i18n/charmaps/binary/IBM891 +share/i18n/charmaps/binary/IBM903 +share/i18n/charmaps/binary/IBM904 +share/i18n/charmaps/binary/IBM905 +share/i18n/charmaps/binary/IBM918 +share/i18n/charmaps/binary/IEC_P27-1 +share/i18n/charmaps/binary/INIS +share/i18n/charmaps/binary/INIS-8 +share/i18n/charmaps/binary/INIS-CYRILLIC +share/i18n/charmaps/binary/INVARIANT +share/i18n/charmaps/binary/ISO-8859-1 +share/i18n/charmaps/binary/ISO-8859-10 +share/i18n/charmaps/binary/ISO-8859-2 +share/i18n/charmaps/binary/ISO-8859-3 +share/i18n/charmaps/binary/ISO-8859-4 +share/i18n/charmaps/binary/ISO-8859-5 +share/i18n/charmaps/binary/ISO-8859-6 +share/i18n/charmaps/binary/ISO-8859-7 +share/i18n/charmaps/binary/ISO-8859-8 +share/i18n/charmaps/binary/ISO-8859-9 +share/i18n/charmaps/binary/ISO-IR-90 +share/i18n/charmaps/binary/ISO_10367-BOX +share/i18n/charmaps/binary/ISO_2033-1983 +share/i18n/charmaps/binary/ISO_5427 +share/i18n/charmaps/binary/ISO_5427-EXT +share/i18n/charmaps/binary/ISO_5428 +share/i18n/charmaps/binary/ISO_646.BASIC +share/i18n/charmaps/binary/ISO_646.IRV +share/i18n/charmaps/binary/ISO_6937 +share/i18n/charmaps/binary/ISO_6937-2-25 +share/i18n/charmaps/binary/ISO_6937-2-ADD +share/i18n/charmaps/binary/ISO_8859-1,GL +share/i18n/charmaps/binary/ISO_8859-SUPP +share/i18n/charmaps/binary/IT +share/i18n/charmaps/binary/JIS_C6220-1969-JP +share/i18n/charmaps/binary/JIS_C6220-1969-RO +share/i18n/charmaps/binary/JIS_C6229-1984-A +share/i18n/charmaps/binary/JIS_C6229-1984-B +share/i18n/charmaps/binary/JIS_C6229-1984-B-ADD +share/i18n/charmaps/binary/JIS_C6229-1984-HAND +share/i18n/charmaps/binary/JIS_C6229-1984-HAND-ADD +share/i18n/charmaps/binary/JIS_C6229-1984-KANA +share/i18n/charmaps/binary/JIS_X0201 +share/i18n/charmaps/binary/JUS_I.B1.002 +share/i18n/charmaps/binary/JUS_I.B1.003-MAC +share/i18n/charmaps/binary/JUS_I.B1.003-SERB +share/i18n/charmaps/binary/KOI-8 +share/i18n/charmaps/binary/KOI8-R +share/i18n/charmaps/binary/KSC5636 +share/i18n/charmaps/binary/LATIN-GREEK +share/i18n/charmaps/binary/LATIN-GREEK-1 +share/i18n/charmaps/binary/MAC-IS +share/i18n/charmaps/binary/MACINTOSH +share/i18n/charmaps/binary/MSZ_7795.3 +share/i18n/charmaps/binary/NATS-DANO +share/i18n/charmaps/binary/NATS-DANO-ADD +share/i18n/charmaps/binary/NATS-SEFI +share/i18n/charmaps/binary/NATS-SEFI-ADD +share/i18n/charmaps/binary/NC_NC00-10 +share/i18n/charmaps/binary/NEXTSTEP +share/i18n/charmaps/binary/NF_Z_62-010 +share/i18n/charmaps/binary/NF_Z_62-010-1973 +share/i18n/charmaps/binary/NS_4551-1 +share/i18n/charmaps/binary/NS_4551-2 +share/i18n/charmaps/binary/PT +share/i18n/charmaps/binary/PT2 +share/i18n/charmaps/binary/SAMI +share/i18n/charmaps/binary/SEN_850200_B +share/i18n/charmaps/binary/SEN_850200_C +share/i18n/charmaps/binary/T.101-G2 +share/i18n/charmaps/binary/T.61-7BIT +share/i18n/charmaps/binary/T.61-8BIT +share/i18n/charmaps/binary/VIDEOTEX-SUPPL +@dirrm share/doc/i18n/tools +@dirrm share/doc/i18n +@dirrm share/i18n/charmaps/binary +@dirrm share/i18n/charmaps +@dirrm share/i18n |