Ticket #9165: ports.mk.enginedatafix.patch

File ports.mk.enginedatafix.patch, 1.8 KB (added by SF/dxq, 15 years ago)
  • ports.mk

    old new  
    5050        cp $(srcdir)/icons/scummvm.icns $(bundle_name)/Contents/Resources/
    5151        cp $(DIST_FILES_DOCS) $(bundle_name)/
    5252        cp $(DIST_FILES_THEMES) $(bundle_name)/Contents/Resources/
     53ifdef $(DIST_FILES_ENGINEDATA)
    5354        cp $(DIST_FILES_ENGINEDATA) $(bundle_name)/Contents/Resources/
     55endif
    5456        $(srcdir)/tools/credits.pl --rtf > $(bundle_name)/Contents/Resources/Credits.rtf
    5557        chmod 644 $(bundle_name)/Contents/Resources/*
    5658        cp scummvm-static $(bundle_name)/Contents/MacOS/scummvm
     
    6264        cp $(srcdir)/dists/iphone/Info.plist $(bundle_name)/
    6365        cp $(DIST_FILES_DOCS) $(bundle_name)/
    6466        cp $(DIST_FILES_THEMES) $(bundle_name)/
     67ifdef $(DIST_FILES_ENGINEDATA)
    6568        cp $(DIST_FILES_ENGINEDATA) $(bundle_name)/
     69endif
    6670        ldid -S scummvm
    6771        cp scummvm $(bundle_name)/ScummVM
    6872        cp $(srcdir)/dists/iphone/icon.png $(bundle_name)/icon.png
     
    155159        mkdir -p $(WIN32PATH)
    156160        $(STRIP) $(EXECUTABLE) -o $(WIN32PATH)/$(EXECUTABLE)
    157161        cp $(DIST_FILES_THEMES) $(WIN32PATH)
     162ifdef $(DIST_FILES_ENGINEDATA)
    158163        cp $(DIST_FILES_ENGINEDATA) $(WIN32PATH)
     164endif   
    159165        cp $(srcdir)/AUTHORS $(WIN32PATH)/AUTHORS.txt
    160166        cp $(srcdir)/COPYING $(WIN32PATH)/COPYING.txt
    161167        cp $(srcdir)/COPYING.LGPL $(WIN32PATH)/COPYING.LGPL.txt
     
    176182        $(STRIP) $(EXECUTABLE) -o $(AOS4PATH)/$(EXECUTABLE)_SVN
    177183        cp icons/scummvm.info $(AOS4PATH)/$(EXECUTABLE)_SVN.info
    178184        cp $(DIST_FILES_THEMES) $(AOS4PATH)/themes/
     185ifdef $(DIST_FILES_ENGINEDATA)
    179186        cp $(DIST_FILES_ENGINEDATA) $(AOS4PATH)/extras/
     187endif
    180188        cp $(srcdir)/AUTHORS $(AOS4PATH)/AUTHORS.txt
    181189        cp $(srcdir)/COPYING $(AOS4PATH)/COPYING.txt
    182190        cp $(srcdir)/COPYING.LGPL $(AOS4PATH)/COPYING.LGPL.txt
     
    214222ifdef USE_ARM_SCALER_ASM
    215223DEFINES += -DUSE_ARM_SCALER_ASM
    216224endif
     225