source: trunk/dports/emulators/lisaem/files/patch-build.sh.diff @ 67388

Last change on this file since 67388 was 38627, checked in by ryandesign@…, 12 years ago

lisaem: add the patchfile that goes with r38613

File size: 1.4 KB
  • build.sh

     
    293293  ;;
    294294 build*)    echo ;;    #default - nothing to do here, this is the default.
    295295 install)   
    296             [ -z "$CYGWIN" ] && [ "`whoami`" != "root" ] && echo "Need to be root to install. try sudo ./build.sh $@" && exit 1
    297296            INSTALL=1;
    298297            ;;
    299298
     
    849848cd ../bin
    850849echo -n " "
    851850
    852 # Report size and hashes ####
    853 
    854 if [ -z "$DARWIN" ]
    855 then
    856     SIZE="`du -sh lisaem 2>/dev/null`"
    857 else
    858     SIZE="`du -sh LisaEm.app 2>/dev/null`"
    859 fi
    860 
    861851
    862852if [ -n "$DARWIN" ]
    863853then
     
    895885    then
    896886      cd ../bin/
    897887      echo Installing LisaEm.app
    898       tar cf - ./LisaEm.app | (cd $PREFIX; tar xf -)
    899       mkdir -pm755 /usr/local/bin
    900       echo Installing lisafsh-tool and lisadiskinfo to /usr/local/bin
     888      tar cf - ./LisaEm.app | (cd $PREFIXAPP; tar xf -)
     889      mkdir -pm755 $PREFIXBIN
     890      echo Installing lisafsh-tool and lisadiskinfo to $PREFIXBIN
    901891      chmod 755 lisafsh-tool lisadiskinfo
    902       cp lisafsh-tool lisadiskinfo /usr/local/bin
     892      cp lisafsh-tool lisadiskinfo $PREFIXBIN
    903893      echo Done Installing.
    904894    fi
    905895fi
    906896
     897
     898# Report size and hashes ####
     899
     900if [ -z "$DARWIN" ]
     901then
     902    SIZE="`du -sh lisaem 2>/dev/null`"
     903else
     904    SIZE="`du -sh LisaEm.app 2>/dev/null`"
     905fi
     906
    907907# some older OS's don't support du -sh, so fall back to du -sk and convert to MB's
    908908if [ -z "$SIZE" ]
    909909then
Note: See TracBrowser for help on using the repository browser.