aboutsummaryrefslogtreecommitdiffstats
path: root/accessibility/sct
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2018-01-17 06:24:57 +0800
committerMark Felder <feld@FreeBSD.org>2018-01-17 06:24:57 +0800
commit5cc2c36d456289b1cc26bf237377a34babe1e065 (patch)
tree6271e491910c114643d20df4927f82b91633e90f /accessibility/sct
parente315d826463ddc3de9b132153f9f94a31dce8453 (diff)
downloadfreebsd-ports-gnome-5cc2c36d456289b1cc26bf237377a34babe1e065.tar.gz
freebsd-ports-gnome-5cc2c36d456289b1cc26bf237377a34babe1e065.tar.zst
freebsd-ports-gnome-5cc2c36d456289b1cc26bf237377a34babe1e065.zip
This is a port of sct, a simple command-line utility written by Ted Unangst,
which can be used to control screen temperature. It exceeds at being much more lightweight than similar software solutions like Redshift and f.lux. At the same time it is easier to use than xrandr. Sct takes temperature values in range 1000 to 10000, where 6500 is the default value. Here are some usage examples: * Campfire style: `sct 4500` * Dust storm on Mars style: `sct 2000` * Coffee free all nighter style: `sct 8000` * Default style: `sct` WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature
Diffstat (limited to 'accessibility/sct')
-rw-r--r--accessibility/sct/Makefile22
-rw-r--r--accessibility/sct/distinfo3
-rw-r--r--accessibility/sct/pkg-descr14
3 files changed, 39 insertions, 0 deletions
diff --git a/accessibility/sct/Makefile b/accessibility/sct/Makefile
new file mode 100644
index 000000000000..64a13274f827
--- /dev/null
+++ b/accessibility/sct/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= sct
+PORTVERSION= 0.1.0
+CATEGORIES= accessibility
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= Utility to change screen temperature
+
+LICENSE= UNLICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= 0mp
+
+USE_XORG= x11 xrandr
+
+PLIST_FILES= bin/sct
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sct
+
+.include <bsd.port.mk>
diff --git a/accessibility/sct/distinfo b/accessibility/sct/distinfo
new file mode 100644
index 000000000000..c23f1d9616f7
--- /dev/null
+++ b/accessibility/sct/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516135722
+SHA256 (0mp-sct-0.1.0_GH0.tar.gz) = 982bae0448daff0b41eabe492b8b33223e2dad010e861fd6f09e8d9d0d7ca6c1
+SIZE (0mp-sct-0.1.0_GH0.tar.gz) = 2167
diff --git a/accessibility/sct/pkg-descr b/accessibility/sct/pkg-descr
new file mode 100644
index 000000000000..b582c0c1b5de
--- /dev/null
+++ b/accessibility/sct/pkg-descr
@@ -0,0 +1,14 @@
+This is a port of sct, a simple command-line utility written by Ted Unangst,
+which can be used to control screen temperature. It exceeds at being much more
+lightweight than similar software solutions like Redshift and f.lux. At the
+same time it is easier to use than xrandr.
+
+Sct takes temperature values in range 1000 to 10000, where 6500 is the default
+value. Here are some usage examples:
+
+ * Campfire style: `sct 4500`
+ * Dust storm on Mars style: `sct 2000`
+ * Coffee free all nighter style: `sct 8000`
+ * Default style: `sct`
+
+WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature