-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL.macosx
59 lines (41 loc) · 1.8 KB
/
INSTALL.macosx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Pingus Installation Guide for Mac OS X
=======================================
Disclaimer:
-------------
The following guide assumes that you use macports to install the requirements.
You can also do this the hard way by finding/compiling the stuff yourself,
but if you're capable of doing so you won't need this guide anyway.
See http://code.google.com/p/pingus/wiki/MacOS_X_Compiling if you are adventurous or do not want to us macports.
This guide was written on OS X 10.5 "Leopard", where XCode brings gcc-4.0.
Since that's too old gcc-4.4 is installed using macports and also referenced
in the Makefile.macosx. If you have a recent compiler, just skip these parts
and adapt the makefile.
Requirements:
-------------
First get and install macports from http://www.macports.org/
Next use macports to install pingus' requirements by typing:
$ sudo port install libsdl libsdl_image libsdl_mixer boost scons
$ sudo port install gcc44
Compilation:
------------
Once all libraries are in place, you can compile Pingus with just:
$ make -f Makefile.macosx
Running:
--------
Once the compilation is successful you can run Pingus directly from
the top level directory of the source tree via:
$ ./pingus
For details about the command line options etc. see INSTALL.unix
Creating an application bundle:
-------------------------------
To make pingus feel at home on OS X you may want to create an application bundle.
The follwogin steps will create a Pingus.app that can be used and distributed like
any other Mac OS X application.
First we need some little helper utilities
$ sudo port install dylibbundler makeicns
Now the application bundle can be build
$ make -f Makefile.macosx bundle
Distribute:
-----------
To create a compressed package for distribution frun the following command:
$ make -f Makefile.macosx package