summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-05-15 23:02:07 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-05-15 23:02:07 +0000
commitcff81d0b576db29d2d5a65f680ee4c6cd631ff87 (patch)
treea510d370e767732724c5e3ac81ced7e5a5dd6d59 /shells/zsh
parentAdd rar (diff)
Conditionalize man page compression on NOMANCOMPRESS. Use a .for loop
instead of a humongous gzip command line.
Notes
Notes: svn path=/head/; revision=3088
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 7ef8a859327b..b7ec3f77f3fb 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 Feb. 1995
# Whom: torstenb
#
-# $Id: Makefile,v 1.14 1996/03/06 17:57:37 torstenb Exp $
+# $Id: Makefile,v 1.15 1996/05/15 18:39:29 torstenb Exp $
#
DISTNAME= zsh-2.6-beta17
@@ -23,9 +23,11 @@ MAINTAINER= torstenb@FreeBSD.ORG
GNU_CONFIGURE= yes
post-install:
- gzip -9nf ${PREFIX}/man/man1/zsh.1 ${PREFIX}/man/man1/zshbuiltins.1 \
- ${PREFIX}/man/man1/zshcompctl.1 ${PREFIX}/man/man1/zshexpn.1 \
- ${PREFIX}/man/man1/zshmisc.1 ${PREFIX}/man/man1/zshoptions.1 \
- ${PREFIX}/man/man1/zshparam.1 ${PREFIX}/man/man1/zshzle.1
+.if !defined(NOMANCOMPRESS)
+.for man in zsh zshbuiltins zshcompctl zshexpn zshmisc zshoptions \
+ zshparam zshzle
+ gzip -9nf ${PREFIX}/man/man1/${man}.1
+.endfor
+.endif
.include <bsd.port.mk>