# $Id: Portfile,v 1.4 2006/02/17 16:20:18 yves Exp $

PortSystem 1.0
name		odcctools
version		20060123
categories	devel
maintainers	yves@opendarwin.org
description	Darwin cctools build system.
long_description	The odcctools project is geared towards improving the \
			Darwin cctools build system and code base to support \
			Darwin development. Darwin cctools has several \
			components, including the assembler odas(1), the \
			static linker odld(1), various tools for manipulating \
			and analyzing Mach-O and fat files, and support \
			libraries.
homepage	http://www.opendarwin.org/projects/odcctools/
platforms	darwin
master_sites	http://www.opendarwin.org/downloads/
checksums	sha1 a66c4de511c2bff61f540affc4b56b815b5e24df
use_bzip2	yes
configure.args	--program-prefix=od --mandir=${prefix}/share/man

build.target	default

post-destroot {
	cd ${destroot}${prefix}/share/man/man1
	foreach manpage [glob *.1] {
		file rename ${manpage} od${manpage}
	}
}
