diff options
author | Santhosh Raju <fox@FreeBSD.org> | 2020-05-17 05:29:22 +0000 |
---|---|---|
committer | Santhosh Raju <fox@FreeBSD.org> | 2020-05-17 05:29:22 +0000 |
commit | 4a009696bfd9a9823124e5c1e55fc0794bf5a537 (patch) | |
tree | b6040ed7f7150242bdfbd749304bc7d15094f1d0 /deskutils/hs-arbtt/Makefile | |
parent | Update to 4.4.18. (diff) |
deskutils/hs-arbtt: Creates new port.
The Automatic Rule-Based Time Tracker is a desktop daemon that runs in
the background and, every minute, records what windows are open on
your desktop, what their titles are, which one is active. The
accompanied statistics program lets you derive information from this
log file, i.e. what how much of your time have you been spending with
e-mail, or what projects are your largest time wasters. The mapping
from the raw window titles to sensible "tags" is done by a
configuration file with an powerful syntax.
WWW: https://arbtt.nomeata.de/
PR: 246068
Submitted by: Dhananjay Balan <mail@dbalan.in>
Reviewed by: philip
Notes
Notes:
svn path=/head/; revision=535514
Diffstat (limited to 'deskutils/hs-arbtt/Makefile')
-rw-r--r-- | deskutils/hs-arbtt/Makefile | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/deskutils/hs-arbtt/Makefile b/deskutils/hs-arbtt/Makefile new file mode 100644 index 000000000000..ba92602a6d0a --- /dev/null +++ b/deskutils/hs-arbtt/Makefile @@ -0,0 +1,87 @@ +# $FreeBSD$ + +PORTNAME= arbtt +PORTVERSION= 0.10.2 +CATEGORIES= deskutils haskell + +MAINTAINER= mail@dbalan.in +COMMENT= Completely automatic time tracker for X11 desktop + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libpcre.so:devel/pcre + +USES= xorg cabal +USE_XORG= x11 xscrnsaver xext xrandr xinerama +USE_CABAL= X11-1.9 \ + aeson-1.4.7.1_1 \ + attoparsec-0.13.2.4 \ + base-compat-0.11.1 \ + base-compat-batteries-0.11.1 \ + base-orphans-0.8.2 \ + bytestring-progress-1.4 \ + conduit-1.3.2 \ + exceptions-0.10.4_1 \ + integer-logarithms-1.0.3_2 \ + mono-traversable-1.0.15.1 \ + pcre-light-0.4.1.0 \ + primitive-0.7.0.1 \ + resourcet-1.2.4 \ + scientific-0.3.6.2 \ + split-0.2.3.4 \ + strict-0.3.2 \ + tagged-0.8.6_2 \ + terminal-progress-bar-0.4.1 \ + terminal-size-0.3.2.1 \ + th-abstraction-0.3.2.0 \ + time-compat-1.9.3 \ + unliftio-core-0.2.0.1 \ + uuid-types-1.0.3_2 \ + vector-0.12.1.2 \ + vector-algorithms-0.8.0.3 \ + hsc2hs-0.68.6 \ + random-1.1 \ + data-default-0.7.1.1 \ + hashable-1.3.0.0_1 \ + unordered-containers-0.2.10.0_1 \ + dlist-0.8.0.8 \ + utf8-string-1.0.1.1_3 \ + data-default-class-0.1.2.0 \ + data-default-instances-base-0.1.0.1 \ + data-default-instances-containers-0.0.1 \ + data-default-instances-dlist-0.0.1 \ + data-default-instances-old-locale-0.0.1 \ + old-locale-1.0.0.7_2 + +EXECUTABLES= arbtt-capture arbtt-stats arbtt-recover arbtt-import arbtt-dump +SKIP_CABAL_PLIST= yes + +SUB_FILES= pkg-message +SUB_LIST= EXAMPLESDIR=${EXAMPLESDIR} + +OPTIONS_DEFINE= MANPAGES +OPTIONS_SUB= yes +MANPAGES_DESCRIBE= Build and/or install manpages + +OPTIONS_DEFAULT= MANPAGES + +MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/profile-docbook.xsl:textproc/docbook-xsl \ + xsltproc:textproc/libxslt + +post-patch-MANPAGES-on: + @${REINPLACE_CMD} -e "s|/usr/share/xml/docbook/stylesheet/nwalsh/manpages/profile-docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/profile-docbook.xsl|g" \ + ${WRKSRC}/doc/Makefile + +post-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/categorize.cfg ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/arbtt-capture.desktop ${STAGEDIR}${EXAMPLESDIR} + +post-install-MANPAGES-on: + cd ${WRKSRC}/doc && ${MAKE} man +.for l in arbtt-stats arbtt-recover arbtt-import arbtt-dump arbtt-capture + ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/${l}.1 ${STAGEDIR}${PREFIX}/man/man1/ +.endfor + +.include <bsd.port.mk> |