summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoragc <agc>1998-01-15 13:53:58 +0000
committeragc <agc>1998-01-15 13:53:58 +0000
commit39e1f6afabe50573c01e3656f7c329079f3c96af (patch)
tree5483385dc1fa94fb51f7d4d1f64f32b0e972a6bf /archivers
parent8f919c501a9a9ea8e55eb1024597ed94f55bc700 (diff)
downloadpkgsrc-39e1f6afabe50573c01e3656f7c329079f3c96af.tar.gz
Upgrade to version 2.2. Fixes PR pkg/4826, from John Darrow.
Make the linked man pages (zipcloak.1, zipnote.1 and zipsplit.1) into symbolic links, as, with MANZ set, the original zip.1 manual page isn't compressed until after the post-install: target is made, which means that a link is attempted to a non-existent file.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/zip/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile
index 5a9cc6bd8a4..cc36d94c8a3 100644
--- a/archivers/zip/Makefile
+++ b/archivers/zip/Makefile
@@ -1,27 +1,21 @@
# New ports collection makefile for: zip (without encryption)
# http://infozip.cdrom.com/pub/infozip/
#
-# Version required: 2.1
+# Version required: 2.2
# Date created: 22 Dec 1994
# Whom: ache
#
-# $NetBSD: Makefile,v 1.3 1997/11/01 01:49:08 hubertf Exp $
+# $NetBSD: Makefile,v 1.4 1998/01/15 13:53:58 agc Exp $
# FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp
#
-DISTNAME= zip21
-PKGNAME= zip-2.1
+DISTNAME= zip-2.2
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
-EXTRACT_SUFX= .zip
+DISTFILES= zip22.tar.gz
MAINTAINER= ache@FreeBSD.ORG
-BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-
-EXTRACT_CMD= unzip
-EXTRACT_ARGS= -oq
-NO_WRKSUBDIR= yes
MAKEFILE= unix/Makefile
MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" -f
ALL_TARGET= generic
@@ -35,13 +29,13 @@ do-install:
post-install:
.if defined(MANZ)
- ln ${PREFIX}/man/man1/zip.1.gz ${PREFIX}/man/man1/zipcloak.1.gz
- ln ${PREFIX}/man/man1/zip.1.gz ${PREFIX}/man/man1/zipnote.1.gz
- ln ${PREFIX}/man/man1/zip.1.gz ${PREFIX}/man/man1/zipsplit.1.gz
+ ln -fs ${PREFIX}/man/man1/zip.1.gz ${PREFIX}/man/man1/zipcloak.1.gz
+ ln -fs ${PREFIX}/man/man1/zip.1.gz ${PREFIX}/man/man1/zipnote.1.gz
+ ln -fs ${PREFIX}/man/man1/zip.1.gz ${PREFIX}/man/man1/zipsplit.1.gz
.else
- ln ${PREFIX}/man/man1/zip.1 ${PREFIX}/man/man1/zipcloak.1
- ln ${PREFIX}/man/man1/zip.1 ${PREFIX}/man/man1/zipnote.1
- ln ${PREFIX}/man/man1/zip.1 ${PREFIX}/man/man1/zipsplit.1
+ ln -fs ${PREFIX}/man/man1/zip.1 ${PREFIX}/man/man1/zipcloak.1
+ ln -fs ${PREFIX}/man/man1/zip.1 ${PREFIX}/man/man1/zipnote.1
+ ln -fs ${PREFIX}/man/man1/zip.1 ${PREFIX}/man/man1/zipsplit.1
.endif
.include <bsd.port.mk>