7f0efe8d7b
performance/build/porting enhancements. The following list summarizes the main new features in this release.sion. CLDR 1.2. This is the main new feature in the release. ICU locale data is now completely built from the CLDR 1.2 data, which contains data for 232 locales, covering 72 languages and 108 territories. Many translated names for languages, territories, and scripts have been added, as well as for time zones, calendars, and other named items such as collation. For more information, see http://www.unicode.org/press/pr-cldr1.2.html. Miscellaneous Universal Timescale conversions. ICU now provides mechanisms for quickly and reliably converting between the different binary representations of date/time used on different platforms. Accept-Language. ICU provides a mechanism for matching Accept-Language against a list of locales. DateFormat and Calendar Performance. Object construction performance has been significantly improved. Footprint. The size of executables that statically link to ICU has been reduced. Stdin. The icuio library can now read from stdin. UnicodeSet C API. More uset_* C API were added. i5/OS (os/400). Building ICU has been simplified to allow more configure options to work. POSIX. Default codepage determination has been fixed.
64 lines
1.7 KiB
Makefile
64 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.37 2005/03/27 10:27:20 recht Exp $
|
|
#
|
|
|
|
DISTNAME= icu-3.2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.software.ibm.com/software/globalization/icu/${PKGVERSION}/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://ibm.com/software/globalization/icu/
|
|
COMMENT= Robust and full-featured Unicode services
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}/source
|
|
USE_GNU_TOOLS+= make
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGINSTALL= YES
|
|
USE_LANGUAGES= c c++
|
|
TEST_TARGET= check
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
# ICU's configure script will automatically append "/icu" to the sysconfdir.
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
|
|
PKG_SYSCONFSUBDIR= icu
|
|
|
|
CONVRTRS_EG= ${CONVRTRS_EG_DIR}/convrtrs.txt
|
|
CONVRTRS_EG_DIR= ${PREFIX}/share/examples/icu
|
|
|
|
SUPPORT_FILES+= ${CONVRTRS_EG} ${PKG_SYSCONFDIR}/convrtrs.txt
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "native"
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
.endif
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
|
|
PLIST_SUBST+= MH_NAME=mh-bsd-gcc
|
|
.elif ${OPSYS} == "Linux"
|
|
PLIST_SUBST+= MH_NAME=mh-linux
|
|
.elif ${OPSYS} == "SunOS"
|
|
. if !empty(CC_VERSION:Mgcc*)
|
|
PLIST_SUBST+= MH_NAME=mh-solaris-gcc
|
|
. else
|
|
PLIST_SUBST+= MH_NAME=mh-solaris
|
|
. endif
|
|
.elif ${OPSYS} == "IRIX"
|
|
PLIST_SUBST+= MH_NAME=mh-irix
|
|
.elif ${OPSYS} == "Darwin"
|
|
PLIST_SUBST+= MH_NAME=mh-darwin
|
|
.else
|
|
# For unknown systems, set the filename to mh-unknown so that the user
|
|
# gets a warning about missing files.
|
|
PLIST_SUBST+= MH_NAME=mh-unknown
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${CONVRTRS_EG_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/data/mappings/convrtrs.txt ${CONVRTRS_EG}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|