33 lines
889 B
Makefile
33 lines
889 B
Makefile
# $NetBSD: Makefile,v 1.40 2007/08/22 18:36:09 jlam Exp $
|
|
|
|
DISTNAME= zlib-1.2.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
|
|
http://www.gzip.org/zlib/
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://www.zlib.net/
|
|
COMMENT= General purpose data compression library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
NO_CHECKSUM= yes
|
|
EXTRACT_ONLY= # empty
|
|
USE_LIBTOOL= yes
|
|
|
|
CFLAGS+= ${CPPFLAGS}
|
|
|
|
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3
|
|
|
|
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"
|