blob: d027ac422757adbc54aeef33372b065765b43ab1 (
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
33
34
35
36
|
# $NetBSD: Makefile,v 1.39 2007/08/22 18:35:30 jlam Exp $
DISTNAME= zlib-1.2.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
http://www.gzip.org/zlib/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.zlib.net/
COMMENT= General purpose data compression library
DISTFILES= # empty
EXTRACT_ONLY= # empty
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
NO_CHECKSUM= yes
USE_LIBTOOL= yes
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3
.include "../../mk/bsd.prefs.mk"
CFLAGS+= ${CPPFLAGS}
do-extract:
${CP} -r ${FILESDIR} ${WRKSRC}
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libz.la ${DESTDIR}${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/zlib.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
${INSTALL_DATA} ${WRKSRC}/zconf.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/zlib.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
|