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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name time-track-cli |
---|
6 | version 1.2 |
---|
7 | categories office tcl |
---|
8 | platforms darwin |
---|
9 | maintainers the-blair.com:blair |
---|
10 | description Simple time tracking application using the CLI. In the spirit \ |
---|
11 | of todo.txt. |
---|
12 | long_description In the spirit of TODO.TXT, this little Tcl script will handle \ |
---|
13 | tracking how much time you spend on tasks throughout the day. \ |
---|
14 | All records are stored in a plain text file so you’re not \ |
---|
15 | dependent on anyone else’s format. |
---|
16 | homepage http://github.com/dongola7/Time-Track-CLI |
---|
17 | master_sites http://the-blair.com/sw/time-track-cli |
---|
18 | |
---|
19 | checksums md5 ea6237ad43af401536322d2403ea1880 \ |
---|
20 | sha1 7c0594cdea36c8485ac008f4db6269e887c09ae1 \ |
---|
21 | rmd160 735e241d57a7814b7ac7f9b04151aec8795b71b9 |
---|
22 | |
---|
23 | depends_lib port:tcl \ |
---|
24 | port:tcllib |
---|
25 | |
---|
26 | extract.mkdir yes |
---|
27 | |
---|
28 | # Eliminate some unecessary phases. |
---|
29 | configure { } |
---|
30 | build { } |
---|
31 | |
---|
32 | destroot { |
---|
33 | # Install time_track.tcl |
---|
34 | xinstall -m 755 -d ${destroot}${prefix}/bin |
---|
35 | xinstall -m 755 ${worksrcpath}/time_track.tcl ${destroot}${prefix}/bin |
---|
36 | |
---|
37 | # Install example hooks |
---|
38 | file mkdir ${destroot}${prefix}/share/doc/${name}/hooks |
---|
39 | foreach hook_file [glob ${worksrcpath}/*.sample] { |
---|
40 | file copy $hook_file ${destroot}${prefix}/share/doc/${name}/hooks |
---|
41 | } |
---|
42 | |
---|
43 | # Install documentation |
---|
44 | file copy ${worksrcpath}/README.html ${destroot}${prefix}/share/doc/${name} |
---|
45 | } |
---|