summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-14 18:47:16 +0000
committerjlam <jlam@pkgsrc.org>2001-09-14 18:47:16 +0000
commit3c869f1bd4dbc50371da7b5420edcab20baff913 (patch)
treec3e4522a25abf1be502294bbcc0af8aa6c1f672d
parentab5ef29ccf7305afd31fcd18dca9b62207bec925 (diff)
downloadpkgsrc-3c869f1bd4dbc50371da7b5420edcab20baff913.tar.gz
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.
-rw-r--r--archivers/freeze/Makefile9
-rw-r--r--archivers/freeze/distinfo4
-rw-r--r--archivers/freeze/patches/patch-ab13
-rw-r--r--archivers/freeze/patches/patch-ac18
4 files changed, 42 insertions, 2 deletions
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile
index 3ce66659c9f..a847534ef95 100644
--- a/archivers/freeze/Makefile
+++ b/archivers/freeze/Makefile
@@ -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"
diff --git a/archivers/freeze/distinfo b/archivers/freeze/distinfo
index 79807f28670..66cfe163b9c 100644
--- a/archivers/freeze/distinfo
+++ b/archivers/freeze/distinfo
@@ -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
diff --git a/archivers/freeze/patches/patch-ab b/archivers/freeze/patches/patch-ab
new file mode 100644
index 00000000000..d814823bb3b
--- /dev/null
+++ b/archivers/freeze/patches/patch-ab
@@ -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
diff --git a/archivers/freeze/patches/patch-ac b/archivers/freeze/patches/patch-ac
new file mode 100644
index 00000000000..61b367b5f6e
--- /dev/null
+++ b/archivers/freeze/patches/patch-ac
@@ -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
+ =