# $Id: Portfile,v 1.1 2006/04/22 11:05:05 mww Exp $

PortSystem 1.0

name			gccxml
version			0.6.0
categories		lang
platforms		darwin
maintainers		mww@opendarwin.org
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-devel

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

