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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup makefile 1.0 |
---|
5 | |
---|
6 | name ntpstat |
---|
7 | version 20010622 |
---|
8 | categories sysutils net |
---|
9 | platforms darwin |
---|
10 | license GPL-2 |
---|
11 | maintainers {hotmail.com:amtor @RobK88} \ |
---|
12 | openmaintainer |
---|
13 | |
---|
14 | description ${name} shows the network time protocol (ntp) status |
---|
15 | |
---|
16 | long_description ${name} shows the network time protocol (ntp) status.\ |
---|
17 | ${name} will report the synchronisation state of the \ |
---|
18 | NTP daemon running on the local machine. If the local \ |
---|
19 | system is found to be synchronised to a reference time \ |
---|
20 | source, ${name} will report the approximate time accuracy. |
---|
21 | |
---|
22 | homepage https://github.com/darkhelmet/ntpstat |
---|
23 | master_sites https://github.com/darkhelmet/ntpstat/archive/refs/heads/ |
---|
24 | |
---|
25 | distname master |
---|
26 | dist_subdir master/${version} |
---|
27 | |
---|
28 | checksums rmd160 c80933837800f8219d7c8a4ed88a11fa1dc08960 \ |
---|
29 | sha256 bcfe789e1f9ad6eab05251ff7d6d523a888b7e2e8d1ae3a39df73d08193f905b \ |
---|
30 | size 9388 |
---|
31 | |
---|
32 | use_zip yes |
---|
33 | |
---|
34 | worksrcdir ${name}-master |
---|
35 | |
---|
36 | patchfiles 1001-Makefile.patch \ |
---|
37 | 1002-Header-includes.patch |
---|
38 | |
---|
39 | depends_run port:ntp |
---|
40 | |
---|
41 | destroot { |
---|
42 | xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin |
---|
43 | xinstall -m 755 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 |
---|
44 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
45 | xinstall -m 644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name} |
---|
46 | xinstall -m 644 ${filespath}/LICENSE.txt ${destroot}${prefix}/share/doc/${name} |
---|
47 | } |
---|