aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/zip
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-04-21 22:59:10 +0800
committerache <ache@FreeBSD.org>2000-04-21 22:59:10 +0800
commit78dc8959fbc60a0dabc3fb7839f6447d4f50c7c9 (patch)
tree83608baa9f4da855963f81233e454f14d41a65e3 /archivers/zip
parent6240693f9b639062548ee7d38af3c24a6e578757 (diff)
downloadfreebsd-ports-gnome-78dc8959fbc60a0dabc3fb7839f6447d4f50c7c9.tar.gz
freebsd-ports-gnome-78dc8959fbc60a0dabc3fb7839f6447d4f50c7c9.tar.zst
freebsd-ports-gnome-78dc8959fbc60a0dabc3fb7839f6447d4f50c7c9.zip
Use exportable from USA encryption
Update URLs/MASTER_SITE
Diffstat (limited to 'archivers/zip')
-rw-r--r--archivers/zip/Makefile19
-rw-r--r--archivers/zip/distinfo1
-rw-r--r--archivers/zip/pkg-descr2
3 files changed, 16 insertions, 6 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile
index e504aca204c6..5443e7f55974 100644
--- a/archivers/zip/Makefile
+++ b/archivers/zip/Makefile
@@ -1,4 +1,5 @@
-# New ports collection makefile for: zip (without encryption)
+# New ports collection makefile for: zip
+# ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html
# Date created: 22 Dec 1994
# Whom: ache
#
@@ -8,18 +9,26 @@
PORTNAME= zip
PORTVERSION= 2.3
CATEGORIES= archivers
-MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
-DISTNAME= zip23
+MASTER_SITES= ftp://ftp.freesoftware.com/pub/infozip/src/
+ZCRYPT_SRC= zcrypt29-exportable.zip
+DISTFILES= zip23${EXTRACT_SUFX} ${ZCRYPT_SRC}
MAINTAINER= ache@FreeBSD.org
-Y2K= http://www.cdrom.com/pub/infozip/FAQ.html#Y2K
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-WRKSRC= ${WRKDIR}/zip-2.3
+Y2K= ftp://ftp.info-zip.org/pub/infozip/FAQ.html#Y2K
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+EXTRACT_ONLY= zip23${EXTRACT_SUFX}
MAKEFILE= unix/Makefile
+MAKE_FLAGS= LOCAL_ZIP="-DUSE_CRYPT" -f
ALL_TARGET= generic
MAN1= zip.1
+post-extract:
+ unzip -q -aa -o ${_DISTDIR}${ZCRYPT_SRC} -d ${WRKSRC} -x WHERE
+
do-install:
.for file in zip zipcloak zipnote zipsplit
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
diff --git a/archivers/zip/distinfo b/archivers/zip/distinfo
index 464bc7b760ec..c90febafcb44 100644
--- a/archivers/zip/distinfo
+++ b/archivers/zip/distinfo
@@ -1 +1,2 @@
MD5 (zip23.tar.gz) = 5206a99541f3b0ab90f1baa167392c4f
+MD5 (zcrypt29-exportable.zip) = 542bc27e8f3391b7fa0d080d547ed01a
diff --git a/archivers/zip/pkg-descr b/archivers/zip/pkg-descr
index 38ac9ad56dfa..3f62adee27ee 100644
--- a/archivers/zip/pkg-descr
+++ b/archivers/zip/pkg-descr
@@ -3,4 +3,4 @@ PKZIP 2.04g (Phil Katz ZIP) for MSDOS systems. There is a companion to zip
called unzip (of course) which you can also install from the ports/package
system.
-WWW: http://www.cdrom.com/pub/infozip/Zip.html
+WWW: ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html