blob: ab2b28ba5849ec231cc74ebd3a3b792fe8689a16 (
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.19 2005/12/05 23:55:21 rillig Exp $
#
DISTNAME= Xalan-C_1_6-src
PKGNAME= xalan-c-1.6
PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://archive.apache.org/dist/xml/xalan-c/source/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://xml.apache.org/xalan-c/
COMMENT= XSLT processor of the Apache Project
WRKSRC= ${WRKDIR}/xml-xalan/c/src/xalanc
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}
.include "../../mk/pthread.buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|