source: trunk/dports/office/vit/Portfile

Last change on this file was 153759, checked in by g5pw@…, 14 months ago

office/vit: use perl5.24

Partial fix for #52081

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
2# $Id: Portfile 153759 2016-10-10 08:12:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                vit
7version             1.2
8revision            4
9maintainers         g5pw openmaintainer
10categories          office
11description         Vit is a full-screen terminal interface for Taskwarrior
12long_description    ${description} with Vi key bindings and complete support \
13                    for native Taskwarrior colorization.
14
15platforms           darwin
16license             GPL-3+
17supported_archs     noarch
18
19homepage            http://tasktools.org/projects/vit.html
20
21master_sites        http://taskwarrior.org/download/
22
23checksums           rmd160  492f50e2f8b3cefb766dd78750a00e69083550ef \
24                    sha256  a78dee573130c8d6bc92cf60fafac0abc78dd2109acfba587cb0ae202ea5bbd0
25
26depends_lib         port:p5.24-curses \
27                    port:task
28
29patchfiles          patch-configure.diff \
30                    patch-vit.pl.diff
31
32configure.perl      ${prefix}/bin/perl5.24
33
34build.target
35
36destroot {
37    xinstall -m 775 ${worksrcpath}/vit ${destroot}${prefix}/bin/
38    xinstall -m 664 ${worksrcpath}/commands ${destroot}${prefix}/etc/vit-commands
39
40    xinstall -d ${destroot}${prefix}/share/doc/${name}
41    xinstall -W ${worksrcpath} README LICENSE CHANGES TODO taskrc-gtk+ \
42                ${destroot}${prefix}/share/doc/${name}
43    xinstall ${worksrcpath}/vit.1 ${destroot}${prefix}/share/man/man1
44    xinstall ${worksrcpath}/vitrc.5 ${destroot}${prefix}/share/man/man5
45}
46
47livecheck.url       http://tasktools.org/
48livecheck.regex     ${name}-(\[0-9\]+\.\[0-9\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.