aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Giuseppe 'ferdy' Miceli <ferdy@ferdy.it>2014-02-26 17:21:13 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-04 13:25:19 -0800
commit7b1a797518a2be3150ecb5c379037abcf2f6703e (patch)
tree5157cee0a9bff6ccd21658863d1800219bc19d6c
parent480280937aad6d34742440333d34754aaeda7b28 (diff)
downloadsubsurface-7b1a797518a2be3150ecb5c379037abcf2f6703e.tar.gz
Add alternate instructions for building on MacOSX using MacPorts
This modifies the INSTALL file to offer MacPorts based instructions. Signed-off-by: Giuseppe 'ferdy' Miceli <ferdy@ferdy.it> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--INSTALL36
1 files changed, 34 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index be3c5ed01..c5e89c93a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -80,8 +80,8 @@ $ sudo make install [optionally, add: prefix=/usr/local]
Note: on Fedora qmake will appear as qmake-qt4
-Building the Qt version under MacOSX
-------------------------------------
+Building the Qt version under MacOSX (using Homebrew)
+-----------------------------------------------------
1) Install Homebrew
@@ -148,6 +148,38 @@ The easiest workaround is to create a symbolic link from
/usr/local/plugins to /usr/local/Cellar/qt/4.8.5/plugins (or whatever
version of Qt you have built earlier).
+Building the Qt version under MacOSX (using MacPorts)
+-----------------------------------------------------
+
+1) Install MacPorts
+
+Please refer to http://www.macports.org/install.php
+
+2) Install needed dependencies
+
+$ sudo port -vp install asciidoc libzip libusb sqlite cmake qt4-mac marble libdivecomputer
+
+3) Check dependencies' versions
+
+$ port installed qt4-mac libdivecomputer marble libzip asciidoc libusb sqlite cmake
+The following ports are currently installed:
+ asciidoc @8.6.9_1 (active)
+ cmake @2.8.12_3 (active)
+ libdivecomputer @0.4.1_0 (active)
+ libusb @1.0.18_0 (active)
+ libzip @0.11.1_0 (active)
+ marble @4.12.2_0 (active)
+ qt4-mac @4.8.5_1 (active)
+
+4) Compile Subsurface
+
+$ cd ~/src
+$ git clone git://subsurface.hohndel.org/subsurface.git
+$ cd subsurface
+$ qmake
+$ make
+$ make install_mac_bundle
+
Cross-building Subsurface on Linux for Windows
----------------------------------------------