summaryrefslogtreecommitdiff
path: root/net/tinyfugue/patches/patch-ab
blob: 1167d5c6f209284e451676bc377820c7a9cee782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ab,v 1.3 1998/08/07 11:11:01 agc Exp $

--- unix/Config.orig	Fri Apr  4 11:51:58 1997
+++ unix/Config	Mon Jun 16 18:18:29 1997
@@ -33,9 +33,12 @@
 #   even if an old version is currently in use.  You can remove
 #   the old version manually later when it is no longer in use.
 
-# TF="/usr/local/bin/tf-${TFVER}"
-# LIBDIR="/usr/local/lib/tf-${TFVER}-lib"
-# SYMLINK="/usr/local/bin/tf"
+if [ -z "${PREFIX}" ]; then 
+  PREFIX="/usr/pkg" 
+fi
+TF="${PREFIX}/bin/tf-${TFVER}"
+LIBDIR="${PREFIX}/lib/tf-${TFVER}-lib"
+SYMLINK="${PREFIX}/bin/tf"
 
 
 ### Manual Page.
@@ -44,8 +47,8 @@
 # uses nroff format; set MANTYPE=cat if your man uses pre-formatted
 # vt100 "catman" pages.  Default is "cat".
 
-# MANTYPE="nroff"
-# MANPAGE="/usr/local/man/man1/tf.1"
+MANTYPE="nroff"
+MANPAGE="${PREFIX}/man/man1/tf.1"
 
 
 ### Flags.