source: trunk/dports/sysutils/sunwait/Portfile @ 149547

Last change on this file since 149547 was 149547, checked in by mf2k@…, 3 years ago

sunwait: Fix license based on what the homepage says.

  • 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 149547 2016-06-25 18:54:06Z mf2k@macports.org $
3
4PortSystem 1.0
5
6name                sunwait
7version             0.8
8epoch               1
9set dlversion       [string range [subst [regsub -all {\.} "${version}" {-}]] 0 3]
10categories          sysutils
11license             GPL-3
12platforms           darwin
13maintainers         nomaintainer
14
15description         calculates sunrise, sunset, twilight
16long_description \
17    Sunwait is a small program for calculating sunrise, \
18    sunset, civil twilight, nautical twilight, and astronomical \
19    twilight. It has options to wait until some time-offset from \
20    one of these events, making it useful for home automation \
21    tasks that should happen relative to the sun's position.
22
23homepage            https://sourceforge.net/projects/sunwait4windows/
24master_sites        sourceforge:sunwait4windows
25
26distname            ${name}${dlversion}
27
28checksums           rmd160  3ba0d5ab15ce346633d04cb8929cf432f71a7ca5 \
29                    sha256  839ac6853f21073fa85619fac049d416619e2e6bac7a966df02e1045df13f625
30
31extract.cmd         cat
32extract.pre_args
33extract.suffix      .tar
34
35worksrcdir          ${name}/${version}
36
37patchfiles          patch-makefile.diff \
38                    patch-sunriset.cpp.diff
39
40use_configure       no
41
42build.target        sunwait
43
44destroot {
45    xinstall -m 755 ${worksrcpath}/sunwait ${destroot}${prefix}/bin
46}
47
48livecheck.type      regex
49livecheck.url       https://sourceforge.net/projects/sunwait4windows/files/
50livecheck.regex     (${name}\[0-9\-\]+)${extract.suffix}
51livecheck.version   ${distname}
Note: See TracBrowser for help on using the repository browser.