a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
PortSystem 1.0
name i386-mingw32-w32api
version 3.6
maintainers landonf@macports.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
use_configure no
# 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}
}