mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
b97bef3f42
PR: 9489 Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
39 lines
903 B
Plaintext
39 lines
903 B
Plaintext
--- unix/Config.orig Mon Nov 16 16:43:32 1998
|
|
+++ unix/Config Thu Jan 14 04:56:10 1999
|
|
@@ -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/local"
|
|
+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.
|
|
@@ -110,7 +113,7 @@
|
|
# by removing the leading "#".
|
|
|
|
# CC=cc
|
|
-# CCFLAGS="-g"
|
|
+CCFLAGS=${CFLAGS}
|
|
|
|
|
|
### Stripping.
|