summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
blob: 281751d81578582236e7c1b14fad26db84e3c073 (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
# $NetBSD: Makefile,v 1.13 2003/03/29 12:42:37 jmmv Exp $
#

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

MAINTAINER=	skrll@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"