buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
30 lines
916 B
Makefile
30 lines
916 B
Makefile
# $NetBSD: Makefile,v 1.14 2002/08/25 18:38:51 jlam Exp $
|
|
|
|
DISTNAME= zlib-1.1.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
|
|
http://www.libpng.org/pub/png/src/ \
|
|
ftp://swrinde.nde.swri.edu/pub/png/src/ \
|
|
http://www.gzip.org/zlib/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.gzip.org/zlib/
|
|
COMMENT= General purpose data compression library
|
|
|
|
BUILD_DEPENDS+= libtool-base>=${LIBTOOL_VERSION}:../../devel/libtool-base
|
|
|
|
USE_BUILDLINK2= # defined
|
|
NOT_FOR_PLATFORM= NetBSD-1.[4-9]*-* # in base NetBSD system
|
|
|
|
# To avoid circular dependences we must not use "USE_LIBTOOL" but
|
|
# depend on the "libtool-base" package manually.
|
|
#
|
|
LIBTOOL= ${LOCALBASE}/bin/libtool
|
|
CONFIGURE_ENV+= LIBTOOL="${BUILDLINK_LIBTOOL} ${LIBTOOL_FLAGS}"
|
|
MAKE_ENV+= LIBTOOL="${BUILDLINK_LIBTOOL} ${LIBTOOL_FLAGS}"
|
|
MAKEFILE= lt.mk
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/lt.mk ${WRKSRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|