aboutsummaryrefslogtreecommitdiff
path: root/textproc/xalan-c/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-01 08:37:21 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-01 08:37:21 +0000
commit6fb20cc85fb009eb153ce6cc5063f1e71188ac0e (patch)
tree6d3eba08a419c65cd7606449b2d405bf591fa218 /textproc/xalan-c/Makefile
parent6b3890ee593dce092643e5e3fe3de0fe2ddc99f0 (diff)
downloadports-6fb20cc85fb009eb153ce6cc5063f1e71188ac0e.tar.gz
ports-6fb20cc85fb009eb153ce6cc5063f1e71188ac0e.zip
- Update to the new upstream release 1.12
- Maintainer is now an Apache person and upstream maintainer too - Switch the build to CMake, GC old cruft and MAKE_JOBS_UNSAFE - Require C++11-capable compiler for std::thread and other features - Allow to use ICU optionally (default to on since it affects EXSLT functionality if missing) - Patch missing header; opened issue upstream (https://issues.apache.org/jira/browse/XALANC-809) - Drop the older patch now as it's fixed upstream PR: 247072 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=540932
Diffstat (limited to 'textproc/xalan-c/Makefile')
-rw-r--r--textproc/xalan-c/Makefile25
1 files changed, 14 insertions, 11 deletions
diff --git a/textproc/xalan-c/Makefile b/textproc/xalan-c/Makefile
index 4ad8c4b20eef..cbd44f052e88 100644
--- a/textproc/xalan-c/Makefile
+++ b/textproc/xalan-c/Makefile
@@ -2,27 +2,30 @@
# $FreeBSD$
PORTNAME= xalan-c
-PORTVERSION= 1.11
+PORTVERSION= 1.12
CATEGORIES= textproc
MASTER_SITES= APACHE/xalan/xalan-c/sources
-DISTNAME= xalan_c-${PORTVERSION}-src
+DISTNAME= xalan_c-${PORTVERSION}
-MAINTAINER= rleigh@codelibre.net
+MAINTAINER= rleigh@apache.org
COMMENT= XSLT processor from the Apache XML Project
LICENSE= APACHE20
LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3
-GNU_CONFIGURE= yes
-USES= gmake libtool localbase pathfix
+USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
-CONFIGURE_ENV= XALANCROOT=${WRKSRC} XALAN_LOCALE_SYSTEM=inmem \
- XALAN_LOCALE=en_US
-MAKE_ENV= ${CONFIGURE_ENV}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-WRKSRC_SUBDIR= c
+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>