# $Id: Portfile 108653 2013-07-29 18:00:22Z pvanek@macports.org $

PortSystem              1.0
PortGroup               qt4 1.0
PortGroup               cmake 1.0

name                    qlipper
version                 2.0.2
#revision                1
description             Lightweight & cross-platform clipboard history applet
long_description        ${description}
maintainers             pvanek openmaintainer
categories              aqua office textproc
license                 GPL-3+
platforms               darwin
homepage                http://code.google.com/p/qlipper/
master_sites        	googlecode

# a stealth update of 2.0.1 - https://trac.macports.org/wiki/PortfileRecipes#stealth-updates
dist_subdir   ${name}/${version}_1

use_bzip2               yes

checksums           md5     d1aa843d68b4980401ef7fdd65f56006 \
                    sha1    1a73a6dc50319a8c0cb2ab35d9dfbfca9e9d2003 \
                    rmd160  9d98bdd8fd9b9586f71ad792c83f10fa1345ef4e

configure.args-append   -DCMAKE_INSTALL_PREFIX=${applications_dir} \
                        -DUSE_SYSTEM_QTSA=0 -DUSE_SYSTEM_QXT=0 \
                        ${qt_cmake_defines}
