mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
3bd19ba415
Submitted by: markm
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
# New ports collection makefile for: unzip
|
|
# Version required: 5.3.2
|
|
# Date created: 17 October 1994
|
|
# Whom: jmz
|
|
#
|
|
# $Id: Makefile,v 1.15 1997/09/18 22:23:50 ache Exp $
|
|
#
|
|
|
|
DISTNAME= unzip-5.3.2
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
|
|
DISTFILES= unzip532.tar.gz
|
|
|
|
MAINTAINER= ache@FreeBSD.ORG
|
|
|
|
WRKSRC= ${WRKDIR}/unzip-5.32
|
|
MAKEFILE= unix/Makefile
|
|
ALL_TARGET= freebsd
|
|
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>
|