aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-05-09 18:28:23 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-05-09 18:28:23 +0000
commitafbef13ae66871a1cdf71c15cdff4dd8c88d071e (patch)
tree1e9707b63f2d6bed16387943743f64d3a7dc8044 /deskutils
parentddeebdea8d44761d760510fbc874a3fa713eb2e5 (diff)
downloadports-afbef13ae66871a1cdf71c15cdff4dd8c88d071e.tar.gz
ports-afbef13ae66871a1cdf71c15cdff4dd8c88d071e.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/charmtimetracker/Makefile37
-rw-r--r--deskutils/charmtimetracker/distinfo2
-rw-r--r--deskutils/charmtimetracker/files/patch-CMakeLists.txt11
-rw-r--r--deskutils/charmtimetracker/pkg-descr12
-rw-r--r--deskutils/charmtimetracker/pkg-plist17
6 files changed, 80 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 7082f1a9ec6a..3daebb43bf31 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -26,6 +26,7 @@
SUBDIR += cartotheque
SUBDIR += cdcat
SUBDIR += charmap
+ SUBDIR += charmtimetracker
SUBDIR += checkrdf
SUBDIR += chmsee
SUBDIR += conduit
diff --git a/deskutils/charmtimetracker/Makefile b/deskutils/charmtimetracker/Makefile
new file mode 100644
index 000000000000..5d8ed724deb5
--- /dev/null
+++ b/deskutils/charmtimetracker/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: charm
+# Date created: 12 Feb 2012
+# Whom: Andriy Gapon <avg@icyb.net.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= charmtimetracker
+PORTVERSION= 1.6.0
+CATEGORIES= deskutils kde
+MASTER_SITES= http://nodeload.github.com/KDAB/Charm/tarball/
+DISTNAME= ${PORTVERSION}
+EXTRACT_SUFX=
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= avg@icyb.net.ua
+COMMENT= Time tracker
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/License.txt
+
+WRKSRC= ${WRKDIR}/KDAB-Charm-3151d25
+
+USE_CMAKE= yes
+CMAKE_ARGS+= -DCharm_VERSION:STRING=${PORTVERSION}
+USE_KDE4= kdehier kdeprefix
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib gui network \
+ qtestlib sql sql-sqlite3 xml
+USE_XORG= ice x11 xext xscrnsaver
+INSTALLS_ICONS= yes
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= ReadMe.txt License.txt
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/charmtimetracker/distinfo b/deskutils/charmtimetracker/distinfo
new file mode 100644
index 000000000000..722f3da12e43
--- /dev/null
+++ b/deskutils/charmtimetracker/distinfo
@@ -0,0 +1,2 @@
+SHA256 (charmtimetracker/1.6.0) = 23d1ba7cd9c9b2c49738d1eb8cacbc303bb717b46746a89723a925141bd61ca6
+SIZE (charmtimetracker/1.6.0) = 730670
diff --git a/deskutils/charmtimetracker/files/patch-CMakeLists.txt b/deskutils/charmtimetracker/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..95ecdac1fe82
--- /dev/null
+++ b/deskutils/charmtimetracker/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2012-04-19 18:05:29.938959913 +0300
++++ CMakeLists.txt 2012-04-19 18:05:39.398959691 +0300
+@@ -47,7 +47,7 @@ IF( APPLE AND "${QT_VERSION_MAJOR}.${QT_
+ ENDIF()
+
+ IF( CMAKE_BUILD_TYPE MATCHES "^[Rr]elease$" )
+- ADD_DEFINITIONS( -DQT_NO_DEBUG_OUTPUT )
++ ADD_DEFINITIONS( -DQT_NO_DEBUG_OUTPUT -DNDEBUG )
+ ELSE()
+ MESSAGE( WARNING
+ "Only run Charm in Debug mode if you are doing development!\n"
diff --git a/deskutils/charmtimetracker/pkg-descr b/deskutils/charmtimetracker/pkg-descr
new file mode 100644
index 000000000000..3864bf0f838e
--- /dev/null
+++ b/deskutils/charmtimetracker/pkg-descr
@@ -0,0 +1,12 @@
+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
+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.
+
+WWW: https://github.com/KDAB/Charm
diff --git a/deskutils/charmtimetracker/pkg-plist b/deskutils/charmtimetracker/pkg-plist
new file mode 100644
index 000000000000..b048d1634079
--- /dev/null
+++ b/deskutils/charmtimetracker/pkg-plist
@@ -0,0 +1,17 @@
+bin/charmtimetracker
+share/applications/charmtimetracker.desktop
+share/icons/hicolor/128x128/apps/Charm-128x128.png
+share/icons/hicolor/16x16/apps/charmtray16.png
+share/icons/hicolor/24x24/apps/01.png
+share/icons/hicolor/24x24/apps/02.png
+share/icons/hicolor/24x24/apps/03.png
+share/icons/hicolor/24x24/apps/04.png
+share/icons/hicolor/24x24/apps/05.png
+share/icons/hicolor/24x24/apps/06.png
+share/icons/hicolor/24x24/apps/07.png
+share/icons/hicolor/24x24/apps/08.png
+share/icons/hicolor/24x24/apps/09.png
+share/icons/hicolor/24x24/apps/10.png
+share/icons/hicolor/24x24/apps/11.png
+share/icons/hicolor/24x24/apps/12.png
+share/icons/hicolor/24x24/apps/charmtray24.png