# -*- 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
# $Id: Portfile 62496 2010-01-09 10:13:21Z ryandesign@macports.org $

PortSystem          1.0

name                sqliteman
version             1.2.1
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	        ricci openmaintainer
categories	        databases
platforms	        darwin
homepage	        http://www.sqliteman.com/
master_sites        sourceforge:sqliteman

checksums           md5     1ad603d38e4eda63f1386c6ee22a2838 \
                    sha1    a0ea03cfa9b95f38d5d1f1db926537d61a0c5c01 \
                    rmd160  19f7e82ab49480bf1d45e8506ed71e4da6ce1f47

patchfiles          patch-litemanwindow.cpp.diff

use_bzip2           yes

depends_build       port:cmake

depends_lib         port:sqlite3    \
                    path:bin/qmake-mac:qt4-mac    \
                    port:qscintilla

# qscintilla is not universal
universal_variant   no

configure.cmd       cmake
configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix}
configure.args      -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake

