aboutsummaryrefslogtreecommitdiff
path: root/deskutils/vit
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-01-20 09:02:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-01-20 09:02:04 +0000
commit2e196f244530687166c927fd8be2e2805f25d1c3 (patch)
tree85e43cbc24644e694e7efff92418683fc347ad3c /deskutils/vit
parent44eb6f53ce9137460b4900577a42feef1ee7b82f (diff)
downloadports-2e196f244530687166c927fd8be2e2805f25d1c3.tar.gz
ports-2e196f244530687166c927fd8be2e2805f25d1c3.zip
- Fix LICENSE
- Switch to safer way of patching - Update WWW
Notes
Notes: svn path=/head/; revision=459496
Diffstat (limited to 'deskutils/vit')
-rw-r--r--deskutils/vit/Makefile6
-rw-r--r--deskutils/vit/files/patch-configure14
-rw-r--r--deskutils/vit/pkg-descr2
3 files changed, 16 insertions, 6 deletions
diff --git a/deskutils/vit/Makefile b/deskutils/vit/Makefile
index 691162a3800d..eb11443bcff1 100644
--- a/deskutils/vit/Makefile
+++ b/deskutils/vit/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://taskwarrior.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses-based interface to taskwarrior
-LICENSE= GPLv3
+LICENSE= GPLv3+
BUILD_DEPENDS= p5-Curses>=0:devel/p5-Curses \
task:deskutils/taskwarrior
@@ -27,10 +27,6 @@ PLIST_FILES= bin/vit \
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
diff --git a/deskutils/vit/files/patch-configure b/deskutils/vit/files/patch-configure
new file mode 100644
index 000000000000..cb9597a256b1
--- /dev/null
+++ b/deskutils/vit/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig 2017-12-25 16:56:35 UTC
++++ configure
+@@ -1771,11 +1771,6 @@ fi
+ if test "$PERL" = "NOT_FOUND"; then
+ as_fn_error $? "can not continue: perl not found" "$LINENO" 5
+ fi
+-if test "$PERL" != "/usr/bin/perl"; then
+- echo configure: error: can not continue... perl must be installed as /usr/bin/perl
+- echo confgiure: hint: try \"sudo ln -s $PERL /usr/bin/perl\"
+- exit 1
+-fi
+
+ PERL_MODULE_CHECK=`perl -e "use Curses" 2> /dev/null; echo $?`
+ if test "$PERL_MODULE_CHECK" = "2"; then
diff --git a/deskutils/vit/pkg-descr b/deskutils/vit/pkg-descr
index 8513bb6f0d73..196a95e77527 100644
--- a/deskutils/vit/pkg-descr
+++ b/deskutils/vit/pkg-descr
@@ -5,4 +5,4 @@ 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
+WWW: https://tasktools.org/projects/vit.html