summaryrefslogtreecommitdiff
path: root/archivers/unzip/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-04-20 03:13:55 +0000
committerwiz <wiz>2000-04-20 03:13:55 +0000
commitf6cf1d4bc124dc6232cefa40ea556fcb09dc2d91 (patch)
treeb46b04720e0fde8e09a611c5591eb8042d3ab572 /archivers/unzip/Makefile
parente66b86c56ebc808820fa9d845bc45306439283e4 (diff)
downloadpkgsrc-f6cf1d4bc124dc6232cefa40ea556fcb09dc2d91.tar.gz
Update to unzip-5.41. Includes decryption support by default. Other
changes include some bugfixes, a new BSD-like license, as well as support for archives with more than 2^16-1 files. Zlib support still broken, so we use the one coming with the distribution.
Diffstat (limited to 'archivers/unzip/Makefile')
-rw-r--r--archivers/unzip/Makefile41
1 files changed, 12 insertions, 29 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index 540e1c65a87..391f12998d7 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.21 1999/12/28 03:59:00 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2000/04/20 03:13:55 wiz Exp $
# FreeBSD Id: Makefile,v 1.14 1997/06/19 05:30:04 ache Exp
#
-DISTNAME= unzip-5.40
+DISTNAME= unzip541
+PKGNAME= unzip-5.41
+WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= archivers
-MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ \
+MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/ \
ftp://ftp.icce.rug.nl/infozip/src/
-DISTFILES= unzip540.tar.gz
MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.cdrom.com/pub/infozip/
+HOMEPAGE= ftp://ftp.info-zip.org/pub/infozip/UnZip.html
MAKEFILE= unix/Makefile
ALL_TARGET= unzips
@@ -20,32 +21,14 @@ BUILD_DEFS+= ZIP_ENCRYPTION
.include "../../mk/bsd.prefs.mk"
-.if defined(ZIP_ENCRYPTION)
-DISTFILES+= zcrypt28.zip
-EXTRACT_ONLY= unzip540.tar.gz
-RESTRICTED= crypto
-MIRROR_DISTFILE=no
-
-# This bootstrap is ugly, but zcrypt is only shipped as a zipfile.
-pre-build:
- @cd ${WRKSRC}; ${TEST} -f README.CR || ( \
- ${ECHO} '*** Building stage 1 of 2--unzip without encryption.' && \
- ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} unzip && \
- ./unzip -qo ${DISTDIR}/zcrypt28.zip && \
- ${RM} -f *.o unzip )
- @${ECHO} '*** Building stage 2 of 2--unzip with encryption.'
-.endif
-
do-install:
- cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} unzip funzip unzipsfx ${PREFIX}/bin
+ 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}/unix && \
- ${INSTALL_MAN} funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1 ${PREFIX}/man/man1
+ 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} README WHERE COPYING ${PREFIX}/share/doc/unzip
+ cd ${WRKSRC} && ${INSTALL_DATA} COPYING LICENSE README WHERE \
+ ${PREFIX}/share/doc/unzip
.include "../../mk/bsd.pkg.mk"