blob: 33f9ba7bee2ba8e0ba1a90726f70237cfc426252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: unzip
# Version required: 5.3.1
# Date created: 17 October 1994
# Whom: jmz
#
# $NetBSD: Makefile,v 1.3 1997/10/27 03:22:25 hubertf Exp $
# FreeBSD Id: Makefile,v 1.14 1997/06/19 05:30:04 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>
|