openbsd-ports/x11/windowmaker/patches/patch-util_wmaker_inst_in

30 lines
879 B
Plaintext
Raw Normal View History

2009-02-15 15:12:17 -05:00
$OpenBSD: patch-util_wmaker_inst_in,v 1.5 2009/02/15 20:12:17 wilfried Exp $
--- util/wmaker.inst.in.orig Fri Apr 8 13:24:14 2005
+++ util/wmaker.inst.in Sun Feb 15 20:31:10 2009
@@ -22,6 +22,7 @@ fi
# directory where system wide configuration is stored
GLOBALDIR="#pkgdatadir#"
GLOBALDEFDIR="#sysconfdir#"
2009-02-15 15:12:17 -05:00
+WPREFSDIR="#bindir#"
USERDIR=$HOME
2001-10-24 09:54:38 -04:00
@@ -81,14 +82,17 @@ copy() {
source=$GLOBALDIR/plmenu
fi
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \
+ -e "s:#wprefsdir#:$WPREFSDIR:g" \
$source > $GSDIR/Defaults/WMRootMenu
else
if test "x$GNUSTEP_USER_ROOT" = "x"; then
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \
+ -e "s:#wprefsdir#:$WPREFSDIR:g" \
$source > $target
else
sed -e "s|\$HOME/GNUstep|$GSDIR|g" \
-e "s:#wmdatadir#:$GLOBALDIR:g" \
+ -e "s:#wprefsdir#:$WPREFSDIR:g" \
$source > $target
fi
fi