# $Id: Portfile 32305 2007-12-23 23:31:45Z ryandesign@macports.org $

PortSystem 1.0

name			gccxml
version			0.6.0
categories		lang
platforms		darwin
maintainers		nomaintainer
description		generates XML description of C++ code
long_description	generates an XML description of a C++ program from GCC's \
		internal representation

homepage		http://www.gccxml.org/
master_sites	http://www.gccxml.org/files/v0.6/
checksums		sha1 efd9ef010e5b802e828e0d3c807d827e1ad82830

depends_build	port:cmake

post-extract {
	file mkdir ${workpath}/build
}

configure {
	system "cd ${workpath}/build \
		&& cmake ${worksrcpath} -DCMAKE_INSTALL_PREFIX:PATH=${prefix}"
}

build.dir		${workpath}/build
destroot.dir	${workpath}/build

