60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
25 lines
719 B
Makefile
25 lines
719 B
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zlib
|
|
PORTVERSION= 1.2.8
|
|
CATEGORIES= devel archivers
|
|
MASTER_SITES= http://zlib.net/ \
|
|
SF/libpng/${PORTNAME}/${PORTVERSION}
|
|
PKGNAMEPREFIX= mingw32-
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= The zlib library cross-compiled for MinGW32
|
|
|
|
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
|
|
${LOCALBASE}/mingw32/include/sys/types.h:${PORTSDIR}/devel/${PKGNAMEPREFIX}bin-msvcrt
|
|
|
|
USES= tar:xz gmake
|
|
MAKEFILE= win32/Makefile.gcc
|
|
MAKE_ARGS= PREFIX=${PKGNAMEPREFIX} \
|
|
BINARY_PATH=${CROSS_BASE}/bin \
|
|
INCLUDE_PATH=${CROSS_BASE}/include \
|
|
LIBRARY_PATH=${CROSS_BASE}/lib
|
|
CROSS_BASE= ${PREFIX}/mingw32
|
|
|
|
.include <bsd.port.mk>
|