aboutsummaryrefslogtreecommitdiff
path: root/textproc/xalan-c/Makefile
blob: 608a5f578c9d7c747863f3f04caed1a9d8b73404 (plain) (blame)
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
# Created by: Roger Leigh <rleigh@codelibre.net>

PORTNAME=	xalan-c
PORTVERSION=	1.12
PORTREVISION=	2
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

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>