summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
blob: c1ed165dfead96f08e4a0035043785fd36086e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.16 2003/06/02 01:16:41 jschauma Exp $
#

DISTNAME=	icu-2.4
PKGREVISION=	1
WRKSRC=		${WRKDIR}/${PKGBASE}/source
CATEGORIES=	textproc
MASTER_SITES=	http://oss.software.ibm.com/icu/download/${PKGVERSION}/
EXTRACT_SUFX=	.tgz

MAINTAINER=	tech-pkg@netbsd.org
HOMEPAGE=	http://oss.software.ibm.com/icu
COMMENT=	Robust and full-featured unicode support

GNU_CONFIGURE=	YES
USE_GMAKE=	YES
USE_BUILDLINK2=	YES
USE_PKGINSTALL=	YES
TEST_TARGET=	check

.include "../../mk/endian.mk"

BIG_ENDIAN=
LITTLE_ENDIAN=
.if ${MACHINE_ENDIAN} == "little"
BIG_ENDIAN=	'@comment '
.elif ${MACHINE_ENDIAN} == "big"
LITTLE_ENDIAN=	'@comment '
.endif
PLIST_SUBST+=	BIG_ENDIAN=${BIG_ENDIAN}
PLIST_SUBST+=	LITTLE_ENDIAN=${LITTLE_ENDIAN}

PKG_SYSCONFSUBDIR=	icu

CONF_FILES+=	${PREFIX}/share/examples/icu/convrtrs.txt \
		${PKG_SYSCONFDIR}/convrtrs.txt

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--disable-threads
CONFIGURE_ARGS+=	--enable-layout
CONFIGURE_ARGS+=	--enable-static

.include "../../mk/bsd.pkg.mk"