diff options
author | asami <asami@FreeBSD.org> | 1996-05-15 23:02:07 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-05-15 23:02:07 +0000 |
commit | 505b4b012ffc7aeb52ee881235518e820e8577e9 (patch) | |
tree | f304439127f918ad8c70f6306622bc87ddb058d1 /shells | |
parent | 59fda4cffd92220d4d74bf724e8d8c0ce8e899ca (diff) | |
download | FreeBSD-ports-505b4b012ffc7aeb52ee881235518e820e8577e9.zip FreeBSD-ports-505b4b012ffc7aeb52ee881235518e820e8577e9.tar.gz |
Conditionalize man page compression on NOMANCOMPRESS. Use a .for loop
instead of a humongous gzip command line.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/zsh-devel/Makefile | 12 | ||||
-rw-r--r-- | shells/zsh/Makefile | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/shells/zsh-devel/Makefile b/shells/zsh-devel/Makefile index 7ef8a85..b7ec3f7 100644 --- a/shells/zsh-devel/Makefile +++ b/shells/zsh-devel/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> diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 7ef8a85..b7ec3f7 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> |