aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mingw32-zlib
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2011-12-04 21:57:27 +0800
committerknu <knu@FreeBSD.org>2011-12-04 21:57:27 +0800
commit7d9d8d8e6b288b0b84c0fe7c60a740a153f5a55a (patch)
tree446f7876cfb2306075769c3a54273848179e0757 /devel/mingw32-zlib
parentb8d9ab3db28544ac3619f68feafefa1ecc809890 (diff)
downloadfreebsd-ports-gnome-7d9d8d8e6b288b0b84c0fe7c60a740a153f5a55a.tar.gz
freebsd-ports-gnome-7d9d8d8e6b288b0b84c0fe7c60a740a153f5a55a.tar.zst
freebsd-ports-gnome-7d9d8d8e6b288b0b84c0fe7c60a740a153f5a55a.zip
Add mingw32-zlib, the zlib library cross-compiled for MinGW32.
Feature safe: yes
Diffstat (limited to 'devel/mingw32-zlib')
-rw-r--r--devel/mingw32-zlib/Makefile27
-rw-r--r--devel/mingw32-zlib/distinfo2
-rw-r--r--devel/mingw32-zlib/pkg-descr3
-rw-r--r--devel/mingw32-zlib/pkg-plist3
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/mingw32-zlib/Makefile b/devel/mingw32-zlib/Makefile
new file mode 100644
index 000000000000..cfe27c78386c
--- /dev/null
+++ b/devel/mingw32-zlib/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: mingw32-zlib
+# Date created: 3 December 2011
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zlib
+PORTVERSION= 1.2.5
+CATEGORIES= devel archivers
+MASTER_SITES= http://zlib.net/
+PKGNAMEPREFIX= mingw32-
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= The zlib library cross-compiled for MinGW32
+
+BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+MAKEFILE= win32/Makefile.gcc
+MAKE_ARGS= PREFIX=${PKGNAMEPREFIX} \
+ BINARY_PATH=${PREFIX}/mingw32/bin \
+ INCLUDE_PATH=${PREFIX}/mingw32/include \
+ LIBRARY_PATH=${PREFIX}/mingw32/lib
+
+.include <bsd.port.mk>
diff --git a/devel/mingw32-zlib/distinfo b/devel/mingw32-zlib/distinfo
new file mode 100644
index 000000000000..942b6dacdeb9
--- /dev/null
+++ b/devel/mingw32-zlib/distinfo
@@ -0,0 +1,2 @@
+SHA256 (zlib-1.2.5.tar.bz2) = 239aead2f22f16bfcfa6a6a5150dcbd6d6f2e4d1eaa8727b5769ea014120b307
+SIZE (zlib-1.2.5.tar.bz2) = 486374
diff --git a/devel/mingw32-zlib/pkg-descr b/devel/mingw32-zlib/pkg-descr
new file mode 100644
index 000000000000..051bb9286a9b
--- /dev/null
+++ b/devel/mingw32-zlib/pkg-descr
@@ -0,0 +1,3 @@
+This is the zlib library cross-compiled for MinGW32.
+
+WWW: http://zlib.net/
diff --git a/devel/mingw32-zlib/pkg-plist b/devel/mingw32-zlib/pkg-plist
new file mode 100644
index 000000000000..52c363e08880
--- /dev/null
+++ b/devel/mingw32-zlib/pkg-plist
@@ -0,0 +1,3 @@
+mingw32/include/zconf.h
+mingw32/include/zlib.h
+mingw32/lib/libz.a