A section about how to build Subsurface using MacPorts on MacOSX

>From 455ecae8c6b035ff885f8820c9d6598089f88602 Mon Sep 17 00:00:00 2001
From: Giuseppe 'ferdy' Miceli <[email protected]>
Date: Wed, 26 Feb 2014 17:09:20 +0100
Subject: [PATCH 2/2] Added Building the Qt version under MacOSX (using
 MacPorts)

Signed-off-by: Giuseppe 'ferdy' Miceli <[email protected]>
---
 INSTALL | 36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/INSTALL b/INSTALL
index be3c5ed..c5e89c9 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
 ----------------------------------------------
 
-- 
1.8.5.5

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to