source: trunk/dports/office/time-track-cli/Portfile

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

time-track-cli: new port, version 1.2; see #26277

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 71081 2010-08-31 22:08:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                time-track-cli
7version             1.2
8categories          office tcl
9platforms           darwin
10maintainers         the-blair.com:blair
11supported_archs     noarch
12
13description         Simple time tracking application using the CLI, in the spirit \
14                    of todo.txt.
15
16long_description    In the spirit of TODO.TXT, this little Tcl script will handle \
17                    tracking how much time you spend on tasks throughout the day. \
18                    All records are stored in a plain text file so you're not \
19                    dependent on anyone else's format.
20
21homepage            http://github.com/dongola7/Time-Track-CLI
22master_sites        http://the-blair.com/sw/time-track-cli
23
24checksums           md5     ea6237ad43af401536322d2403ea1880 \
25                    sha1    7c0594cdea36c8485ac008f4db6269e887c09ae1 \
26                    rmd160  735e241d57a7814b7ac7f9b04151aec8795b71b9
27
28depends_lib         port:tcl \
29                    port:tcllib
30
31extract.mkdir       yes
32
33use_configure       no
34
35build {}
36
37destroot {
38    # Install time_track.tcl
39    xinstall -m 755 ${worksrcpath}/time_track.tcl ${destroot}${prefix}/bin
40
41    # Install example hooks
42    file mkdir ${destroot}${prefix}/share/doc/${name}/hooks
43    foreach hook_file [glob ${worksrcpath}/*.sample] {
44        file copy $hook_file ${destroot}${prefix}/share/doc/${name}/hooks
45    }
46
47    # Install documentation
48    file copy ${worksrcpath}/README.html ${destroot}${prefix}/share/doc/${name}
49}
50
51livecheck.type      regex
52livecheck.url       [lindex ${master_sites} 0]
53livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.