wok-current annotate childsplay/stuff/INSTALL.sh.patch @ rev 8118

Up: ntfs-3g to 2011.1.15.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 20:32:59 2011 +0000 (2011-01-23)
parents 1254f8783b56
children
rev   line source
claudinei@3340 1 --- INSTALL.sh.orig Thu Jan 17 14:38:56 2008
claudinei@3340 2 +++ INSTALL.sh Thu Jun 11 00:48:25 2009
claudinei@3340 3 @@ -8,7 +8,7 @@
claudinei@3340 4 # However, you can change the "prefix" to "/usr" and childsplay will still
claudinei@3340 5 # work. Set it to anything else and your on your own.
claudinei@3340 6
claudinei@3340 7 -PREFIX=/usr/local
claudinei@3340 8 +PREFIX=$PWD/_pkg
claudinei@3340 9
claudinei@3340 10 #################################################################
claudinei@3340 11 # DON'T EDIT BEHIND THIS POINT
claudinei@3340 12 @@ -20,16 +20,16 @@
claudinei@3340 13
claudinei@3340 14 PYTHON=`which python`
claudinei@3340 15
claudinei@3340 16 -EXECDIR=$PREFIX/bin
claudinei@3340 17 -LOCALEDIR=$PREFIX/share/locale
claudinei@3340 18 -ASSETMLDIR=/usr/share/assetml
claudinei@3340 19 -SCOREDIR=/var/games
claudinei@3340 20 +EXECDIR=$PREFIX/usr/bin
claudinei@3340 21 +LOCALEDIR=$PREFIX/usr/share/locale
claudinei@3340 22 +ASSETMLDIR=$PREFIX/usr/share/assetml
claudinei@3340 23 +SCOREDIR=$PREFIX/var/games
claudinei@3340 24 SCOREFILE=$SCOREDIR/childsplay.score
claudinei@3340 25 -DOCDIR=$PREFIX/share/doc/childsplay
claudinei@3340 26 -MANDIR=$PREFIX/man/man6
claudinei@3340 27 -CPDIR=$PREFIX/lib/games/childsplay
claudinei@3340 28 -SHAREDIR=$PREFIX/share/childsplay
claudinei@3340 29 -BINDIR=$PREFIX/games
claudinei@3340 30 +DOCDIR=$PREFIX/usr/share/doc/childsplay
claudinei@3340 31 +MANDIR=$PREFIX/usr/man/man6
claudinei@3340 32 +CPDIR=$PREFIX/usr/lib/games/childsplay
claudinei@3340 33 +SHAREDIR=$PREFIX/usr/share/childsplay
claudinei@3340 34 +BINDIR=$PREFIX/usr/games
claudinei@3340 35 LIBDIR=$CPDIR/lib
claudinei@3340 36 MODULESDIR=$LIBDIR
claudinei@3340 37 SHARELIBDATADIR=$SHAREDIR/lib
claudinei@3340 38 @@ -39,21 +39,21 @@
claudinei@3340 39 HOME_DIR_NAME=.childsplay
claudinei@3340 40 CHILDSPLAYRC=childsplayrc
claudinei@3340 41
claudinei@3340 42 -OLDCPDIR=$PREFIX/games/childsplay
claudinei@3340 43 +OLDCPDIR=$PREFIX/usr/games/childsplay
claudinei@3340 44
claudinei@3340 45 echo "Making directorys"
claudinei@3340 46 -mkdir -vp $CPDIR
claudinei@3340 47 -mkdir -vp $CPDIR/lib
claudinei@3340 48 -mkdir -vp $DOCDIR
claudinei@3340 49 -mkdir -vp $LOCALEDIR
claudinei@3340 50 -mkdir -vp $ASSETMLDIR
claudinei@3340 51 -mkdir -vp $SCOREDIR
claudinei@3340 52 -mkdir -vp $MANDIR
claudinei@3340 53 -mkdir -vp $SHAREDIR
claudinei@3340 54 -mkdir -vp $SHAREDATADIR
claudinei@3340 55 -mkdir -vp $SHARELIBDATADIR
claudinei@3340 56 -mkdir -vp $BINDIR
claudinei@3340 57 -mkdir -vp $EXECDIR
claudinei@3340 58 +mkdir -p $CPDIR
claudinei@3340 59 +mkdir -p $CPDIR/lib
claudinei@3340 60 +mkdir -p $DOCDIR
claudinei@3340 61 +mkdir -p $LOCALEDIR
claudinei@3340 62 +mkdir -p $ASSETMLDIR
claudinei@3340 63 +mkdir -p $SCOREDIR
claudinei@3340 64 +mkdir -p $MANDIR
claudinei@3340 65 +mkdir -p $SHAREDIR
claudinei@3340 66 +mkdir -p $SHAREDATADIR
claudinei@3340 67 +mkdir -p $SHARELIBDATADIR
claudinei@3340 68 +mkdir -p $BINDIR
claudinei@3340 69 +mkdir -p $EXECDIR
claudinei@3340 70
claudinei@3340 71 set -e
claudinei@3340 72
claudinei@3340 73 @@ -128,24 +128,24 @@
claudinei@3340 74 # echo "found and removed"
claudinei@3340 75 #fi
claudinei@3340 76
claudinei@3340 77 -echo " Setting the base path in childsplay to $PREFIX"
claudinei@3340 78 +echo "Setting the base path in childsplay to /usr"
claudinei@3340 79 echo "## Automated file please do not edit" > $CPDIR/BASEPATH.py
claudinei@3340 80 -echo "BASEPATH=\"$PREFIX\"" >> $CPDIR/BASEPATH.py
claudinei@3340 81 -echo "EXECDIR=\"$EXECDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 82 -echo "LOCALEDIR=\"$LOCALEDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 83 -echo "ASSETMLDIR=\"$ASSETMLDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 84 -echo "SCOREDIR=\"$SCOREDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 85 -echo "SCOREFILE=\"$SCOREFILE\"" >> $CPDIR/BASEPATH.py
claudinei@3340 86 -echo "DOCDIR=\"$DOCDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 87 -echo "MANDIR=\"$MANDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 88 -echo "CPDIR=\"$CPDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 89 -echo "SHAREDIR=\"$SHAREDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 90 -echo "BINDIR=\"$BINDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 91 -echo "LIBDIR=\"$LIBDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 92 -echo "MODULESDIR=\"$MODULESDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 93 -echo "SHARELIBDATADIR=\"$SHARELIBDATADIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 94 -echo "SHAREDATADIR=\"$SHAREDATADIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 95 -echo "RCDIR=\"$RCDIR\"" >> $CPDIR/BASEPATH.py
claudinei@3340 96 +echo "BASEPATH=\"/usr\"" >> $CPDIR/BASEPATH.py
claudinei@3340 97 +echo "EXECDIR=\"/usr/bin\"" >> $CPDIR/BASEPATH.py
claudinei@3340 98 +echo "LOCALEDIR=\"/usr/share/locale\"" >> $CPDIR/BASEPATH.py
claudinei@3340 99 +echo "ASSETMLDIR=\"/usr/share/assetml\"" >> $CPDIR/BASEPATH.py
claudinei@3340 100 +echo "SCOREDIR=\"/var/games\"" >> $CPDIR/BASEPATH.py
claudinei@3340 101 +echo "SCOREFILE=\"/var/games/childsplay.score\"" >> $CPDIR/BASEPATH.py
claudinei@3340 102 +echo "DOCDIR=\"/usr/share/doc/childsplay\"" >> $CPDIR/BASEPATH.py
claudinei@3340 103 +echo "MANDIR=\"/usr/man/man6\"" >> $CPDIR/BASEPATH.py
claudinei@3340 104 +echo "CPDIR=\"/usr/lib/games/childsplay\"" >> $CPDIR/BASEPATH.py
claudinei@3340 105 +echo "SHAREDIR=\"/usr/share/childsplay\"" >> $CPDIR/BASEPATH.py
claudinei@3340 106 +echo "BINDIR=\"/usr/games\"" >> $CPDIR/BASEPATH.py
claudinei@3340 107 +echo "LIBDIR=\"/usr/lib/games/childsplay/lib\"" >> $CPDIR/BASEPATH.py
claudinei@3340 108 +echo "MODULESDIR=\"/usr/lib/games/childsplay/lib\"" >> $CPDIR/BASEPATH.py
claudinei@3340 109 +echo "SHARELIBDATADIR=\"/usr/share/childsplay/lib\"" >> $CPDIR/BASEPATH.py
claudinei@3340 110 +echo "SHAREDATADIR=\"/usr/share/childsplay/Data\"" >> $CPDIR/BASEPATH.py
claudinei@3354 111 +echo "RCDIR=\"/usr/share/childsplay/lib/ConfigData\"" >> $CPDIR/BASEPATH.py
claudinei@3340 112 echo "CHILDSPLAYRC=\"$CHILDSPLAYRC\"" >> $CPDIR/BASEPATH.py
claudinei@3340 113 echo "HOME_DIR_NAME=\"$HOME_DIR_NAME\"" >> $CPDIR/BASEPATH.py
claudinei@3340 114 echo "" >> $CPDIR/BASEPATH.py
claudinei@3340 115 @@ -158,7 +158,7 @@
claudinei@3340 116 echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
claudinei@3340 117 echo " One thing left todo..."
claudinei@3340 118 echo " Translating words"
claudinei@3340 119 -$PYTHON $CPDIR/letters-trans.py $ASSETMLDIR
claudinei@3340 120 +$PYTHON $CPDIR/letters-trans.py $PREFIX/usr/share/assetml
claudinei@3340 121 echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
claudinei@3340 122 echo " Be sure to read the README-MEMORY file on how you can"
claudinei@3340 123 echo " use your own pictures in the memory game."