diff --git a/Build-Instructions-for-OS-X.md b/Build-Instructions-for-OS-X.md index c079ca0..05056fd 100644 --- a/Build-Instructions-for-OS-X.md +++ b/Build-Instructions-for-OS-X.md @@ -12,8 +12,16 @@ Please avoid reporting issues you encounter on OS X, unless they are also reprod brew install qt5 libarchive ``` +### MacPorts + +```bash +port install qt5 qt5-qtwebengine qt5-sqlite-plugin libarchive +``` + ## Building Zeal +### Homebrew + ```bash git clone https://github.com/zealdocs/zeal.git cd zeal @@ -22,5 +30,15 @@ make cd bin /usr/local/opt/qt5/bin/macdeployqt Zeal.app ``` + +### MacPorts +```bash +git clone https://github.com/zealdocs/zeal.git +cd zeal +/opt/local/libexec/qt5/bin/qmake INCLUDEPATH+=/opt/local/include +make SUBLIBS="-L/opt/local/lib -larchive -lsqlite3" +cd bin +/opt/local/libexec/qt5/bin/macdeployqt Zeal.app +``` ## Installation Grab `Zeal.app` from `bin` subdirectory, and move it to `Applications`. \ No newline at end of file