|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# Filename: package/.../less/less.conf |
|
|
|
# Filename: package/.../less/less.conf |
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2008 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
|
# |
|
|
@ -18,8 +18,8 @@ |
|
|
|
var_append patchfiles ' ' "`match_source_file -p patch`" |
|
|
|
var_append patchfiles ' ' "`match_source_file -p patch`" |
|
|
|
|
|
|
|
|
|
|
|
less_postmake() { |
|
|
|
less_postmake() { |
|
|
|
cp $confdir/lesspipe.sh $root/$prefix/bin/lesspipe |
|
|
|
cp $confdir/lesspipe.sh $root$bindir/lesspipe |
|
|
|
chmod +x $root/$prefix/bin/lesspipe |
|
|
|
chmod +x $root$bindir/lesspipe |
|
|
|
cat > $root/etc/profile.d/less <<-EOP |
|
|
|
cat > $root/etc/profile.d/less <<-EOP |
|
|
|
|
|
|
|
|
|
|
|
export LESS="--ignore-case" |
|
|
|
export LESS="--ignore-case" |
|
|
@ -35,6 +35,3 @@ EOP |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
hook_add postmake 3 "less_postmake" |
|
|
|
hook_add postmake 3 "less_postmake" |
|
|
|
|
|
|
|
|
|
|
|
var_append makeinstopt " " "bindir=$root/$bindir mandir=$root/$mandir" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|