From 00575220bc66f7619ab55c4c71722c04fa68c011 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 27 Apr 1997 15:58:17 +0000 Subject: Add zipgrep, misc cleanup --- archivers/unzip/Makefile | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) (limited to 'archivers') diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index e0ae1c8..f5baffb 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 -- cgit v1.1