# New ports collection makefile for: unzip # Version required: 5.* # Date created: 17 October 1994 # Whom: jmz # # $Id: Makefile,v 1.22 1998/12/28 01:43:34 ache Exp $ # DISTNAME= unzip540 PKGNAME= unzip-5.40 CATEGORIES= archivers MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ MAINTAINER= ache@FreeBSD.ORG Y2K= http://www.cdrom.com/pub/infozip/FAQ.html#Y2K WWW_SITE= http://www.cdrom.com/pub/infozip/UnZip.html WRKSRC= ${WRKDIR}/unzip-5.40 MAKEFILE= unix/Makefile MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS} -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 ${INSTALL} -d -m 555 -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/share/doc/unzip cd ${WRKSRC} && \ ${INSTALL_DATA} README COPYING WHERE ${PREFIX}/share/doc/unzip .include .if ${ARCH} == "alpha" ALL_TARGET= bsd .else ALL_TARGET= freebsd .endif