mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
35 lines
1007 B
Makefile
35 lines
1007 B
Makefile
# New ports collection makefile for: unzip
|
|
# Version required: 5.3.1
|
|
# Date created: 17 October 1994
|
|
# Whom: jmz
|
|
#
|
|
# $Id: Makefile,v 1.13 1997/04/30 02:00:21 ache Exp $
|
|
#
|
|
|
|
DISTNAME= unzip-5.3.1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
|
|
DISTFILES= unzip531.tar.gz
|
|
|
|
MAINTAINER= ache@FreeBSD.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>
|