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