blob: cdd9b26fe62dad0990681bf72343e11c94f11c1c (
plain) (
blame)
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
36
37
38
39
40
41
42
|
# New ports collection makefile for: unzip
# ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html
# Date created: 17 October 1994
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= unzip
PORTVERSION= 5.41
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.freesoftware.com/pub/infozip/src/
DISTNAME= unzip541
MAINTAINER= ache@FreeBSD.org
Y2K= ftp://ftp.info-zip.org/pub/infozip/FAQ.html#Y2K
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE= unix/Makefile
MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS} -DUSE_SMITH_CODE -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}/man && \
${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
|