aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-04-27 23:58:17 +0800
committerache <ache@FreeBSD.org>1997-04-27 23:58:17 +0800
commit00575220bc66f7619ab55c4c71722c04fa68c011 (patch)
treeea25950e924cadeb06b51265e1b021c3cb02990a /archivers
parentee757aa9f4d84468281fdaee3a9d9766f3fa2d80 (diff)
downloadfreebsd-ports-gnome-00575220bc66f7619ab55c4c71722c04fa68c011.tar.gz
freebsd-ports-gnome-00575220bc66f7619ab55c4c71722c04fa68c011.tar.zst
freebsd-ports-gnome-00575220bc66f7619ab55c4c71722c04fa68c011.zip
Add zipgrep, misc cleanup
Diffstat (limited to 'archivers')
-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>