diff --git a/deskutils/Makefile b/deskutils/Makefile index 02bdef8a8cb5d..7d405cabbbbf9 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -235,6 +235,7 @@ SUBDIR += tuxcards SUBDIR += vboxgtk SUBDIR += virt-manager + SUBDIR += vit SUBDIR += vnc2flv SUBDIR += vym SUBDIR += wammu diff --git a/deskutils/vit/Makefile b/deskutils/vit/Makefile new file mode 100644 index 0000000000000..77e2b5d8ff795 --- /dev/null +++ b/deskutils/vit/Makefile @@ -0,0 +1,39 @@ +# Created by: gahr +# $FreeBSD$ + +PORTNAME= vit +PORTVERSION= 1.2 +CATEGORIES= deskutils +MASTER_SITES= http://taskwarrior.org/download/ + +MAINTAINER= gahr@FreeBSD.org +COMMENT= Curses-based interface to taskwarrior + +LICENSE= GPLv3 + +RUN_DEPENDS= p5-Curses>=0:${PORTSDIR}/devel/p5-Curses \ + p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \ + task:${PORTSDIR}/deskutils/taskwarrior +BUILD_DEPENDS:= ${RUN_DEPENDS} + +USES= perl5 shebangfix +SHEBANG_FILES= vit.pl +GNU_CONFIGURE= yes +ALL_TARGET= build + +PLIST_FILES= bin/vit \ + etc/vit-commands \ + man/man1/vit.1.gz \ + man/man5/vitrc.5.gz + +post-patch: + ${REINPLACE_CMD} -e '1774,1778d' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/vit ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/commands ${STAGEDIR}${PREFIX}/etc/vit-commands + ${INSTALL_MAN} ${WRKSRC}/vit.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/vitrc.5 ${STAGEDIR}${PREFIX}/man/man5 + +.include diff --git a/deskutils/vit/distinfo b/deskutils/vit/distinfo new file mode 100644 index 0000000000000..699c18bcf56ad --- /dev/null +++ b/deskutils/vit/distinfo @@ -0,0 +1,2 @@ +SHA256 (vit-1.2.tar.gz) = a78dee573130c8d6bc92cf60fafac0abc78dd2109acfba587cb0ae202ea5bbd0 +SIZE (vit-1.2.tar.gz) = 48729 diff --git a/deskutils/vit/pkg-descr b/deskutils/vit/pkg-descr new file mode 100644 index 0000000000000..8513bb6f0d736 --- /dev/null +++ b/deskutils/vit/pkg-descr @@ -0,0 +1,8 @@ +VIT (Visual Interactive Taskwarrior) is a lightweight, curses-based front end +for Taskwarrior that provides a convenient way to quickly navigate and process +tasks. VIT allows you to interact with tasks in a Vi-intuitive way. A goal of +VIT is to allow you to customize the way in which you use Taskwarrior's core +commands as well as to provide a framework for easily dispatching external +commands (both user scripts and Taskwarrior's many External Scripts). + +WWW: http://tasktools.org/projects/vit.html