Fix the config file location references in the man pages, noted in

pkg/13900 by Don Yuniskis <auryn@gci-net.com>.  The changes were based on
the suggested fix in the PR, but modified to correctly deal with
LOCALBASE =/= "/usr/pkg" case.
This commit is contained in:
jlam 2001-09-14 18:47:16 +00:00
parent ab5ef29ccf
commit 3c869f1bd4
4 changed files with 42 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2001/07/15 11:26:02 jlam Exp $
# $NetBSD: Makefile,v 1.8 2001/09/14 18:47:16 jlam Exp $
DISTNAME= freeze-2.5
CATEGORIES= archivers
@ -11,4 +11,11 @@ USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
ALL_TARGET= prog
post-patch:
cd ${WRKSRC}; for file in *.1; do \
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.3 2001/07/15 11:26:02 jlam Exp $
$NetBSD: distinfo,v 1.4 2001/09/14 18:47:16 jlam Exp $
SHA1 (freeze-2.5.tar.gz) = 07b94508fcd95d35236a4090257aa402fd623812
Size (freeze-2.5.tar.gz) = 36402 bytes
SHA1 (patch-aa) = 659c035cddef121a2e971f82593f67a9a5bc100f
SHA1 (patch-ab) = ee451389539442c392830c7da252ac836d4a5adf
SHA1 (patch-ac) = 17b2b3b5514f7dea67ecfe969d8f6e988b5fad40

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2001/09/14 18:47:16 jlam Exp $
--- freeze.1.orig Wed Feb 24 08:36:57 1993
+++ freeze.1
@@ -109,7 +109,7 @@
of following files in the command string. An explicite definition
of the file's type can give up to 2% of additional compression.
The list of types is stored in file
-.IR /usr/local/lib/freeze.cnf .
+.IR @PREFIX@/lib/freeze.cnf .
Types may be abbreviated while not ambigious. You can also determine
values for the static Huffman table by using a list of 8 numbers
separated by commas instead of

View file

@ -0,0 +1,18 @@
$NetBSD: patch-ac,v 1.1 2001/09/14 18:47:16 jlam Exp $
--- statist.1.orig Wed Feb 24 08:36:59 1993
+++ statist.1
@@ -102,11 +102,8 @@
percentiles and sigma) are FYI only.
.PP
You may create the
-.IR /etc/default/freeze
-file (if you don't like
-.IR /etc/default/
-directory, choose another - in MS-DOS it is FREEZE.CNF in
-the directory of FREEZE.EXE), which has the following format:
+.IR @PREFIX@/lib/freeze.cnf
+file, which has the following format:
.in +8
.I name
=