summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-04-04 16:58:16 +0000
committerrecht <recht@pkgsrc.org>2004-04-04 16:58:16 +0000
commit45cbec67c65cefcfaf0e0756d87498f0c56c391d (patch)
treed1eff8683ed40c857067ef03ae8568a42e4279ac /textproc/icu/Makefile
parentdc6a5fb3a58cd8a5057b01fa2fdb2d05db11234c (diff)
downloadpkgsrc-45cbec67c65cefcfaf0e0756d87498f0c56c391d.tar.gz
update to 2.8
Lot's of changes and fixes. For example: # Number Formatting ICU4C adds support for formatting and parsing of 64-bit integers. # Text Analysis (Break Iterators) Full conformance with Unicode Consortium UAX 29 and UAX 14 definitions for text boundary positions. Significantly improved performance for reverse direction iteration and isBoundary tests of arbitrary string positions. # StringPrep ICU 2.8 adds APIs and a tool for generic support of StringPrep profiles such as those used in NFS 4. For a complete list see: http://oss.software.ibm.com/icu/download/2.8/index.html
Diffstat (limited to 'textproc/icu/Makefile')
-rw-r--r--textproc/icu/Makefile34
1 files changed, 16 insertions, 18 deletions
diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile
index fc09f12cc40..f2f3eb9cd59 100644
--- a/textproc/icu/Makefile
+++ b/textproc/icu/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.29 2004/02/18 13:33:41 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2004/04/04 16:58:16 recht Exp $
#
-DISTNAME= icu-2.6.1
+DISTNAME= icu-2.8
CATEGORIES= textproc
#
# The IBM site has long delays that can cause ftp to timeout. Use the
# backup FTP repositories in preference to the IBM one.
#
-MASTER_SITES= ${MASTER_SITE_BACKUP} \
- ftp://www-126.ibm.com/pub/icu/${PKGVERSION}/
+#MASTER_SITES= ${MASTER_SITE_BACKUP} \
+# ftp://www-126.ibm.com/pub/icu/${PKGVERSION}/
+MASTER_SITES= ftp://www-126.ibm.com/pub/icu/${PKGVERSION}/
+
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
@@ -17,8 +19,9 @@ COMMENT= Robust and full-featured Unicode services
WRKSRC= ${WRKDIR}/${PKGBASE}/source
USE_GNU_TOOLS+= make
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
+USE_LANGUAGES= c c++
TEST_TARGET= check
GNU_CONFIGURE= YES
@@ -28,24 +31,19 @@ CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
PKG_SYSCONFSUBDIR= icu
-SUPPORT_FILES+= ${PREFIX}/share/examples/icu/convrtrs.txt \
- ${PKG_SYSCONFDIR}/convrtrs.txt
+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.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "native"
CONFIGURE_ARGS+= --disable-threads
.endif
-.include "../../mk/compiler.mk"
-
-.if !empty(CC_VERSION:Mgcc-3*)
-CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*/-O/g}
-CFLAGS:= ${CFLAGS:C/-Os/-O/g}
-CXXFLAGS:= ${CXXFLAGS:C/-Os/-O/g}
-CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g}
-CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
-.endif
+post-install:
+ ${INSTALL_DATA_DIR} ${CONVRTRS_EG_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/data/mappings/convrtrs.txt ${CONVRTRS_EG}
.include "../../mk/bsd.pkg.mk"