From a88fd3fa9e8d0424d955b2a6649ccd254640ca31 Mon Sep 17 00:00:00 2001 From: skrll Date: Wed, 20 Dec 2000 18:27:59 +0000 Subject: Import of new ICU package: Robust and full-featured unicode support --- textproc/icu/Makefile | 32 +++++++++++ textproc/icu/files/md5 | 3 + textproc/icu/files/mh-netbsd | 75 +++++++++++++++++++++++++ textproc/icu/files/patch-sum | 22 ++++++++ textproc/icu/patches/patch-aa | 15 +++++ textproc/icu/patches/patch-ab | 48 ++++++++++++++++ textproc/icu/patches/patch-ac | 31 +++++++++++ textproc/icu/patches/patch-ad | 28 ++++++++++ textproc/icu/patches/patch-ae | 21 +++++++ textproc/icu/patches/patch-af | 13 +++++ textproc/icu/patches/patch-ag | 22 ++++++++ textproc/icu/patches/patch-ah | 22 ++++++++ textproc/icu/patches/patch-ai | 15 +++++ textproc/icu/patches/patch-aj | 13 +++++ textproc/icu/patches/patch-ak | 21 +++++++ textproc/icu/patches/patch-al | 21 +++++++ textproc/icu/patches/patch-am | 21 +++++++ textproc/icu/patches/patch-an | 21 +++++++ textproc/icu/patches/patch-ao | 30 ++++++++++ textproc/icu/patches/patch-ap | 21 +++++++ textproc/icu/patches/patch-aq | 21 +++++++ textproc/icu/patches/patch-ar | 21 +++++++ textproc/icu/patches/patch-as | 13 +++++ textproc/icu/patches/patch-at | 12 ++++ textproc/icu/pkg/COMMENT | 1 + textproc/icu/pkg/DESCR | 16 ++++++ textproc/icu/pkg/PLIST | 124 ++++++++++++++++++++++++++++++++++++++++++ 27 files changed, 703 insertions(+) create mode 100644 textproc/icu/Makefile create mode 100644 textproc/icu/files/md5 create mode 100644 textproc/icu/files/mh-netbsd create mode 100644 textproc/icu/files/patch-sum create mode 100644 textproc/icu/patches/patch-aa create mode 100644 textproc/icu/patches/patch-ab create mode 100644 textproc/icu/patches/patch-ac create mode 100644 textproc/icu/patches/patch-ad create mode 100644 textproc/icu/patches/patch-ae create mode 100644 textproc/icu/patches/patch-af create mode 100644 textproc/icu/patches/patch-ag create mode 100644 textproc/icu/patches/patch-ah create mode 100644 textproc/icu/patches/patch-ai create mode 100644 textproc/icu/patches/patch-aj create mode 100644 textproc/icu/patches/patch-ak create mode 100644 textproc/icu/patches/patch-al create mode 100644 textproc/icu/patches/patch-am create mode 100644 textproc/icu/patches/patch-an create mode 100644 textproc/icu/patches/patch-ao create mode 100644 textproc/icu/patches/patch-ap create mode 100644 textproc/icu/patches/patch-aq create mode 100644 textproc/icu/patches/patch-ar create mode 100644 textproc/icu/patches/patch-as create mode 100644 textproc/icu/patches/patch-at create mode 100644 textproc/icu/pkg/COMMENT create mode 100644 textproc/icu/pkg/DESCR create mode 100644 textproc/icu/pkg/PLIST (limited to 'textproc') diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile new file mode 100644 index 00000000000..4af7868e6c6 --- /dev/null +++ b/textproc/icu/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/20 18:27:59 skrll Exp $ +# + +DISTNAME= icu-1.6 +CATEGORIES= textproc +MASTER_SITES= http://oss.software.ibm.com/icu/download/1.6/ +EXTRACT_SUFX= .tgz + +MAINTAINER= p99dreyf@criens.u-psud.fr +HOMEPAGE= http://oss.software.ibm.com/icu + +WRKSRC= ${WRKDIR}/icu/source +GNU_CONFIGURE= YES +USE_GMAKE= YES + +CONFIGURE_ARGS+= --disable-threads + +CPPFLAGS+= -I${LOCALBASE}/include + +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" + +post-extract: + ${CP} ${FILESDIR}/mh-netbsd ${WRKSRC}/config + +pre-configure: + ${CHMOD} u+rx ${WRKSRC}/configure + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/icu + ${INSTALL_DATA} ${WRKDIR}/icu/docs/* ${PREFIX}/share/doc/html/icu + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/icu/files/md5 b/textproc/icu/files/md5 new file mode 100644 index 00000000000..0a40182ce99 --- /dev/null +++ b/textproc/icu/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/20 18:28:01 skrll Exp $ + +MD5 (icu-1.6.tgz) = 38f699d58c9491cb34d119d38695c04c diff --git a/textproc/icu/files/mh-netbsd b/textproc/icu/files/mh-netbsd new file mode 100644 index 00000000000..86af36ee8fc --- /dev/null +++ b/textproc/icu/files/mh-netbsd @@ -0,0 +1,75 @@ +## -*-makefile-*- +## NetBSD-specific setup +## Copyright (c) 1999-2000, International Business Machines Corporation and +## others. All Rights Reserved. + +## Commands to generate dependency files +GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS) +GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS) + +## Commands to compile +COMPILE.c= $(CC) -fPIC $(DEFS) $(CPPFLAGS) $(CFLAGS) -c +COMPILE.cc= $(CXX) -fPIC $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c + +## Commands to link +LINK.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) +LINK.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) + +## Commands to make a shared library +SHLIB.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared +SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -shared + +## Compiler switch to embed a runtime search path +LD_RPATH= +LD_RPATH_PRE= -Wl,-rpath, + +### How ICU libraries are named... ex. $(LIBICU)uc$(SO) +## Prefix for the ICU library names +LIBICU = libicu- +## Shared object suffix +SO= so + +## Force removal [for make clean] +RMV = rm -rf +## Platform command to move executable target +INSTALL-S = $(INSTALL_PROGRAM) + +## Link commands to link to ICU libs +LIBICU-UC= -L$(top_builddir)/common -licu-uc +LIBICU-I18N= -L$(top_builddir)/i18n -licu-i18n +LIBCTESTFW= -L$(top_builddir)/tools/ctestfw -lctestfw +LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil +LIBUSTDIO= -L$(top_builddir)/extra/ustdio -lustdio + +## Environmental requirements while building +TOOL=env LD_LIBRARY_PATH=$(BUILD_LPATH) + +## Compilation rules +%.o : $(srcdir)/%.c + $(COMPILE.c) -o $@ $< + +%.o : $(srcdir)/%.cpp + $(COMPILE.cc) -o $@ $< + +../data/%.o : ../data/%.c + $(COMPILE.c) -o $@ $< + +## Dependency rules +%.d : $(srcdir)/%.c + @echo "Generating dependency information for $<" + @$(SHELL) -ec '$(GEN_DEPS.c) $< \ + | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \ + [ -s $@ ] || rm -f $@' + +%.d : $(srcdir)/%.cpp + @echo "Generating dependency information for $<" + @$(SHELL) -ec '$(GEN_DEPS.cc) $< \ + | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \ + [ -s $@ ] || rm -f $@' + +## End NetBSD-specific setup + + + + + diff --git a/textproc/icu/files/patch-sum b/textproc/icu/files/patch-sum new file mode 100644 index 00000000000..ea23d617faa --- /dev/null +++ b/textproc/icu/files/patch-sum @@ -0,0 +1,22 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/12/20 18:28:01 skrll Exp $ + +MD5 (patch-aa) = f69c8c9ea4dd80dc9d11ff69a6a1d9c8 +MD5 (patch-ab) = d249648dce9bb8a0769f2226456c4281 +MD5 (patch-ac) = 9aaae729a86a161837accbc40e779ae1 +MD5 (patch-ad) = 686ca2a3f71c348d0082ad4fbe5ad118 +MD5 (patch-ae) = e86903ffb3b3b6afec199b9c01750219 +MD5 (patch-af) = 6f02676d521992518db8ff9b3bd6e8ed +MD5 (patch-ag) = a9364837987c1bf1d84910c932f3a336 +MD5 (patch-ah) = 97d033c683f902153a7580cd3f4a6362 +MD5 (patch-ai) = a9a3b666a431f1caba760743389430e0 +MD5 (patch-aj) = cc9e43b42a4906a9900ee90723b4e910 +MD5 (patch-ak) = 5a5f53e6e29f6152ccc8731c3f109742 +MD5 (patch-al) = a042cf8a45ba10c04dd55b6e793a9330 +MD5 (patch-am) = a90419b0020cea4c8dc1d342923ddbed +MD5 (patch-an) = 37bba50c33ed59b6702cf5f3ae2fb40f +MD5 (patch-ao) = 617de721fded7b3cc1f00b760348f19a +MD5 (patch-ap) = 111b690bfb9d6193c23098a3b672cfc3 +MD5 (patch-aq) = c03a10131f965e9212430b28d3c38bb6 +MD5 (patch-ar) = 0a78b457d119e52f1c84ac3b7d35e9b3 +MD5 (patch-as) = fbcc0aad1e95c04f8ab01c27aa42e6ec +MD5 (patch-at) = f3cb15ce4fc1a352567d7d2f48cf4df9 diff --git a/textproc/icu/patches/patch-aa b/textproc/icu/patches/patch-aa new file mode 100644 index 00000000000..35217cb3f84 --- /dev/null +++ b/textproc/icu/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/20 18:28:02 skrll Exp $ + +--- common/Makefile.in.orig Wed Dec 20 17:43:36 2000 ++++ common/Makefile.in +@@ -109,8 +109,8 @@ + install-headers: + $(mkinstalldirs) $(DESTDIR)$(includedir)/unicode + @for file in $(HEADERS); do \ +- echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode"; \ +- $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode || exit; \ ++ echo "$(INSTALL_DATA) -p $$file $(DESTDIR)$(includedir)/unicode"; \ ++ $(INSTALL_DATA) -p $$file $(DESTDIR)$(includedir)/unicode || exit; \ + done + + dist-local: diff --git a/textproc/icu/patches/patch-ab b/textproc/icu/patches/patch-ab new file mode 100644 index 00000000000..1dc36e8ec81 --- /dev/null +++ b/textproc/icu/patches/patch-ab @@ -0,0 +1,48 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/20 18:28:06 skrll Exp $ + +--- common/putil.c.orig Fri Aug 11 21:36:52 2000 ++++ common/putil.c +@@ -86,7 +86,7 @@ + # include + #elif defined(AIX) + # include +-#elif defined(U_SOLARIS) || defined(U_LINUX) ++#elif defined(U_SOLARIS) || defined(U_LINUX) /* || defined(U_NETBSD) */ + # include + # include + #elif defined(HPUX) +@@ -686,7 +686,7 @@ + int32_t + uprv_timezone() + { +-#if defined(U_POSIX) ++#if defined(U_POSIX) && !defined(U_NETBSD) + #if defined(OS390) + return _timezone; + #else +@@ -694,7 +694,7 @@ + #endif + #endif + +-#if defined(OS400) || defined(XP_MAC) || defined(U_DARWIN) ++#if defined(OS400) || defined(XP_MAC) || defined(U_DARWIN) || defined(U_NETBSD) + time_t t, t1, t2; + struct tm tmrec; + UBool dst_checked; +@@ -989,6 +989,7 @@ + # elif defined(XP_MAC) + # elif defined(U_SOLARIS) + # elif defined(U_LINUX) ++# elif defined(U_NETBSD) + # define LIB_PATH_VAR "LD_LIBRARY_PATH" + # define LIB_FILENAME "libicuuc.so" + # elif defined(AIX) +@@ -1578,7 +1579,7 @@ + { + uprv_memset(codesetName, 0, 100); + } +-#if U_HAVE_NL_LANGINFO ++#if defined(U_HAVE_NL_LANGINFO) && !defined(U_NETBSD) + #ifdef U_LINUX + if (nl_langinfo(_NL_CTYPE_CODESET_NAME) != NULL) + uprv_strcpy(codesetName, nl_langinfo(_NL_CTYPE_CODESET_NAME)); diff --git a/textproc/icu/patches/patch-ac b/textproc/icu/patches/patch-ac new file mode 100644 index 00000000000..78052cec973 --- /dev/null +++ b/textproc/icu/patches/patch-ac @@ -0,0 +1,31 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/12/20 18:28:06 skrll Exp $ + +--- common/uresbund.c.orig Wed Aug 16 21:44:50 2000 ++++ common/uresbund.c +@@ -238,7 +238,7 @@ + r->fBogus = U_USING_FALLBACK_ERROR; + } else { /* if we have a regular entry */ + /* handle the alias by trying to get out the %%Alias tag.*/ +- char aliasName[100]; ++ char aliasName[256]; + int32_t aliasLen; + /* We'll try to get alias string from the bundle */ + Resource aliasres = res_getResource(&(r->fData), "%%ALIAS"); +@@ -1027,7 +1027,7 @@ + const char* localeID, + UErrorCode* status) + { +- char path[100]; ++ char path[256]; + UResourceBundle *r; + size_t tempSize = uprv_wcstombs(NULL, myPath, ((size_t)-1) >> 1); + /*char *temp = new char[tempSize + 1];*/ +@@ -1051,7 +1051,7 @@ + const char* localeID, + UErrorCode* status) + { +- char path[100]; ++ char path[256]; + UResourceBundle *r; + int32_t pathlen = u_strlen(myPath); + diff --git a/textproc/icu/patches/patch-ad b/textproc/icu/patches/patch-ad new file mode 100644 index 00000000000..75967c88504 --- /dev/null +++ b/textproc/icu/patches/patch-ad @@ -0,0 +1,28 @@ +$NetBSD: patch-ad,v 1.1.1.1 2000/12/20 18:28:05 skrll Exp $ + +--- configure.orig Wed Aug 16 18:02:34 2000 ++++ configure +@@ -1199,6 +1199,7 @@ + *-*-mips*) icu_cv_host_frag=$srcdir/config/mh-irix ;; + *-*-linux*) icu_cv_host_frag=$srcdir/config/mh-linux ;; + *-*-freebsd*) icu_cv_host_frag=$srcdir/config/mh-freebsd ;; ++*-*-netbsd*) icu_cv_host_frag=$srcdir/config/mh-netbsd ;; + *-*-aix*) + case "$CXX" in + *vacpp*)icu_cv_host_frag=$srcdir/config/mh-aix-va ;; +@@ -2959,6 +2960,7 @@ + *-*-solaris*) platform=U_SOLARIS ;; + *-*-linux*) platform=U_LINUX ;; + *-*-freebsd*) platform=U_LINUX ;; ++ *-*-netbsd*) platform=U_NETBSD ;; + *-*-aix*) platform=AIX ;; + *-sequent-*) platform=PTX ;; + *-*-hpux*) platform=HPUX ;; +@@ -2976,6 +2978,7 @@ + *-*-solaris*) ld_rpath_suf=":" ;; + *-*-linux*) ld_rpath_suf=" " ;; + *-*-freebsd*) ld_rpath_suf=" " ;; ++ *-*-netbsd*) ld_rpath_suf=" " ;; + *-*-aix*) ld_rpath_suf="" ;; + *-sequent-*) ld_rpath_suf="" ;; + *-*-hpux*) ld_rpath_suf=":" ;; diff --git a/textproc/icu/patches/patch-ae b/textproc/icu/patches/patch-ae new file mode 100644 index 00000000000..4e9ec7c0a64 --- /dev/null +++ b/textproc/icu/patches/patch-ae @@ -0,0 +1,21 @@ +$NetBSD: patch-ae,v 1.1.1.1 2000/12/20 18:28:05 skrll Exp $ + +--- test/cintltst/Makefile.in.orig Thu Aug 10 02:33:28 2000 ++++ test/cintltst/Makefile.in +@@ -43,6 +43,7 @@ + ## Build directory information + top_builddir = ../.. + subdir = test/cintltst ++BUILD_LPATH=$(top_builddir)/common + + ## Extra files to remove for 'make clean' + CLEANFILES = *~ +@@ -103,7 +104,7 @@ + $(RMV) Makefile $(DEPS) + + check-local: all-local +- ICU_DATA=@DATABUILDDIR@/ TZ=PST8PDT ./$(TARGET) ++ $(TOOL) ICU_DATA=@DATABUILDDIR@/ TZ=PST8PDT ./$(TARGET) + + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ diff --git a/textproc/icu/patches/patch-af b/textproc/icu/patches/patch-af new file mode 100644 index 00000000000..fefb0b73c7f --- /dev/null +++ b/textproc/icu/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1.1.1 2000/12/20 18:28:05 skrll Exp $ + +--- test/cintltst/cintltst.c.orig Wed Aug 16 23:27:48 2000 ++++ test/cintltst/cintltst.c +@@ -158,7 +158,7 @@ + { + if (_testDirectory == NULL) + { +-#if defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) ++#if defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) || defined(U_NETBSD) + ctest_setTestDirectory("source|test|testdata|"); + #else + ctest_setTestDirectory("icu|source|test|testdata|"); diff --git a/textproc/icu/patches/patch-ag b/textproc/icu/patches/patch-ag new file mode 100644 index 00000000000..d8086dbc4fa --- /dev/null +++ b/textproc/icu/patches/patch-ag @@ -0,0 +1,22 @@ +$NetBSD: patch-ag,v 1.1.1.1 2000/12/20 18:28:05 skrll Exp $ + +--- test/intltest/Makefile.in.orig Wed Aug 16 23:30:12 2000 ++++ test/intltest/Makefile.in +@@ -55,6 +55,8 @@ + $(LD_RPATH)$(LD_RPATH_PRE)$(top_builddir)/common@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/i18n + LIBS = $(LIBICU-UC) $(LIBICU-I18N) @LIBS@ @LIB_M@ + ++BUILD_LPATH=$(top_builddir)/common ++ + OBJECTS = allcoll.o apicoll.o callimts.o calregts.o caltest.o \ + caltztst.o citrtest.o cppcnvt.o cputilst.o currcoll.o dacoll.o \ + dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \ +@@ -99,7 +101,7 @@ + $(RMV) Makefile $(DEPS) + + check-local: all-local +- ICU_DATA=@DATABUILDDIR@/ TZ=PST8PDT ./$(TARGET) ++ $(TOOL) ICU_DATA=@DATABUILDDIR@/ TZ=PST8PDT ./$(TARGET) + + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ diff --git a/textproc/icu/patches/patch-ah b/textproc/icu/patches/patch-ah new file mode 100644 index 00000000000..f3762ab07b9 --- /dev/null +++ b/textproc/icu/patches/patch-ah @@ -0,0 +1,22 @@ +$NetBSD: patch-ah,v 1.1.1.1 2000/12/20 18:28:05 skrll Exp $ + +--- test/intltest/intltest.cpp.orig Tue Aug 15 00:44:12 2000 ++++ test/intltest/intltest.cpp +@@ -386,7 +386,7 @@ + mainDirBuffer[0]='\0'; + } + mainDir=mainDirBuffer; +- #elif defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) ++ #elif defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) || defined(U_NETBSD) + char mainDirBuffer[200]; + strcpy(mainDirBuffer, u_getDataDirectory()); + strcat(mainDirBuffer, "/../"); +@@ -453,7 +453,7 @@ + { + if (_testDirectory == NULL) + { +-#if defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) ++#if defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) || defined(U_NETBSD) + setTestDirectory("source|test|testdata|"); + #else + setTestDirectory("icu|source|test|testdata|"); diff --git a/textproc/icu/patches/patch-ai b/textproc/icu/patches/patch-ai new file mode 100644 index 00000000000..7823e24162a --- /dev/null +++ b/textproc/icu/patches/patch-ai @@ -0,0 +1,15 @@ +$NetBSD: patch-ai,v 1.1.1.1 2000/12/20 18:28:04 skrll Exp $ + +--- test/intltest/restest.cpp.orig Mon Aug 14 22:42:36 2000 ++++ test/intltest/restest.cpp +@@ -308,8 +308,8 @@ + uprv_strcat(testdatapath, "testdata"); + + +- wchar_t* wideDirectory = new wchar_t[256]; +- mbstowcs(wideDirectory, testdatapath, 256); ++ wchar_t* wideDirectory = new wchar_t[1024]; ++ mbstowcs(wideDirectory, testdatapath, 1024); + //mbstowcs(wideDirectory, "c:\\icu\\icu\\source\\test\\testdata\\testdata", 256); + + ResourceBundle test2(wideDirectory, locale, err); diff --git a/textproc/icu/patches/patch-aj b/textproc/icu/patches/patch-aj new file mode 100644 index 00000000000..feedcaa209d --- /dev/null +++ b/textproc/icu/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1.1.1 2000/12/20 18:28:04 skrll Exp $ + +--- test/intltest/tsmthred.cpp.orig Mon Aug 14 22:42:36 2000 ++++ test/intltest/tsmthred.cpp +@@ -12,7 +12,7 @@ + + #include + +-#if !defined(WIN32) && !defined(XP_MAC) && !defined(U_DARWIN) ++#if !defined(WIN32) && !defined(XP_MAC) && !defined(U_DARWIN) && !defined(U_NETBSD) + #define POSIX 1 + #endif + diff --git a/textproc/icu/patches/patch-ak b/textproc/icu/patches/patch-ak new file mode 100644 index 00000000000..b68fecc3e1c --- /dev/null +++ b/textproc/icu/patches/patch-ak @@ -0,0 +1,21 @@ +$NetBSD: patch-ak,v 1.1.1.1 2000/12/20 18:28:04 skrll Exp $ + +--- tools/Makefile.in.orig Tue Aug 15 18:20:40 2000 ++++ tools/Makefile.in +@@ -35,6 +35,7 @@ + ## Build directory information + top_builddir = .. + subdir = tools ++BUILD_LPATH=$(top_builddir)/../common + + ## Type of build + @USE_MAPPED_TRUE@ DEFAULT_MODE=common +@@ -57,7 +58,7 @@ + TMPDATADIR=./tmp + + # relative lib links from pkgdata are the same as for tmp +-PKGDATA=../pkgdata/pkgdata -T . -s @DATABUILDDIR@ -O ./icupkg.inc -d @DATABUILDDIR@ -v -m $(MODE) ++PKGDATA=$(TOOL) ../pkgdata/pkgdata -T . -s @DATABUILDDIR@ -O ./icupkg.inc -d @DATABUILDDIR@ -v -m $(MODE) + + ## Install program information + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/textproc/icu/patches/patch-al b/textproc/icu/patches/patch-al new file mode 100644 index 00000000000..fe8f0dc7fef --- /dev/null +++ b/textproc/icu/patches/patch-al @@ -0,0 +1,21 @@ +$NetBSD: patch-al,v 1.1.1.1 2000/12/20 18:28:04 skrll Exp $ + +--- tools/gencnval/Makefile.in.orig Tue Aug 1 02:55:50 2000 ++++ tools/gencnval/Makefile.in +@@ -45,6 +45,7 @@ + ## Build directory information + top_builddir = ../.. + subdir = tools/gencnval ++BUILD_LPATH=$(top_builddir)/common + + ## Extra files to remove for 'make clean' + CLEANFILES = *~ +@@ -92,7 +93,7 @@ + # we set the ICU_DATA directory here so that unames.dat ends up in + # icu/data rather than PREFIX/share/icu/VERSION/ + $(ICUDATADIR)/cnvalias.dat: $(CONVRTRSFILE) $(TARGET) +- ICU_DATA=$(ICUDATADIR) ./$(TARGET) $(CONVRTRSFILE) ++ $(TOOL) ICU_DATA=$(ICUDATADIR) ./$(TARGET) $(CONVRTRSFILE) + + dist-local: + diff --git a/textproc/icu/patches/patch-am b/textproc/icu/patches/patch-am new file mode 100644 index 00000000000..987246d2624 --- /dev/null +++ b/textproc/icu/patches/patch-am @@ -0,0 +1,21 @@ +$NetBSD: patch-am,v 1.1.1.1 2000/12/20 18:28:04 skrll Exp $ + +--- tools/gennames/Makefile.in.orig Tue Aug 1 02:55:50 2000 ++++ tools/gennames/Makefile.in +@@ -47,6 +47,7 @@ + ## Build directory information + top_builddir = ../.. + subdir = tools/gennames ++BUILD_LPATH=$(top_builddir)/common + + ## Extra files to remove for 'make clean' + CLEANFILES = *~ +@@ -92,7 +93,7 @@ + build-data: $(ICUDATADIR)/unames.dat + + $(ICUDATADIR)/unames.dat: $(UNICODEFILE) $(TARGET) +- ./$(TARGET) -d $(ICUDATADIR) $(UNICODEFILE) -u $(UNICODE_VERSION) ++ $(TOOL) ./$(TARGET) -d $(ICUDATADIR) $(UNICODEFILE) -u $(UNICODE_VERSION) + + dist-local: + diff --git a/textproc/icu/patches/patch-an b/textproc/icu/patches/patch-an new file mode 100644 index 00000000000..b949140726e --- /dev/null +++ b/textproc/icu/patches/patch-an @@ -0,0 +1,21 @@ +$NetBSD: patch-an,v 1.1.1.1 2000/12/20 18:28:04 skrll Exp $ + +--- tools/genprops/Makefile.in.orig Tue Aug 1 02:55:50 2000 ++++ tools/genprops/Makefile.in +@@ -46,6 +46,7 @@ + ## Build directory information + top_builddir = ../.. + subdir = tools/genprops ++BUILD_LPATH=$(top_builddir)/common + + ## Extra files to remove for 'make clean' + CLEANFILES = *~ +@@ -91,7 +92,7 @@ + build-data: $(ICUDATADIR)/uprops.dat + + $(ICUDATADIR)/uprops.dat: $(UNICODEDATADIR)/UnicodeData.txt $(UNICODEDATADIR)/Mirror.txt $(TARGET) +- ./$(TARGET) -s $(UNICODEDATADIR) -d $(ICUDATADIR) -u $(UNICODE_VERSION) ++ $(TOOL) ./$(TARGET) -s $(UNICODEDATADIR) -d $(ICUDATADIR) -u $(UNICODE_VERSION) + + dist-local: + diff --git a/textproc/icu/patches/patch-ao b/textproc/icu/patches/patch-ao new file mode 100644 index 00000000000..b313fbc64d2 --- /dev/null +++ b/textproc/icu/patches/patch-ao @@ -0,0 +1,30 @@ +$NetBSD: patch-ao,v 1.1.1.1 2000/12/20 18:28:02 skrll Exp $ + +--- tools/genrb/Makefile.in.orig Tue Aug 15 03:41:58 2000 ++++ tools/genrb/Makefile.in +@@ -40,6 +40,7 @@ + ## Build directory information + top_builddir = ../.. + subdir = tools/genrb ++BUILD_LPATH=$(top_builddir)/common + + ## Extra files to remove for 'make clean' + CLEANFILES = *~ +@@ -121,7 +122,7 @@ + + @DATABUILDDIR@/../source/test/testdata/%.res : $(top_srcdir)/test/testdata/%.txt + @echo "Creating testdata resource file for $<" +- ICU_DATA=@DATABUILDDIR@ ./genrb -s $(top_srcdir)/test/testdata/ -d @DATABUILDDIR@../source/test/testdata/ $( " +- @./makeconv -d @DATABUILDDIR@ $< ++ @$(TOOL) ./makeconv -d @DATABUILDDIR@ $< + + ifeq (,$(MAKECMDGOALS)) + -include $(DEPS) diff --git a/textproc/icu/patches/patch-as b/textproc/icu/patches/patch-as new file mode 100644 index 00000000000..b7fec860ae2 --- /dev/null +++ b/textproc/icu/patches/patch-as @@ -0,0 +1,13 @@ +$NetBSD: patch-as,v 1.1.1.1 2000/12/20 18:28:02 skrll Exp $ + +--- tools/pkgdata/cmnmode.c.orig Mon Jul 17 06:37:48 2000 ++++ tools/pkgdata/cmnmode.c +@@ -95,7 +95,7 @@ + T_FileStream_writeLine(makefile, "\n\n"); + + sprintf(tmp, "install: $(TARGET)\n" +- "\t$(INSTALL-S) $(TARGET) $(INSTALLTO)%s$(TARGETNAME)\n\n", ++ "\t$(INSTALL_DATA) $(TARGET) $(INSTALLTO)%s$(TARGETNAME)\n\n", + U_FILE_SEP_STRING); + + T_FileStream_writeLine(makefile, tmp); diff --git a/textproc/icu/patches/patch-at b/textproc/icu/patches/patch-at new file mode 100644 index 00000000000..65d8ef3ded2 --- /dev/null +++ b/textproc/icu/patches/patch-at @@ -0,0 +1,12 @@ +$NetBSD: patch-at,v 1.1.1.1 2000/12/20 18:28:06 skrll Exp $ + +--- tools/pkgdata/icupkg.inc.in.orig Tue Aug 15 03:41:58 2000 ++++ tools/pkgdata/icupkg.inc.in +@@ -110,3 +110,7 @@ + ifeq ($(strip $(PLATFORM)),U_LINUX) + TOOL=env LD_LIBRARY_PATH=$(LPATHS) + endif ++ ++ifeq ($(strip $(PLATFORM)),U_NETBSD) ++ TOOL=env LD_LIBRARY_PATH=$(LPATHS) ++endif diff --git a/textproc/icu/pkg/COMMENT b/textproc/icu/pkg/COMMENT new file mode 100644 index 00000000000..fcc39e69004 --- /dev/null +++ b/textproc/icu/pkg/COMMENT @@ -0,0 +1 @@ +Robust and full-featured unicode support diff --git a/textproc/icu/pkg/DESCR b/textproc/icu/pkg/DESCR new file mode 100644 index 00000000000..93a00b39080 --- /dev/null +++ b/textproc/icu/pkg/DESCR @@ -0,0 +1,16 @@ +The International Components for Unicode(ICU) is a C and C++ library +that provides robust and full-featured Unicode support on a wide +variety of platforms. The library provides: + +Calendar support +Character set conversions +Collation (language-sensitive) +Date & time formatting +Locales (140+ supported) +Message catalogs (resources) +Message formatting +Normalization +Number & currency formatting +Time zones +Transliteration +Word, line & sentence breaks diff --git a/textproc/icu/pkg/PLIST b/textproc/icu/pkg/PLIST new file mode 100644 index 00000000000..b7f41ab16ff --- /dev/null +++ b/textproc/icu/pkg/PLIST @@ -0,0 +1,124 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/20 18:28:01 skrll Exp $ +include/unicode/bidi.h +include/unicode/brkiter.h +include/unicode/calendar.h +include/unicode/chariter.h +include/unicode/choicfmt.h +include/unicode/coleitr.h +include/unicode/coll.h +include/unicode/convert.h +include/unicode/cpdtrans.h +include/unicode/datefmt.h +include/unicode/dbbi.h +include/unicode/dcfmtsym.h +include/unicode/decimfmt.h +include/unicode/dtfmtsym.h +include/unicode/fieldpos.h +include/unicode/fmtable.h +include/unicode/format.h +include/unicode/gregocal.h +include/unicode/hangjamo.h +include/unicode/hextouni.h +include/unicode/jamohang.h +include/unicode/locid.h +include/unicode/msgfmt.h +include/unicode/normlzr.h +include/unicode/nultrans.h +include/unicode/numfmt.h +include/unicode/parseerr.h +include/unicode/parsepos.h +include/unicode/platform.h +include/unicode/pos2.h +include/unicode/pos400.h +include/unicode/putil.h +include/unicode/pwin32.h +include/unicode/rbbi.h +include/unicode/rbt.h +include/unicode/rep.h +include/unicode/resbund.h +include/unicode/schriter.h +include/unicode/scsu.h +include/unicode/simpletz.h +include/unicode/smpdtfmt.h +include/unicode/sortkey.h +include/unicode/tblcoll.h +include/unicode/timezone.h +include/unicode/translit.h +include/unicode/ubidi.h +include/unicode/ubrk.h +include/unicode/ucal.h +include/unicode/uchar.h +include/unicode/uchriter.h +include/unicode/ucnv.h +include/unicode/ucnv_cb.h +include/unicode/ucnv_err.h +include/unicode/ucol.h +include/unicode/udat.h +include/unicode/udata.h +include/unicode/uloc.h +include/unicode/umachine.h +include/unicode/umisc.h +include/unicode/umsg.h +include/unicode/unicode.h +include/unicode/unifilt.h +include/unicode/unifltlg.h +include/unicode/uniset.h +include/unicode/unistr.h +include/unicode/unitohex.h +include/unicode/unum.h +include/unicode/urep.h +include/unicode/ures.h +include/unicode/ushape.h +include/unicode/ustdio.h +include/unicode/ustring.h +include/unicode/utf.h +include/unicode/utf16.h +include/unicode/utf32.h +include/unicode/utf8.h +include/unicode/utrans.h +include/unicode/utypes.h +lib/libicu-i18n.so +lib/libicu-toolutil.so +lib/libicu-uc.so +lib/libustdio.so +sbin/genccode +sbin/gencmn +sbin/gencnval +sbin/gennames +sbin/genprops +sbin/genrb +sbin/gentest +sbin/gentz +sbin/makeconv +sbin/mkinstalldirs +sbin/pkgdata +share/doc/html/icu/BreakIterator.html +share/doc/html/icu/BreakIteratorGrafik.gif +share/doc/html/icu/Collate.html +share/doc/html/icu/boundCL.html +share/doc/html/icu/build_env.htm +share/doc/html/icu/candcpp.html +share/doc/html/icu/cintltst.html +share/doc/html/icu/codeConv.html +share/doc/html/icu/codestds.html +share/doc/html/icu/collateCl.html +share/doc/html/icu/collflow.gif +share/doc/html/icu/conversion_interface.htm +share/doc/html/icu/errorCod.html +share/doc/html/icu/formatCl.html +share/doc/html/icu/intltest.html +share/doc/html/icu/message.html +share/doc/html/icu/mutex.html +share/doc/html/icu/nameConv.html +share/doc/html/icu/number.html +share/doc/html/icu/supp_loc.html +share/doc/html/icu/tz.htm +share/doc/html/icu/tzClasses.html +share/doc/html/icu/udata.html +share/doc/html/icu/utilCL.html +share/icu/1.6/icudata.dat +share/icu/Makefile.inc +@dirrm include/unicode +@dirrm share/icu/1.6 +@dirrm share/icu +@dirrm share/doc/html/icu -- cgit v1.2.3