On Sat, Apr 21, 2018 at 03:03:39PM +0200, Erling Westenvik wrote:
See this thread. Kent R. Spillner posted an initial port effort back in
August 2016. It worked for me and I for one would surely welcome it in
the tree/packages.

http://openbsd-archive.7691.n7.nabble.com/RFC-productivity-timewarrior-td301172.html#a301180

Thanks Erling !
I was already working on it, and seeing this thread gave me some nice inputs.

Please see/test the following attachment
Matthieu

Attachment: timewarrior-1.1.1.tgz
Description: Binary data

Index: timewarrior/Makefile
===================================================================
RCS file: timewarrior/Makefile
diff -N timewarrior/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ timewarrior/Makefile        21 Apr 2018 13:58:32 -0000
@@ -0,0 +1,33 @@
+# $OpenBSD$
+
+COMMENT =      command line tracking time tool
+
+VERSION =      1.1.1
+DISTNAME =     timew-${VERSION}
+PKGNAME =      timewarrior-${VERSION}
+CATEGORIES =   productivity
+
+HOMEPAGE =     https://taskwarrior.org/
+
+MASTER_SITES = ${HOMEPAGE}download/
+
+# MIT
+PERMIT_PACKAGE_CDROM =         Yes
+
+COMPILER =             base-clang
+MODULES =              devel/cmake
+
+WANTLIB += c m ${COMPILER_LIBCXX}
+
+CONFIGURE_STYLE =      cmake
+
+CONFIGURE_ARGS +=      -DCMAKE_BUILD_TYPE=release
+CONFIGURE_ARGS +=      -DTIMEW_DOCDIR=share/doc/timewarrior
+CONFIGURE_ARGS +=      -DTIMEW_RCDIR=share/doc/timewarrior/rc
+CONFIGURE_ARGS +=      -DTIMEW_MAN1DIR=man/man1
+
+SEPARATE_BUILD =       concurrent
+
+NO_TEST =              Yes
+
+.include <bsd.port.mk>
Index: timewarrior/distinfo
===================================================================
RCS file: timewarrior/distinfo
diff -N timewarrior/distinfo
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ timewarrior/distinfo        21 Apr 2018 13:58:32 -0000
@@ -0,0 +1,2 @@
+SHA256 (timew-1.1.1.tar.gz) = H32aYuVfxaMSZDNlTMsf19LRNfBvBWl/hxiXydt3zMk=
+SIZE (timew-1.1.1.tar.gz) = 166484
Index: timewarrior/pkg/DESCR
===================================================================
RCS file: timewarrior/pkg/DESCR
diff -N timewarrior/pkg/DESCR
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ timewarrior/pkg/DESCR       21 Apr 2018 13:58:32 -0000
@@ -0,0 +1,4 @@
+Timewarrior is a command line time tracking application, which allows you to
+record time spent on activities.  A Taskwarrior hook script provides 
integration
+with the matching start and stop commands, thereby enabling proper time 
tracking
+for Taskwarrior users.
Index: timewarrior/pkg/PLIST
===================================================================
RCS file: timewarrior/pkg/PLIST
diff -N timewarrior/pkg/PLIST
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ timewarrior/pkg/PLIST       21 Apr 2018 13:58:32 -0000
@@ -0,0 +1,25 @@
+@comment $OpenBSD$
+@bin bin/timew
+@man man/man1/timew.1
+share/doc/timewarrior/
+share/doc/timewarrior/AUTHORS
+share/doc/timewarrior/COPYING
+share/doc/timewarrior/ChangeLog
+share/doc/timewarrior/INSTALL
+share/doc/timewarrior/LICENSE
+share/doc/timewarrior/NEWS
+share/doc/timewarrior/README.md
+share/doc/timewarrior/doc/
+share/doc/timewarrior/doc/holidays/
+share/doc/timewarrior/doc/holidays/README
+share/doc/timewarrior/doc/holidays/holidays.en-US
+share/doc/timewarrior/doc/holidays/refresh
+share/doc/timewarrior/doc/themes/
+share/doc/timewarrior/doc/themes/README
+share/doc/timewarrior/doc/themes/dark.theme
+share/doc/timewarrior/doc/themes/dark_blue.theme
+share/doc/timewarrior/doc/themes/dark_green.theme
+share/doc/timewarrior/doc/themes/dark_red.theme
+share/doc/timewarrior/ext/
+share/doc/timewarrior/ext/on-modify.timewarrior
+share/doc/timewarrior/ext/totals.py

Reply via email to