aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-27 13:39:31 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-27 13:39:31 +0000
commitfd8a2ae4e346828db54d32aea19192f404131781 (patch)
tree094ddefef3b69880e155ae8773fc0db909238a5a
parentbbea521eec7d92975076903e378fe7bfb6ed362d (diff)
downloadports-fd8a2ae4e346828db54d32aea19192f404131781.tar.gz
ports-fd8a2ae4e346828db54d32aea19192f404131781.zip
Notes
-rw-r--r--accessibility/Makefile1
-rw-r--r--accessibility/sctd/Makefile52
-rw-r--r--accessibility/sctd/distinfo57
-rw-r--r--accessibility/sctd/pkg-descr6
4 files changed, 116 insertions, 0 deletions
diff --git a/accessibility/Makefile b/accessibility/Makefile
index 0b81b1765647..79e8ce086af7 100644
--- a/accessibility/Makefile
+++ b/accessibility/Makefile
@@ -26,6 +26,7 @@
SUBDIR += redshift
SUBDIR += rubygem-atk
SUBDIR += sct
+ SUBDIR += sctd
SUBDIR += speech-dispatcher
SUBDIR += wlsunset
SUBDIR += yasr
diff --git a/accessibility/sctd/Makefile b/accessibility/sctd/Makefile
new file mode 100644
index 000000000000..13cda8bb93f4
--- /dev/null
+++ b/accessibility/sctd/Makefile
@@ -0,0 +1,52 @@
+# $FreeBSD$
+
+PORTNAME= sctd
+DISTVERSION= 0.2.0
+CATEGORIES= accessibility
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= Set color temperature (sct) daemon
+
+LICENSE= CC0-1.0 MIT
+LICENSE_COMB= multi
+LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSE
+
+USES= cargo xorg
+USE_GITHUB= yes
+GH_ACCOUNT= amir
+GH_TUPLE= amir:spa-rs:fa80d0ce99d675674cf1a7cc9cf2ee2e33f501ea:spa
+USE_XORG= x11 xrandr
+CARGO_CRATES= ansi_term-0.11.0 \
+ atty-0.2.14 \
+ autocfg-1.0.0 \
+ bitflags-1.2.1 \
+ cfg-if-0.1.10 \
+ chrono-0.4.11 \
+ clap-2.33.0 \
+ env_logger-0.7.1 \
+ hermit-abi-0.1.8 \
+ humantime-1.3.0 \
+ libc-0.2.68 \
+ log-0.4.8 \
+ num-integer-0.1.42 \
+ num-traits-0.2.11 \
+ pkg-config-0.3.17 \
+ quick-error-1.2.3 \
+ redox_syscall-0.1.56 \
+ strsim-0.8.0 \
+ textwrap-0.11.0 \
+ time-0.1.42 \
+ unicode-width-0.1.7 \
+ vec_map-0.8.1 \
+ winapi-0.3.8 \
+ winapi-i686-pc-windows-gnu-0.4.0 \
+ winapi-x86_64-pc-windows-gnu-0.4.0 \
+ x11-2.18.2
+CARGO_USE_GITHUB= yes
+
+PLIST_FILES= bin/sctd
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sctd
+
+.include <bsd.port.mk>
diff --git a/accessibility/sctd/distinfo b/accessibility/sctd/distinfo
new file mode 100644
index 000000000000..2f8d522cac3c
--- /dev/null
+++ b/accessibility/sctd/distinfo
@@ -0,0 +1,57 @@
+TIMESTAMP = 1606483404
+SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
+SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
+SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
+SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470
+SHA256 (rust/crates/autocfg-1.0.0.tar.gz) = f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d
+SIZE (rust/crates/autocfg-1.0.0.tar.gz) = 12870
+SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
+SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745
+SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822
+SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933
+SHA256 (rust/crates/chrono-0.4.11.tar.gz) = 80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2
+SIZE (rust/crates/chrono-0.4.11.tar.gz) = 139811
+SHA256 (rust/crates/clap-2.33.0.tar.gz) = 5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9
+SIZE (rust/crates/clap-2.33.0.tar.gz) = 196458
+SHA256 (rust/crates/env_logger-0.7.1.tar.gz) = 44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36
+SIZE (rust/crates/env_logger-0.7.1.tar.gz) = 32281
+SHA256 (rust/crates/hermit-abi-0.1.8.tar.gz) = 1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8
+SIZE (rust/crates/hermit-abi-0.1.8.tar.gz) = 7581
+SHA256 (rust/crates/humantime-1.3.0.tar.gz) = df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f
+SIZE (rust/crates/humantime-1.3.0.tar.gz) = 17020
+SHA256 (rust/crates/libc-0.2.68.tar.gz) = dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0
+SIZE (rust/crates/libc-0.2.68.tar.gz) = 468882
+SHA256 (rust/crates/log-0.4.8.tar.gz) = 14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7
+SIZE (rust/crates/log-0.4.8.tar.gz) = 31297
+SHA256 (rust/crates/num-integer-0.1.42.tar.gz) = 3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba
+SIZE (rust/crates/num-integer-0.1.42.tar.gz) = 19463
+SHA256 (rust/crates/num-traits-0.2.11.tar.gz) = c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096
+SIZE (rust/crates/num-traits-0.2.11.tar.gz) = 42000
+SHA256 (rust/crates/pkg-config-0.3.17.tar.gz) = 05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677
+SIZE (rust/crates/pkg-config-0.3.17.tar.gz) = 14533
+SHA256 (rust/crates/quick-error-1.2.3.tar.gz) = a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0
+SIZE (rust/crates/quick-error-1.2.3.tar.gz) = 15066
+SHA256 (rust/crates/redox_syscall-0.1.56.tar.gz) = 2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84
+SIZE (rust/crates/redox_syscall-0.1.56.tar.gz) = 17117
+SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
+SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309
+SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060
+SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322
+SHA256 (rust/crates/time-0.1.42.tar.gz) = db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f
+SIZE (rust/crates/time-0.1.42.tar.gz) = 30005
+SHA256 (rust/crates/unicode-width-0.1.7.tar.gz) = caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479
+SIZE (rust/crates/unicode-width-0.1.7.tar.gz) = 16644
+SHA256 (rust/crates/vec_map-0.8.1.tar.gz) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a
+SIZE (rust/crates/vec_map-0.8.1.tar.gz) = 14959
+SHA256 (rust/crates/winapi-0.3.8.tar.gz) = 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6
+SIZE (rust/crates/winapi-0.3.8.tar.gz) = 1128308
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
+SHA256 (rust/crates/x11-2.18.2.tar.gz) = 77ecd092546cb16f25783a5451538e73afc8d32e242648d54f4ae5459ba1e773
+SIZE (rust/crates/x11-2.18.2.tar.gz) = 63683
+SHA256 (amir-sctd-0.2.0_GH0.tar.gz) = c822a582833d7b62149c8d2be41bb3c20a4566d211a3ebab0d07fec2b956d974
+SIZE (amir-sctd-0.2.0_GH0.tar.gz) = 8629
+SHA256 (amir-spa-rs-fa80d0ce99d675674cf1a7cc9cf2ee2e33f501ea_GH0.tar.gz) = 7426e16deb38a4adbab6179442874798a07a8c91bf17b0b8ad0cb0830d3fefd3
+SIZE (amir-spa-rs-fa80d0ce99d675674cf1a7cc9cf2ee2e33f501ea_GH0.tar.gz) = 10967
diff --git a/accessibility/sctd/pkg-descr b/accessibility/sctd/pkg-descr
new file mode 100644
index 000000000000..d0111b3d02c1
--- /dev/null
+++ b/accessibility/sctd/pkg-descr
@@ -0,0 +1,6 @@
+sctd is based on sct (accessibility/sct) by Ted Unangst.
+It calculates sunrise and sunset based on latitude
+and longitude and sets the temperature accordingly.
+The transition logic is based on Redshift.
+
+WWW: https://github.com/amir/sctd