ed87557c12
Thanks to Clarence Wilkerson.
35 lines
1003 B
Makefile
35 lines
1003 B
Makefile
# OpenBSD makefile for: unzip
|
|
# Version required: 5.3.1
|
|
# Date created: 24 Nov 1997
|
|
# Whom: angelos
|
|
#
|
|
# $OpenBSD: Makefile,v 1.2 1997/11/27 22:22:03 angelos Exp $
|
|
#
|
|
|
|
DISTNAME= unzip-5.3.1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
|
|
DISTFILES= unzip531.tar.gz
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
NO_WRKSUBDIR= YES
|
|
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 Where COPYING ${PREFIX}/share/doc/unzip
|
|
|
|
.include <bsd.port.mk>
|