diff options
author | asau <asau@pkgsrc.org> | 2010-03-15 18:34:36 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2010-03-15 18:34:36 +0000 |
commit | e416b2f4ae1097610c35918d2cfea5565868f66a (patch) | |
tree | 3456c799619b7e02a77d1a707ab77b24c36a29f9 /cross/mingw | |
parent | 833496c9ecd79dca0b5fccb1c7338e925704bf8a (diff) | |
download | pkgsrc-e416b2f4ae1097610c35918d2cfea5565868f66a.tar.gz |
Import MinGW packages into "cross" category. From pkgsrc-wip project.
MinGW, a contraction of "Minimalist GNU for Windows," is a port
of the GNU Compiler Collection (GCC), and GNU Binutils, for use
in the development of native Microsoft Windows applications.
Diffstat (limited to 'cross/mingw')
-rw-r--r-- | cross/mingw/DESCR | 4 | ||||
-rw-r--r-- | cross/mingw/Makefile | 17 | ||||
-rw-r--r-- | cross/mingw/Makefile.common | 29 |
3 files changed, 50 insertions, 0 deletions
diff --git a/cross/mingw/DESCR b/cross/mingw/DESCR new file mode 100644 index 00000000000..e0defb1464a --- /dev/null +++ b/cross/mingw/DESCR @@ -0,0 +1,4 @@ +MinGW: A collection of freely available and freely distributable Windows +specific header files and import libraries combined with GNU toolsets that +allow one to produce native Windows programs that do not rely on any +3rd-party DLLs. diff --git a/cross/mingw/Makefile b/cross/mingw/Makefile new file mode 100644 index 00000000000..808c4cfe15a --- /dev/null +++ b/cross/mingw/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/15 18:34:36 asau Exp $ +# + +DISTNAME= mingw-3.3.1 +CATEGORIES= cross +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://mingw.sourceforge.net/ +COMMENT= GCC tools for win32 cross-development + +META_PACKAGE= yes + +.include "../../cross/mingw-binutils/buildlink3.mk" +.include "../../cross/mingw-gcc/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/cross/mingw/Makefile.common b/cross/mingw/Makefile.common new file mode 100644 index 00000000000..d276dedd652 --- /dev/null +++ b/cross/mingw/Makefile.common @@ -0,0 +1,29 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2010/03/15 18:34:36 asau Exp $ +# +# used by cross/mingw-gcc/buildlink3.mk +# used by cross/mingw-binutils/Makefile +# used by cross/mingw-gcc/Makefile +# used by cross/mingw-runtime-bin/Makefile +# used by cross/mingw-w32api-bin/Makefile + +.if !defined(MINGW_MAKEFILECOMMON) +MINGW_MAKEFILECOMMON= # defined +USE_CROSSBASE= yes + +MASTER_SITE_MINGW= ${MASTER_SITE_SOURCEFORGE:=mingw/} +MINGW_TARGET?= i386--mingw32 +PLIST_SUBST+= MINGW_TARGET=${MINGW_TARGET:Q} +MAKE_ENV+= MINGW_TARGET=${MINGW_TARGET:Q} +CONFIGURE_ENV+= MINGW_TARGET=${MINGW_TARGET:Q} + +PATH:= ${CROSSBASE}/bin:${PATH} + +.if defined(GNU_CONFIGURE) +CONFIGURE_ARGS+= --prefix=${PREFIX:Q} +CONFIGURE_ARGS+= --exec-prefix=${PREFIX:Q} +CONFIGURE_ARGS+= --target=${MINGW_TARGET:Q} +# following line to avoid getting +# make: exec(i386--netbsdelf-ar) failed (No such file or directory) +USE_GNU_CONFIGURE_HOST= NO +.endif +.endif |