Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 1996 13:58:43 -0800
From:      "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/1108: psutils port does not compress man pages
Message-ID:  <199603282158.NAA02455@relay.nuxi.com>
Resent-Message-ID: <199603282200.OAA10647@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1108
>Category:       ports
>Synopsis:       psutils port does not compress man pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 28 14:00:02 PST 1996
>Last-Modified:
>Originator:     David E. O'Brien
>Organization:
University of California, Davis
>Release:        FreeBSD 2.1.0-RELEASE i386
>Environment:

	ports-current

>Description:

	The port for psutils does not compress manpages on install.

>How-To-Repeat:

	cd psutils ; make ; make install ; ls -l /usr/local/man/man1/psnup.1

>Fix:
	

--- Makefile.orig	Wed Nov 22 09:06:45 1995
+++ Makefile	Thu Mar 28 13:59:08 1996
@@ -16,7 +16,29 @@
 
 pre-install:
 	@mkdir -p ${PREFIX}/share/psutils
-	@mkdir -p ${PREFIX}/man/man1
+	@mkdir -p ${PREFIX}/share/man/man1
 	@mkdir -p ${PREFIX}/bin
+
+post-install:
+.if !defined(NOMANCOMPRESS)
+	gzip -9nf ${PREFIX}/share/man/man1/psbook.1 
+	gzip -9nf ${PREFIX}/share/man/man1/psselect.1 
+	gzip -9nf ${PREFIX}/share/man/man1/pstops.1 
+	gzip -9nf ${PREFIX}/share/man/man1/epsffit.1 
+	gzip -9nf ${PREFIX}/share/man/man1/psnup.1 
+	gzip -9nf ${PREFIX}/share/man/man1/psresize.1 
+	gzip -9nf ${PREFIX}/share/man/man1/getafm.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixdlsrps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixfmps.1
+	gzip -9nf ${PREFIX}/share/man/man1/fixmacps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixpsditps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixpspps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixtpps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixwfwps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/fixwpps.1
+	gzip -9nf ${PREFIX}/share/man/man1/fixwwps.1 
+	gzip -9nf ${PREFIX}/share/man/man1/extractres.1 
+	gzip -9nf ${PREFIX}/share/man/man1/includeres.1
+.endif
 
 .include <bsd.port.mk>
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603282158.NAA02455>