# $Id: Portfile,v 1.3 2006/06/06 23:58:19 landonf Exp $
PortSystem		1.0

name			i386-mingw32-runtime
version			3.9
maintainers		landonf@opendarwin.org
description		Free Microsoft C runtime, headers and import libraries.
long_description	Free Microsoft C runtime, headers and import libraries to \
			support cross-compilation of software written for \
			the Microsoft Windows. Maintained by the MinGW developers.
homepage		http://www.mingw.org
categories		cross devel

# Parameters for this port.
set crossgcc-target i386-mingw32

platforms		darwin
master_sites		sourceforge:mingw
distname		mingw-runtime-${version}
checksums		md5 0cb66b1071da224ea2174f960c593e2e

extract.dir		${worksrcpath}

pre-extract {
	file mkdir ${worksrcpath}
}

# Nothing to configure
configure {}

# Nothing to build
build {}

destroot {
	file mkdir ${destpath}/${prefix}/${crossgcc-target}
	foreach dir {include lib bin doc} {
		file copy -force ${worksrcpath}/$dir ${destpath}/${prefix}/${crossgcc-target}
	}
}
