1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Use ${COMPRESS_MAN} to compress man pages.

This commit is contained in:
Masafumi Max NAKANE 1996-11-05 04:14:42 +00:00
parent 637163fe4b
commit 7b05adff0e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4297
7 changed files with 25 additions and 31 deletions

View File

@ -4,7 +4,7 @@
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# NIIMI Satoshi <sa2c@and.or.jp>
#
# $Id: Makefile,v 1.10 1996/09/18 08:01:10 max Exp $
# $Id: Makefile,v 1.11 1996/09/18 12:20:22 max Exp $
#
DISTNAME= Canna32p2
@ -36,10 +36,10 @@ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
post-install:
/sbin/ldconfig -m ${PREFIX}/lib
.if !defined(NOMANCOMPRESS)
for f in ${MAN3PAGES} ; do gzip -9nf ${PREFIX}/man/man3/$$f ; done
for f in ${MAN1PAGES} ; do gzip -9nf ${PREFIX}/man/man1/$$f ; done
.endif
for f in ${MAN3PAGES} ; do \
${COMPRESS_MAN} ${PREFIX}/man/man3/$$f ; done
for f in ${MAN1PAGES} ; do \
${COMPRESS_MAN} ${PREFIX}/man/man1/$$f ; done
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
echo "Installing ${STARTUP_SCRIPT} startup file."; \
echo '#!/bin/sh' > ${STARTUP_SCRIPT}; \

View File

@ -4,7 +4,7 @@
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# NIIMI Satoshi <sa2c@and.or.jp>
#
# $Id: Makefile,v 1.10 1996/09/18 08:01:10 max Exp $
# $Id: Makefile,v 1.11 1996/09/18 12:20:22 max Exp $
#
DISTNAME= Canna32p2
@ -36,10 +36,10 @@ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
post-install:
/sbin/ldconfig -m ${PREFIX}/lib
.if !defined(NOMANCOMPRESS)
for f in ${MAN3PAGES} ; do gzip -9nf ${PREFIX}/man/man3/$$f ; done
for f in ${MAN1PAGES} ; do gzip -9nf ${PREFIX}/man/man1/$$f ; done
.endif
for f in ${MAN3PAGES} ; do \
${COMPRESS_MAN} ${PREFIX}/man/man3/$$f ; done
for f in ${MAN1PAGES} ; do \
${COMPRESS_MAN} ${PREFIX}/man/man1/$$f ; done
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
echo "Installing ${STARTUP_SCRIPT} startup file."; \
echo '#!/bin/sh' > ${STARTUP_SCRIPT}; \

View File

@ -4,7 +4,7 @@
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# NIIMI Satoshi <sa2c@and.or.jp>
#
# $Id: Makefile,v 1.10 1996/09/18 08:01:10 max Exp $
# $Id: Makefile,v 1.11 1996/09/18 12:20:22 max Exp $
#
DISTNAME= Canna32p2
@ -36,10 +36,10 @@ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
post-install:
/sbin/ldconfig -m ${PREFIX}/lib
.if !defined(NOMANCOMPRESS)
for f in ${MAN3PAGES} ; do gzip -9nf ${PREFIX}/man/man3/$$f ; done
for f in ${MAN1PAGES} ; do gzip -9nf ${PREFIX}/man/man1/$$f ; done
.endif
for f in ${MAN3PAGES} ; do \
${COMPRESS_MAN} ${PREFIX}/man/man3/$$f ; done
for f in ${MAN1PAGES} ; do \
${COMPRESS_MAN} ${PREFIX}/man/man1/$$f ; done
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
echo "Installing ${STARTUP_SCRIPT} startup file."; \
echo '#!/bin/sh' > ${STARTUP_SCRIPT}; \

View File

@ -3,7 +3,7 @@
# Date created: 30 Mar. 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
# $Id: Makefile,v 1.4 1996/09/20 22:44:41 max Exp $
# $Id: Makefile,v 1.5 1996/09/20 23:15:33 asami Exp $
#
DISTNAME= dvi2tty5.0
@ -26,11 +26,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin ; done)
${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${PREFIX}/man/man1
-ln -sf ${PREFIX}/bin/jdvi2tty ${PREFIX}/bin/dvi2tty
${COMPRESS_MAN} ${PREFIX}/man/man1/dvi2tty.1
.if !defined(NOMANCOMPRESS)
@gzip -9f ${PREFIX}/man/man1/dvi2tty.1
@ln -sf ${PREFIX}/man/man1/dvi2tty.1.gz ${PREFIX}/man/man1/jdvi2tty.1.gz
ln -sf ${PREFIX}/man/man1/dvi2tty.1.gz ${PREFIX}/man/man1/jdvi2tty.1.gz
.else
@ln -sf ${PREFIX}/man/man1/dvi2tty.1 ${PREFIX}/man/man1/jdvi2tty.1
ln -sf ${PREFIX}/man/man1/dvi2tty.1 ${PREFIX}/man/man1/jdvi2tty.1
.endif
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 02 May 1996
# Whom: Masafumi
#
# $Id: Makefile,v 1.2 1996/09/17 15:07:23 max Exp $
# $Id: Makefile,v 1.3 1996/09/23 01:33:33 max Exp $
#
DISTNAME= ircii-2.8.2
@ -24,8 +24,6 @@ GNU_CONFIGURE= yes
post-install:
cp -R ${WRKDIR}/help ${PREFIX}/lib/irc/
${INSTALL_MAN} ${WRKSRC}/doc/ircII.1 ${PREFIX}/man/man1/irc.1
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/irc.1
.endif
${COMPRESS_MAN} ${PREFIX}/man/man1/irc.1
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 03 May 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
# $Id: Makefile,v 1.2 1996/09/17 15:07:53 max Exp $
# $Id: Makefile,v 1.3 1996/09/18 12:36:58 max Exp $
#
DISTNAME= qkcc100
@ -25,9 +25,7 @@ ALL_TARGET=
do-install:
install -cs -o bin -g bin -m 755 ${WRKSRC}/qkc ${PREFIX}/bin
install -c -m 644 -o bin -g bin ${WRKSRC}/qkc.1 ${PREFIX}/man/man1
.if !defined(NOMANCOMPRESS)
post-install:
gzip -9nf ${PREFIX}/man/man1/qkc.1
.endif
${COMPRESS_MAN} ${PREFIX}/man/man1/qkc.1
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 22 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
# $Id: porting.sgml,v 1.16 1996/03/21 14:15:01 asami Exp $
# $Id: Makefile,v 1.1.1.1 1996/09/25 20:36:31 max Exp $
#
DISTNAME= telnetx+transit.src.940401
@ -26,8 +26,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/telnet/telnet ${PREFIX}/bin/telnetx
${INSTALL_PROGRAM} ${WRKSRC}/transit/transit ${PREFIX}/bin/transit
${INSTALL_MAN} ${WRKSRC}/telnet/telnet.1 ${PREFIX}/man/man1/telnetx.1
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/telnetx.1
.endif
${COMPRESS_MAN} ${PREFIX}/man/man1/telnetx.1
.include <bsd.port.mk>