blob: 444705546f6658fce4cea46ae2b7d88c1a4e4500 (
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
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.3 2001/06/12 20:33:08 jlam Exp $
#
DISTNAME= xerces-c-src1_3_0
PKGNAME= xerces-c-1.3.0
CATEGORIES= textproc
MASTER_SITES= http://xml.apache.org/dist/xerces-c/stable/
MAINTAINER= skrll@netbsd.org
HOMEPAGE= http://xml.apache.org/xerces-c/
COMMENT= The Apache Project's validating XML parser with DOM and SAX support
DEPENDS= icu>=1.7:../../textproc/icu
WRKSRC= ${WRKDIR}/xerces-c-src1_3_0/src/
GNU_CONFIGURE= YES
USE_GMAKE= YES
ICUROOT= ${PREFIX}
SCRIPT_ENV+= ICUROOT="${LOCALBASE}"
FLAGS+= -O2 -I${ICUROOT}/include \
-DXML_USE_ICU_TRANSCODER \
-DXML_USE_NETACCESSOR_SOCKET \
-DAPP_NO_THREADS
CFLAGS+= ${FLAGS}
CXXFLAGS+= ${FLAGS}
LIBS= -L${ICUROOT}/lib -Wl,-R${ICUROOT}/lib
LIBS+= -L${ICUROOT}/lib/icu/current -Wl,-R${ICUROOT}/lib/icu/current
CONFIGURE_ENV+= XERCESCROOT="${WRKDIR}/xerces-c-src1_3_0" \
ICUROOT=${ICUROOT} \
NETACCESSOR=Socket \
TRANSCODER=ICU
MAKE_ENV+= XERCESCROOT="${WRKDIR}/xerces-c-src1_3_0" \
ICUROOT="${LOCALBASE}" \
NETACCESSOR=Socket \
TRANSCODER=ICU \
post-extract:
${MKDIR} ${WRKSRC}/util/Platforms/NetBSD
${CP} \
${FILESDIR}/Makefile.in \
${FILESDIR}/NetBSDDefs.hpp \
${FILESDIR}/NetBSDPlatformUtils.cpp \
${WRKSRC}/util/Platforms/NetBSD
pre-configure:
${CHMOD} a+x ${WRKSRC}/configure
.include "../../mk/bsd.pkg.mk"
|