pkgsrc/devel/zlib/Makefile
hubertf 0a11d404e3 ``Why drink and drive when you can smoke and fly''
(Use libtool to build this if it's installed; does not require port of
 NetBSD's share/mk for bootstrapping; old BSD-mk based build is still
 available as fallback if no libtool is found)
2001-02-03 06:42:17 +00:00

31 lines
672 B
Makefile

# $NetBSD: Makefile,v 1.6 2001/02/03 06:42:17 hubertf Exp $
DISTNAME= zlib-1.1.3
CATEGORIES= devel
MASTER_SITES= ftp://ftp.freesoftware.com/pub/infozip/zlib/
MAINTAINER= packages@netbsd.org
HOMEPAGE= ftp://ftp.freesoftware.com/pub/infozip/zlib/index.html
ONLY_FOR_PLATFORM= SunOS-*-* # in base NetBSD system
.include "../../mk/bsd.prefs.mk"
.if exists(${LOCALBASE}/bin/libtool)
USE_LIBTOOL= yes
MAKEFILE= lt.mk
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
post-extract:
${CP} ${FILESDIR}/lt.mk ${WRKSRC}
${SED} \
-e '/libz_pic.a/d' \
-e '/libz_p.a/d' \
<${PKGDIR}/PLIST >${PLIST_SRC}
.else
MAKEFILE= bsd.mk
.endif
MAKE_ENV+= NOLINT=yes
.include "../../mk/bsd.pkg.mk"