aboutsummaryrefslogtreecommitdiff
path: root/chinese/ttfm/files/patch-ttfm.sh
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-06-06 16:16:30 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-06-06 16:16:30 +0000
commit9055c1c3bd073ba5dc873f72b4f16e67d958b9c4 (patch)
tree5d54be1acdca92226f61a3a9692e8dfeef2244ff /chinese/ttfm/files/patch-ttfm.sh
parent4e73fe838b04916a8a4294ea943f5458746ebfa8 (diff)
downloadports-9055c1c3bd073ba5dc873f72b4f16e67d958b9c4.tar.gz
ports-9055c1c3bd073ba5dc873f72b4f16e67d958b9c4.zip
- Respect PREFIX and LOCALBASE
Notes
Notes: svn path=/head/; revision=214438
Diffstat (limited to 'chinese/ttfm/files/patch-ttfm.sh')
-rw-r--r--chinese/ttfm/files/patch-ttfm.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/chinese/ttfm/files/patch-ttfm.sh b/chinese/ttfm/files/patch-ttfm.sh
index 3a741299074d..5e91298f6184 100644
--- a/chinese/ttfm/files/patch-ttfm.sh
+++ b/chinese/ttfm/files/patch-ttfm.sh
@@ -1,5 +1,14 @@
---- ./ttfm.sh.orig Wed Jan 31 17:34:46 2001
-+++ ./ttfm.sh Mon Nov 27 02:03:54 2006
+--- ttfm.sh.orig 2001-01-31 17:34:46.000000000 +0800
++++ ttfm.sh 2008-06-04 22:02:46.000000000 +0800
+@@ -38,7 +38,7 @@
+
+ VERSION=0.9.3
+
+-export PREFIX; PREFIX=/usr/local
++export PREFIX; PREFIX=%%PREFIX%%
+ export PATH; PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PREFIX/bin:$PREFIX/sbin
+ export DefaultFontPath; DefaultFontPath=$PREFIX/share/fonts/TrueType
+ export ScriptDir; ScriptDir=$PREFIX/share/ttfm
@@ -258,7 +258,7 @@
# Call script with --remove
for i in "$INSTALLSCRIPT"; do