summaryrefslogtreecommitdiff
path: root/cross/mingw-w64
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2018-06-07 19:09:24 +0000
committerryoon <ryoon@pkgsrc.org>2018-06-07 19:09:24 +0000
commit4241aab11f26fcf0f2f0c661be5bf99bbd43bdce (patch)
treefe6e5fadaf053f0519d2cae3faf9ebfb2a325d2f /cross/mingw-w64
parent6b0e7affc736ff83fe28d556aedbc3b758b56a5f (diff)
downloadpkgsrc-4241aab11f26fcf0f2f0c661be5bf99bbd43bdce.tar.gz
cross/mingw-w64: import mingw-w64-5.0.4
Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.
Diffstat (limited to 'cross/mingw-w64')
-rw-r--r--cross/mingw-w64/DESCR4
-rw-r--r--cross/mingw-w64/Makefile17
-rw-r--r--cross/mingw-w64/Makefile.common16
3 files changed, 37 insertions, 0 deletions
diff --git a/cross/mingw-w64/DESCR b/cross/mingw-w64/DESCR
new file mode 100644
index 00000000000..2c23ad1dfbc
--- /dev/null
+++ b/cross/mingw-w64/DESCR
@@ -0,0 +1,4 @@
+Mingw-w64 is an advancement of the original mingw.org project,
+created to support the GCC compiler on Windows systems. It has
+forked it in 2007 in order to provide support for 64 bits and new
+APIs. It has since then gained widespread use and distribution.
diff --git a/cross/mingw-w64/Makefile b/cross/mingw-w64/Makefile
new file mode 100644
index 00000000000..e8f18165458
--- /dev/null
+++ b/cross/mingw-w64/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/06/07 19:09:24 ryoon Exp $
+
+DISTNAME= mingw-w64-5.0.4
+CATEGORIES= cross
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://mingw-w64.org/
+COMMENT= Cross toolchains for win32 and win64 cross-development
+
+META_PACKAGE= yes
+
+DEPENDS+= mingw-w64-x86_64-gcc-[0-9]*:../../cross/mingw-w64-x86_64-gcc
+DEPENDS+= mingw-w64-i686-gcc-[0-9]*:../../cross/mingw-w64-i686-gcc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cross/mingw-w64/Makefile.common b/cross/mingw-w64/Makefile.common
new file mode 100644
index 00000000000..2b8f93518d7
--- /dev/null
+++ b/cross/mingw-w64/Makefile.common
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile.common,v 1.1 2018/06/07 19:09:24 ryoon Exp $
+#
+# used by cross/mingw-w64-x86_64-binutils/Makefile.common
+# used by cross/mingw-w64-x86_64-headers/Makefile.common
+# used by cross/mingw-w64-x86_64-gcc-bootstrap/Makefile.common
+# used by cross/mingw-w64-x86_64-gcc/Makefile.common
+# used by cross/mingw-w64-x86_64-crt/Makefile.common
+
+.if !defined(MINGW_MAKEFILECOMMON)
+MINGW_MAKEFILECOMMON= # defined
+
+MASTER_SITE_MINGW= ${MASTER_SITE_SOURCEFORGE:=mingw-w64/}
+MINGW_W64_32_TARGET?= i686-w64-mingw32
+MINGW_W64_64_TARGET?= x86_64-w64-mingw32
+MINGW_W64_ARM32_TARGET?= armv7-w64-mingw32
+.endif