~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to mac/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
# Change these according to your own setup
21
21
QCADIR=/usr/local
22
22
GROWLDIR=/Library/Frameworks
 
23
SPARKLEDIR=/Library/Frameworks
23
24
PSI_DIR=..
24
25
 
25
26
EXECUTABLE_NAME=psi
26
27
NAME=Psi
27
28
VOLUME_NAME=$(NAME)
28
 
#VERSION=0.12-devel_$(shell date +"%Y%m%d")
29
 
VERSION=0.12.1
 
29
#VERSION=0.13-devel_$(shell date +"%Y%m%d")
 
30
VERSION=0.13
30
31
 
31
32
APPFILE_NAME=Psi.app
32
33
FILES=$(APPFILE_NAME)
39
40
 
40
41
# Other variables
41
42
QT_FRAMEWORK_VERSION=4
42
 
QT_FRAMEWORKS=QtCore QtXml QtNetwork QtGui QtSql Qt3Support
 
43
QT_FRAMEWORKS=QtCore QtXml QtNetwork QtGui QtSql Qt3Support QtSvg
43
44
QT_PLUGINS=imageformats/libqjpeg.dylib imageformats/libqgif.dylib
44
45
 
45
46
# The rules
86
87
        ditto -rsrc "$<" "$@"
87
88
        mkdir -p "$@/Contents/Frameworks"
88
89
        -ditto -rsrc "$(GROWLDIR)/Growl.framework" "$@/Contents/Frameworks/Growl.framework"
 
90
        -ditto -rsrc "$(SPARKLEDIR)/Sparkle.framework" "$@/Contents/Frameworks/Sparkle.framework"
89
91
        #strip "$@/Contents/MacOS/$(EXECUTABLE_NAME)"
90
92
        #
91
93
        #@echo
104
106
        done; \
105
107
        #
106
108
        @echo
 
109
        @echo Writing qt.conf ...
 
110
        echo "[Paths]\nPlugins = Plugins" > "$@/Contents/Resources/qt.conf"
 
111
        #
 
112
        @echo
107
113
        @echo Installing Qt Frameworks ...
108
114
        for f in $(QT_FRAMEWORKS); do \
109
115
                ditto -rsrc "$(QTDIR)/lib/$$f.framework" "$@/Contents/Frameworks/$$f.framework"; \