aboutsummaryrefslogtreecommitdiff
path: root/archivers/unzip
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-04-27 15:58:17 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-04-27 15:58:17 +0000
commit006db1df9abde2c011e2b66f86523d1576dfd46e (patch)
tree128a4194b378314e32c6203e33871667eb17f166 /archivers/unzip
parent510968b990061c565b7e2c2f1541c9030aa6d30b (diff)
downloadports-006db1df9abde2c011e2b66f86523d1576dfd46e.tar.gz
ports-006db1df9abde2c011e2b66f86523d1576dfd46e.zip
Notes
Diffstat (limited to 'archivers/unzip')
-rw-r--r--archivers/unzip/Makefile39
1 files changed, 27 insertions, 12 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index e0ae1c8e7324..f5baffbb0217 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -1,24 +1,39 @@
-# New ports collection makefile for: unzip
+# New ports collection makefile for: unzip.with_encryption
+# http://infozip.cdrom.com/pub/infozip/
+#
# Version required: 5.3
-# Date created: 17 October 1994
-# Whom: jmz
+# Date created: 22 Dec 1994
+# Whom: ache
#
-# $Id: Makefile,v 1.8 1997/01/06 21:43:22 ache Exp $
+# $Id: Makefile,v 1.22 1997/01/06 21:40:46 ache Exp $
#
-DISTNAME= unzip-5.3
+DISTNAME= unzip53
+PKGNAME= unzip+crypt-5.3
CATEGORIES= archivers
-MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
-DISTFILES= unzip53.tar.gz
+MASTER_SITES= ftp://ftp.icce.rug.nl/infozip/OLD/beta/
+DISTFILES= unzip53.zip zcrypt27.zip
MAINTAINER= ache@FreeBSD.ORG
-NO_WRKSUBDIR= YES
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+RESTRICTED= "This program can't be imported/re-exported from USA"
+EXTRACT_CMD= unzip
+EXTRACT_ARGS= -oq
+NO_WRKSUBDIR= yes
MAKEFILE= unix/Makefile
ALL_TARGET= bsd
-MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS}" \
- INSTALL="install -c -o bin -g bin" \
- prefix=${PREFIX} -f
-MAN1= funzip.1 unzip.1 unzipsfx.1 zipinfo.1
+MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS} -DUSE_SMITH_CODE -DUSE_UNSHRINK" -f
+MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
+
+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}/unix && \
+ ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
.include <bsd.port.mk>