Build Zeal with MacPorts

Ola Rinta-Koski 2016-10-22 12:32:17 +03:00
parent 5fa60fadf9
commit e7d94c928c

@ -12,8 +12,16 @@ Please avoid reporting issues you encounter on OS X, unless they are also reprod
brew install qt5 libarchive brew install qt5 libarchive
``` ```
### MacPorts
```bash
port install qt5 qt5-qtwebengine qt5-sqlite-plugin libarchive
```
## Building Zeal ## Building Zeal
### Homebrew
```bash ```bash
git clone https://github.com/zealdocs/zeal.git git clone https://github.com/zealdocs/zeal.git
cd zeal cd zeal
@ -22,5 +30,15 @@ make
cd bin cd bin
/usr/local/opt/qt5/bin/macdeployqt Zeal.app /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 ## Installation
Grab `Zeal.app` from `bin` subdirectory, and move it to `Applications`. Grab `Zeal.app` from `bin` subdirectory, and move it to `Applications`.