# $Id: Portfile 85540 2011-10-14 07:58:39Z mww@macports.org $

PortSystem 1.0

name			xalanc
version			1.10.0
revision		1
categories		textproc
platforms		darwin freebsd
maintainers		mww
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		http://xml.apache.org/xalan-c/
master_sites	apache:xml/xalan-c/source/
distname		Xalan-C_1_10_0-src
checksums		md5 0a3fbb535885531cc544b07a2060bfb1
patchfiles		patch-Makefile.incl.in

depends_lib		port:xercesc

worksrcdir		xml-xalan/c

configure.env	XALANCROOT='${workpath}/xml-xalan/c' \
				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
