openbsd-ports/archivers/unzip/Makefile
1999-09-06 17:40:58 +00:00

29 lines
855 B
Makefile

# $OpenBSD: Makefile,v 1.9 1999/09/06 17:40:58 brad Exp $
DISTNAME= unzip540
PKGNAME= unzip-5.40
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
MAINTAINER= ports@openbsd.org
WRKSRC= ${WRKDIR}/${PKGNAME}
MAKEFILE= unix/Makefile
ALL_TARGET= bsd
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 <bsd.port.mk>