diff --git a/russian/Makefile b/russian/Makefile index 2d247c30ca2b..dbcfa7799845 100644 --- a/russian/Makefile +++ b/russian/Makefile @@ -39,6 +39,7 @@ SUBDIR += rispell SUBDIR += rus-ispell SUBDIR += tac+ia + SUBDIR += unzip SUBDIR += wmcyrx SUBDIR += xcode SUBDIR += xcyrBGR diff --git a/russian/unzip/Makefile b/russian/unzip/Makefile new file mode 100644 index 000000000000..939fe23b902c --- /dev/null +++ b/russian/unzip/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: ru-unzip +# Date created: 4 May 2005 +# Whom: den +# +# $FreeBSD$ +# + +CATEGORIES= russian archivers + +MAINTAINER= den@FreeBSD.org +COMMENT= Unzip with CP866 and KOI8-R support + +CONFLICTS= unzip-[0-9]* [a-z][a-z]-unzip-[0-9]* + +EXTRA_PATCHES= ${.CURDIR}/files/patch-ebcdic.h + +MASTERDIR= ${.CURDIR}/../../archivers/unzip + +.include "${MASTERDIR}/Makefile" diff --git a/russian/unzip/files/patch-ebcdic.h b/russian/unzip/files/patch-ebcdic.h new file mode 100644 index 000000000000..3badcf759383 --- /dev/null +++ b/russian/unzip/files/patch-ebcdic.h @@ -0,0 +1,78 @@ +--- ebcdic.h.orig Wed May 4 12:30:10 2005 ++++ ebcdic.h Wed May 4 12:30:18 2005 +@@ -237,43 +237,43 @@ + + #ifdef IZ_ISO2OEM_ARRAY + ZCONST uch Far iso2oem[] = { +- 0x3F, 0x3F, 0x27, 0x9F, 0x22, 0x2E, 0xC5, 0xCE, /* 80 - 87 */ +- 0x5E, 0x25, 0x53, 0x3C, 0x4F, 0x3F, 0x3F, 0x3F, /* 88 - 8F */ +- 0x3F, 0x27, 0x27, 0x22, 0x22, 0x07, 0x2D, 0x2D, /* 90 - 97 */ +- 0x7E, 0x54, 0x73, 0x3E, 0x6F, 0x3F, 0x3F, 0x59, /* 98 - 9F */ +- 0xFF, 0xAD, 0xBD, 0x9C, 0xCF, 0xBE, 0xDD, 0xF5, /* A0 - A7 */ +- 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xB5, 0xF0, 0xB6, 0xB9, 0xD1, 0xD2, /* B0 - B7 */ ++ 0xCB, 0xCF, 0xD0, 0xCA, 0xD8, 0xD7, 0xCE, 0xBF, /* B8 - BF */ ++ 0xEE, 0xA0, 0xA1, 0xE6, 0xA4, 0xA5, 0xE4, 0xA3, /* C0 - C7 */ ++ 0xE5, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, /* C8 - CF */ ++ 0xAF, 0xEF, 0xE0, 0xE1, 0xE2, 0xE3, 0xA6, 0xA2, /* D0 - D7 */ ++ 0xEC, 0xEB, 0xA7, 0xE8, 0xED, 0xE9, 0xE7, 0xEA, /* D8 - DF */ ++ 0x9E, 0x80, 0x81, 0x96, 0x84, 0x85, 0x94, 0x83, /* E0 - E7 */ ++ 0x95, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, /* E8 - EF */ ++ 0x8F, 0x9F, 0x90, 0x91, 0x92, 0x93, 0x86, 0x82, /* F0 - F7 */ ++ 0x9C, 0x9B, 0x87, 0x98, 0x9D, 0x99, 0x97, 0x9A, /* F8 - FF */ + }; + #endif /* IZ_ISO2OEM_ARRAY */ + + #ifdef IZ_OEM2ISO_ARRAY + ZCONST uch Far oem2iso[] = { +- 0xC7, 0xFC, 0xE9, 0xE2, 0xE4, 0xE0, 0xE5, 0xE7, /* 80 - 87 */ +- 0xEA, 0xEB, 0xE8, 0xEF, 0xEE, 0xEC, 0xC4, 0xC5, /* 88 - 8F */ +- 0xC9, 0xE6, 0xC6, 0xF4, 0xF6, 0xF2, 0xFB, 0xF9, /* 90 - 97 */ +- 0xFF, 0xD6, 0xDC, 0xF8, 0xA3, 0xD8, 0xD7, 0x83, /* 98 - 9F */ +- 0xE1, 0xED, 0xF3, 0xFA, 0xF1, 0xD1, 0xAA, 0xBA, /* A0 - A7 */ +- 0xBF, 0xAE, 0xAC, 0xBD, 0xBC, 0xA1, 0xAB, 0xBB, /* A8 - AF */ +- 0xA6, 0xA6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