Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name gccxml
version 0.6.0
categories lang
platforms darwin
maintainers nomaintainer@macports.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