summaryrefslogtreecommitdiff
path: root/devel/zlib/Makefile
blob: 9a6d4d550ea448dedf60dea0db9fb836b6d518e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.7 2001/02/16 14:39:07 wiz 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
COMMENT=	General purpose data compression library

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"