# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 127391 2014-10-26 23:24:49Z mk@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.0 github.setup KDAB Charm ad76bf18 name charm version 1.8.0 maintainers gmail.com:rjvbertin categories office license GPL-2+ LGPL-2.1+ description Charm - the Cross-Platform Time Tracker long_description Charm is a program for OS X, Linux and Windows that helps to keep track of time. It is built around two major ideas - tasks and events. Tasks are the things time is spend on, repeatedly. For example, ironing laundry is a task. The laundry done for two hours on last Tuesday is an event in that task. When doing laundry multiple times, the events will be accumulated, and can later be printed in activity reports or weekly/monthly time sheets. So in case laundry would be done for three hours on Wednesday again, the activity report for the "Ironing Laundry" task would list the event on tuesday, the event on wednesday and a total of five hours. platforms darwin subport qt5-${name} { PortGroup qt5 1.0 conflicts ${name} configure.args-append -DWITH_QT4:BOOL=OFF } if {${subport} ne "qt5-${name}"} { PortGroup qt4 1.0 conflicts qt5-${name} depends_build-append port:automoc configure.args-append -DWITH_QT4:BOOL=ON -DBIN_INSTALL_DIR:PATH=${qt_apps_dir} } configure.args-append -DCharm_VERSION=${version} -DBIN_INSTALL_DIR:PATH=${qt_apps_dir} checksums rmd160 860578f5347be54f2505181c9f318debe81c1ce7 \ sha256 550fb6ec0bfeb7e2af132ea140c1df5e1d9cd8be0c92a0ea241dfc1d82b24de5 patchfiles patch-CMakeFiles.patch \ adapt-to-osx-macports.patch post-extract { file mkdir ${workpath}/build } # standard post-arg, where to find the primary CMakeLists.txt file. default configure.post_args {../${worksrcdir}} default configure.dir {${workpath}/build} default build.dir {${workpath}/build} post-destroot { ln -s ${qt_apps_dir}/Charm.app/Contents/MacOS/Charm ${destroot}${prefix}/bin/charmtimetracker }