source: trunk/dports/office/vit/Portfile @ 106738

Last change on this file since 106738 was 106738, checked in by ryandesign@…, 7 years ago

vit: adjust whitespace

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 106738 2013-06-07 01:14:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                vit
7version             1.1
8maintainers         g5pw openmaintainer
9categories          office
10description         Vit is a full-screen terminal interface for Taskwarrior
11long_description    ${description} with Vi key bindings and complete support \
12                    for native Taskwarrior colorization.
13
14platforms           darwin
15supported_archs     noarch
16
17homepage            http://taskwarrior.org/projects/1/wiki/Vit
18
19master_sites        http://taskwarrior.org/attachments/606/
20
21checksums           rmd160  0a80ff4b8b305f6776c2c7f34e7c3fe0ca59b8c3 \
22                    sha256  9b8cce2447b1d8247c6e6317b75dc76daf4f0f30a2a8160755c3befeafc8c6be
23
24depends_lib         port:task \
25                    port:p5.12-curses
26
27post-patch {
28    reinplace "s|/usr|${prefix}|" ${worksrcpath}/configure ${worksrcpath}/vit.pl
29}
30
31build.target
32
33destroot {
34    xinstall -m 775 ${worksrcpath}/vit ${destroot}${prefix}/bin/
35    xinstall -m 664 ${worksrcpath}/commands ${destroot}${prefix}/etc/vit-commands
36
37    xinstall -d ${destroot}${prefix}/share/doc/${name}
38    xinstall -W ${worksrcpath} README LICENSE CHANGES TODO taskrc-gtk+ \
39                ${destroot}${prefix}/share/doc/${name}
40}
Note: See TracBrowser for help on using the repository browser.