PortSystem 1.0

name			headerbrowser
version			0.8.3
categories		devel
license			GPL-2
platforms		darwin
maintainers		nomaintainer
description		simple, efficient tool for creating doc from C/C++ source
long_description	Header Browser is a simple and efficient tool for creating \
				documentation from C/C++ source code.

homepage		http://www.headerbrowser.org/
master_sites	${homepage}download/
extract.suffix	.src.tgz
checksums		md5 d40f6379c2a1d8f7b91665199f8fbf49
patchfiles		patch-include-parseheaderfile.hh.diff

universal_variant	no

destroot {
	xinstall -m 755 ${worksrcpath}/bin/headerbrowser ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/doc/man/headerbrowser.1 \
		${destroot}${prefix}/share/man/man1
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/doc/html all_tags.html c_tags.html \
		cpp_tags.html hb_comments.html index.html licence.html run.html \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.type	regex
livecheck.url	[lindex ${master_sites} 0]
livecheck.regex	${name}-(\[0-9.\]+)${extract.suffix}
