# $Id: Portfile,v 1.4 2006/06/06 23:55:59 landonf Exp $
PortSystem		1.0

name			i386-mingw32-w32api
version			3.6
maintainers		landonf@opendarwin.org
description		Mingw32 Win32 headers and import libraries
long_description	Mingw32 Win32 headers and import libraries to \
			support cross-compilation of software written for \
			the Win32 Application Programming Interface \
			as created by Microsoft.
homepage		http://www.mingw.org
categories		cross devel

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

platforms		darwin
master_sites		sourceforge:mingw
distname		w32api-${version}
checksums		md5 2f86ec42cafd774ec82162fbc6e6808d

extract.dir		${worksrcpath}

pre-extract {
	file mkdir ${worksrcpath}
}

# Nothing to configure
configure {}

# Nothing to build
build {}

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