1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/archivers/unzip/Makefile

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: unzip
# Date created: 17 October 1994
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= unzip-5.40
PORTVERSION= unzip-5.40
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
DISTNAME= unzip540
MAINTAINER= ache@FreeBSD.org
Y2K= http://www.cdrom.com/pub/infozip/FAQ.html#Y2K
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 <bsd.port.mk>
.if ${ARCH} == "alpha"
ALL_TARGET= bsd
.else
ALL_TARGET= freebsd
.endif