Portfile

# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
PortSystem 1.0

name i386-mingw32-runtime
version 3.9
maintainers landonf@macports.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
use_configure no

# 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}
}
}