# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           qt4 1.0
PortGroup           app 1.0
PortGroup           cmake 1.0

name                sqliteman
version             1.2.2
revision            7

description         GUI tool for Sqlite3
long_description	The best developer's and/or admin's GUI tool for Sqlite3 in the world. \
                    No joking here (or just a bit only) - it contains the most complete \
                    feature set of all tools available.
maintainers	        nomaintainer
categories	        databases
license             GPL-2
platforms	        darwin
homepage	        https://sourceforge.net/p/sqliteman/wiki/Home/
master_sites        sourceforge:sqliteman

checksums           rmd160 6aa1002c53f7204d2172e88c4a335670f9103135 \
                    sha256 2f3281f67af464c114acd0a65f05b51672e9f5b39dd52bd2570157e8f274b10f

patchfiles          patch-litemanwindow.cpp.diff \
                    patch-cmake_modules_FindQScintilla.cmake.diff

use_bzip2           yes

depends_lib-append  port:qscintilla-qt4

depends_run-append  port:sqlite3 \
                    port:qt4-mac-sqlite3-plugin

# qscintilla is not universal
universal_variant   no

# do VPATH (out of source tree) build

cmake.out_of_source yes

configure.args-append ${qt_cmake_defines}

app.icon            sqliteman/icons/sqliteman.png
