[148337] trunk/dports/sysutils/sunwait
mps at macports.org
mps at macports.org
Wed May 4 12:54:31 PDT 2016
Revision: 148337
https://trac.macports.org/changeset/148337
Author: mps at macports.org
Date: 2016-05-04 12:54:31 -0700 (Wed, 04 May 2016)
Log Message:
-----------
sunwait: update to version 0.8, new upstream site and maintainer (#51162).
Modified Paths:
--------------
trunk/dports/sysutils/sunwait/Portfile
Removed Paths:
-------------
trunk/dports/sysutils/sunwait/files/
Modified: trunk/dports/sysutils/sunwait/Portfile
===================================================================
--- trunk/dports/sysutils/sunwait/Portfile 2016-05-04 18:15:13 UTC (rev 148336)
+++ trunk/dports/sysutils/sunwait/Portfile 2016-05-04 19:54:31 UTC (rev 148337)
@@ -4,8 +4,9 @@
PortSystem 1.0
name sunwait
-version 20041208
-revision 1
+version 0.8
+epoch 1
+set dlversion [string range [subst [regsub -all {\.} "${version}" {-}]] 0 3]
categories sysutils
license GPL-2
platforms darwin
@@ -19,19 +20,29 @@
one of these events, making it useful for home automation \
tasks that should happen relative to the sun's position.
-homepage http://www.risacher.org/sunwait/
-master_sites ${homepage}
-checksums md5 957dbcb6d16cb8f3b1ead0687397b495
+homepage https://sourceforge.net/projects/sunwait4windows/
+master_sites sourceforge:sunwait4windows
-patchfiles patch-main.c.diff
+distname ${name}${dlversion}
+checksums rmd160 3ba0d5ab15ce346633d04cb8929cf432f71a7ca5 \
+ sha256 839ac6853f21073fa85619fac049d416619e2e6bac7a966df02e1045df13f625
+
+extract.cmd cat
+extract.pre_args
+extract.suffix .tar
+
+worksrcdir ${name}/${version}
+
use_configure no
build.target sunwait
destroot {
xinstall -m 755 ${worksrcpath}/sunwait ${destroot}${prefix}/bin
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/COPYING \
- ${destroot}${prefix}/share/doc/${name}
}
+
+livecheck.type regex
+livecheck.url https://sourceforge.net/projects/sunwait4windows/files/
+livecheck.regex (${name}\[0-9\-\]+)${extract.suffix}
+livecheck.version ${distname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160504/273eb294/attachment.html>
More information about the macports-changes
mailing list