1997-04-27 15:59:18 +00:00
|
|
|
# New ports collection makefile for: unzip
|
1998-12-28 01:43:39 +00:00
|
|
|
# Version required: 5.*
|
1997-04-27 15:59:18 +00:00
|
|
|
# Date created: 17 October 1994
|
|
|
|
# Whom: jmz
|
1995-04-15 04:45:25 +00:00
|
|
|
#
|
1999-08-25 04:25:23 +00:00
|
|
|
# $FreeBSD$
|
1995-04-15 04:45:25 +00:00
|
|
|
#
|
|
|
|
|
1998-12-28 01:43:39 +00:00
|
|
|
DISTNAME= unzip540
|
|
|
|
PKGNAME= unzip-5.40
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= archivers
|
1997-04-27 15:59:18 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
|
1996-05-04 12:30:48 +00:00
|
|
|
|
|
|
|
MAINTAINER= ache@FreeBSD.ORG
|
1995-04-15 04:45:25 +00:00
|
|
|
|
1999-03-12 15:28:44 +00:00
|
|
|
Y2K= http://www.cdrom.com/pub/infozip/FAQ.html#Y2K
|
|
|
|
|
1998-12-28 01:43:39 +00:00
|
|
|
WRKSRC= ${WRKDIR}/unzip-5.40
|
1994-12-23 10:53:21 +00:00
|
|
|
MAKEFILE= unix/Makefile
|
1997-04-29 13:07:20 +00:00
|
|
|
MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK" -f
|
1997-04-27 15:58:17 +00:00
|
|
|
MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_PROGRAM} unzip funzip unzipsfx ${PREFIX}/bin
|
1999-08-28 01:58:05 +00:00
|
|
|
${LN} -sf unzip ${PREFIX}/bin/zipinfo
|
1997-04-27 15:58:17 +00:00
|
|
|
cd ${WRKSRC}/unix && \
|
|
|
|
${INSTALL_SCRIPT} zipgrep ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/unix && \
|
|
|
|
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
|
1997-11-24 13:09:42 +00:00
|
|
|
${INSTALL} -d -m 555 -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/share/doc/unzip
|
1997-04-30 02:00:27 +00:00
|
|
|
cd ${WRKSRC} && \
|
1997-11-24 13:09:42 +00:00
|
|
|
${INSTALL_DATA} README COPYING WHERE ${PREFIX}/share/doc/unzip
|
1994-10-17 22:57:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
1998-10-05 03:41:16 +00:00
|
|
|
|
|
|
|
.if ${ARCH} == "alpha"
|
|
|
|
ALL_TARGET= bsd
|
|
|
|
.else
|
|
|
|
ALL_TARGET= freebsd
|
|
|
|
.endif
|