blob: 58e7daf24bcc242238bbda5803dd1877ef1c25d3 (
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
|
# $NetBSD: Makefile,v 1.26 2009/03/25 22:37:15 he Exp $
#
DISTNAME= Xalan-C_1_10_0-src
PKGNAME= xalan-c-1.10
#PKGREVISION= 1
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://archive.apache.org/dist/xml/xalan-c/source/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xml.apache.org/xalan-c/
COMMENT= XSLT processor of the Apache Project
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/xml-xalan/c
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
.include "../../mk/bsd.prefs.mk"
.if ${LOWER_OPSYS} == "SunOS"
XALAN_PLATFORM= solaris
.elif ${LOWER_OPSYS} == "Darwin"
XALAN_PLATFORM= macosx
.else
XALAN_PLATFORM= ${LOWER_OPSYS}
.endif
XALAN_ENV= XALANCROOT="${WRKDIR}/xml-xalan/c" ICUROOT="${LOCALBASE}"
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./runConfigure
CONFIGURE_ARGS+= -C --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= -p ${XALAN_PLATFORM}
CONFIGURE_ARGS+= -t icu
CONFIGURE_ARGS+= -r pthread
# 1.7.0 needs the following argument.
#CONFIGURE_ARGS+= -m inmem
CONFIGURE_ENV+= ${XALAN_ENV}
MAKE_ENV+= ${XALAN_ENV}
pre-configure:
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}
.include "../../mk/pthread.buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|