# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name xalanc
version 1.11
revision 1
categories textproc
platforms darwin freebsd
maintainers nomaintainer
license Apache-2
description XSLT processor in C++ for transforming XML
long_description Xalan is an XSLT processor for transforming XML \
documents into HTML, text, or other XML document \
types. Xalan-C++ version 1.6 is a robust \
implementation of the W3C Recommendations for XSL \
Transformations (XSLT) and the XML Path Language \
(XPath).
homepage https://xalan.apache.org/xalan-c/
master_sites apache:xalan/xalan-c/sources/
distname xalan_c-${version}-src
checksums rmd160 4cd3fa7d2daf81ef47d3998581958aefc493dfa8 \
sha256 4f5e7f75733d72e30a2165f9fdb9371831cf6ff0d1997b1fb64cdd5dc2126a28
patchfiles patch-Makefile.incl.in \
fix-ftbfs-ld-as-needed.diff \
fix-testxslt-segfault.diff
depends_lib port:xercesc3
worksrcdir xalan-c-${version}/c
configure.env XALANCROOT=${workpath}/${worksrcdir} \
XERCESCROOT=${prefix}
configure.cmd ./runConfigure
configure.pre_args -C --prefix=${prefix} \
-c ${configure.cc} -x ${configure.cxx}
platform darwin {
configure.pre_args-append -p macosx
}
build.env {*}${configure.env}
build.type gnu
use_parallel_build no
destroot.env {*}${configure.env}
livecheck.type moddate