Add zipgrep, misc cleanup

This commit is contained in:
Andrey A. Chernov 1997-04-27 15:58:17 +00:00
parent 510968b990
commit 006db1df9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6332

View File

@ -1,24 +1,39 @@
# New ports collection makefile for: unzip
# Version required: 5.3
# Date created: 17 October 1994
# Whom: jmz
# New ports collection makefile for: unzip.with_encryption
# http://infozip.cdrom.com/pub/infozip/
#
# $Id: Makefile,v 1.8 1997/01/06 21:43:22 ache Exp $
# Version required: 5.3
# Date created: 22 Dec 1994
# Whom: ache
#
# $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>