pkgsrc/archivers/unzip/Makefile
fredb fa0e104971 From the release notes:
The 5.42 maintance release fixes more bugs and cleans up the redistribution
conditions:

   - removal of unreduce.c and amiga/timelib.c code to get rid of the last
     distribution restrictions beyond the BSD-like Info-ZIP LICENSE
   - new generic timelib replacement (currently used by AMIGA port)
   - more reasonable mapping rules of UNIX "leading-dot" filenames to the
     DOS 8.3 name convention
   - repaired screensize detection in MORE paging code
     (was broken for DOS/OS2/WIN32 in 5.41)
2001-02-15 17:51:46 +00:00

32 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2001/02/15 17:51:46 fredb Exp $
# FreeBSD Id: Makefile,v 1.14 1997/06/19 05:30:04 ache Exp
#
DISTNAME= unzip542
PKGNAME= unzip-5.42
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= archivers
COMMENT= List, test and extract compressed files in a ZIP archive
MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/ \
ftp://ftp.icce.rug.nl/infozip/src/ \
ftp://uiarchive.cso.uiuc.edu/pub/packages/zip/src/
MAINTAINER= packages@netbsd.org
HOMEPAGE= ftp://ftp.info-zip.org/pub/infozip/UnZip.html
MAKEFILE= unix/Makefile
ALL_TARGET= unzips
# we do not use USE_ZLIB because of unknown bugs in 5.40's use of libz
MAKE_FLAGS= CF="${CFLAGS} -I. -DBSD -DUNIX -Dunix -DUSE_UNSHRINK"
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} unzip funzip unzipsfx ${PREFIX}/bin
${LN} -sf unzip ${PREFIX}/bin/zipinfo
cd ${WRKSRC}/unix && ${INSTALL_SCRIPT} zipgrep ${PREFIX}/bin
cd ${WRKSRC}/man && ${INSTALL_MAN} funzip.1 unzip.1 unzipsfx.1 \
zipgrep.1 zipinfo.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unzip
cd ${WRKSRC} && ${INSTALL_DATA} BUGS COPYING.OLD LICENSE README WHERE \
${PREFIX}/share/doc/unzip
.include "../../mk/bsd.pkg.mk"