summaryrefslogtreecommitdiff
path: root/textproc/xalan-c/Makefile
blob: c22b7bb11f40303579244cd55efa609688314ad7 (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
PORTNAME=	xalan-c
PORTVERSION=	1.12
PORTREVISION=	5
CATEGORIES=	textproc
MASTER_SITES=	APACHE/xalan/xalan-c/sources
DISTNAME=	xalan_c-${PORTVERSION}

MAINTAINER=	rleigh@apache.org
COMMENT=	XSLT processor from the Apache XML Project
WWW=		https://apache.github.io/xalan-c/

LICENSE=	APACHE20

LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3

USES=		cmake compiler:c++11-lang
USE_LDCONFIG=	yes

CMAKE_ARGS=	-Dmsgloader=inmemory -Dmessage-locale=en_US

OPTIONS_DEFINE=	ICU
OPTIONS_DEFAULT=	ICU
OPTIONS_SUB=	yes

ICU_LIB_DEPENDS=	libicuuc.so:devel/icu
ICU_DESC=	Use ICU for transcoding
ICU_CMAKE_ON=	-Dtranscoder=icu
ICU_CMAKE_OFF=	-Dtranscoder=default

.include <bsd.port.mk>