summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
blob: 8bff1f14a8235b1d4900fc8ed6b83076778460a8 (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
# $NetBSD: Makefile,v 1.8 2002/10/28 22:49:15 seb Exp $
#

DISTNAME=	icu-1.7
CATEGORIES=	textproc
MASTER_SITES=	http://oss.software.ibm.com/icu/download/1.7/
EXTRACT_SUFX=	.tgz

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

WRKSRC=		${WRKDIR}/icu/source
GNU_CONFIGURE=	YES
USE_GMAKE=	YES
USE_BUILDLINK2=	YES

.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}

CONFIGURE_ARGS+= --disable-threads

pre-configure:
	${CHMOD} u+rx ${WRKSRC}/configure

test: build
	cd ${WRKSRC} && ${MAKE_PROGRAM} check

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